Welcome To Snipplr


Everyone's Recent Snippets



With this snippet you will have the ability to display the `<DOCTYPE>` while sending the correct headers with support for content type negotiation. It also will correct itself for the W3C validator which does not send the correct Accept header for...
0 2338 posted 2 years ago by daemondevin
Augmented Reality in HTML
0 2709 posted 2 years ago by freediver
It works for me
0 2527 posted 2 years ago by cerxx
Redirect HTTP to HTTPS in Apache
0 1944 posted 2 years ago by cerxx
There is no need to use jQuery particularly to manipulate cookies.
0 2339 posted 2 years ago by cerxx
Get User IP By jQuery Ajax
0 2425 posted 2 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 2478 posted 2 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 1584 posted 2 years ago by interviewqueries
Get the Value of the Custom Field Using the Shortcode
0 2618 posted 2 years ago by cerxx
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 1073 posted 2 years ago by martinbrait
list all the files in a directory
0 678 posted 2 years ago by martinbrait
convert numbers to letters (french) V2
0 626 posted 2 years ago by martinbrait
convert numbers to text (french) V1
0 705 posted 2 years ago by martinbrait
count the number of files in a directory
0 908 posted 2 years ago by martinbrait
count the number of folders in a directory
0 550 posted 2 years ago by martinbrait
count the folders and subfolders of a directory
0 576 posted 2 years ago by martinbrait
list files from directory and subdirectory into a table 'On déclare une arraylist qui contiendra tous les fichiers
0 1210 posted 2 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 464 posted 2 years ago by martinbrait
Read a file with the file function
0 499 posted 2 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 488 posted 2 years ago by martinbrait
How to list directories and subdirectories in an excel sheet ?
0 977 posted 2 years ago by martinbrait
How to list files in directories and subdirectories ?
0 665 posted 2 years ago by martinbrait
How to list files, with details, in an excel sheet
0 477 posted 2 years ago by martinbrait
How to list recursively files, in an excel sheet ?
0 434 posted 2 years ago by martinbrait
How to list files from a directory ?
0 483 posted 2 years ago by martinbrait
rechercher une valeur dans une variable tableau (Array) en VBA Find some value into an array
0 549 posted 2 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 475 posted 2 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 496 posted 2 years ago by cerxx
Funktioniert auch in Partials etc... Z.B.: bootstrap_package/Resources/Private/Partials/Page/Navigation/Main.html
0 406 posted 2 years ago by xtine777