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
26442
posted 5 years ago by cerxx
There is no need to use jQuery particularly to manipulate cookies.
0
6009
posted 5 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
6659
posted 5 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
5283
posted 5 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
5642
posted 5 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
2884
posted 5 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
1090
posted 5 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
1312
posted 5 years ago by martinbrait
How to list directories and subdirectories in an excel sheet ?
0
4234
posted 5 years ago by martinbrait
rechercher une valeur dans une variable tableau (Array) en VBA
Find some value into an array
0
1866
posted 5 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
1240
posted 5 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
1269
posted 5 years ago by cerxx
Funktioniert auch in Partials etc...
Z.B.: bootstrap_package/Resources/Private/Partials/Page/Navigation/Main.html
0
1193
posted 5 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
1276
posted 5 years ago by martinbrait