Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
            JavaScript
        
            JQuery - how to wait for the \"end\" of the \"resize\" event and only then perform the action?  
        
                    The resizeend event.
It works for me
        
        
        
            0 
        
        
            29760 
        
                    posted 6 years ago by cerxx
            There is no need to use jQuery particularly to manipulate cookies.
        
        
        
            0 
        
        
            7373 
        
                    posted 6 years ago by cerxx
            Default session time in PHP is 1440 seconds (24 minutes) and the Default session storage path is temporary folder/tmp on server.
        
        
        
            0 
        
        
            7994 
        
                    posted 6 years ago by interviewqueries
            In Laravel you can use "IN" query as
Using Eloquent
$data = YourModel::whereIn('id', array(1, 2, 3))->get();
Using DB Query builder
$data = DB::table('your_table')->whereIn('id', array(1, 2, 3))->get();
        
        
        
            0 
        
        
            6674 
        
                    posted 6 years ago by interviewqueries
            convert numbers to letters
Ce module permet de convertir un chiffre entier de 0 à 99999999999999.
La méthode utilisée est la décomposition du chiffre par récursivité.
nous divisons le chiffre par les éléments suivant :
10^9 (milliard)
10^6 (...
        
        
        
            0 
        
        
            10588 
        
                    posted 6 years ago by martinbrait
            
            VB.NET
        
            [vbnet] [directory] lister les fichiers d'un répertoire et d'un sous-répertoire dans un tableau  
        
                    list files from directory and subdirectory into a table
'On déclare une arraylist qui contiendra tous les fichiers
        
        
        
            0 
        
        
            5369 
        
                    posted 6 years ago by martinbrait
            How to create, copy, move, delete a file?
Pour créer, copier, déplacer ou supprimer un fichier, on utilise la classe System.IO.File
        
        
        
            0 
        
        
            3476 
        
                    posted 6 years ago by martinbrait
            read the first line of text of a file on the server
To read the first line of text in your file:
The fgets () function retrieves the first 4096 characters from the first line of your file.
        
        
        
            0 
        
        
            3748 
        
                    posted 6 years ago by martinbrait
            How to list directories and subdirectories in an excel sheet ?
        
        
        
            0 
        
        
            7109 
        
                    posted 6 years ago by martinbrait
            rechercher une valeur dans une variable tableau (Array) en VBA
Find some value into an array
        
        
        
            0 
        
        
            4396 
        
                    posted 6 years ago by martinbrait
            List of access database queries
Pour tester, ouvre la fenêtre de Debug (CTRL G), et tapes-y 'ListeRequetes' et appuye sur la touche [Entrée].
        
        
        
            0 
        
        
            3661 
        
                    posted 6 years ago by martinbrait
            Here is a code that force to fire a click on iOS devices, where there is first a touchstart event
        
        
        
            0 
        
        
            3587 
        
                    posted 6 years ago by cerxx
            Funktioniert auch in Partials etc...
Z.B.: bootstrap_package/Resources/Private/Partials/Page/Navigation/Main.html
        
        
        
            0 
        
        
            3624 
        
                    posted 6 years ago by xtine777
            List only certain files in a folder with PHP
Lists only certain files extensions as links on a page 
from a defined folder
        
        
        
            0 
        
        
            3746 
        
                    posted 6 years ago by martinbrait
            
