Skip to content

Instantly share code, notes, and snippets.

View Ahmedlag's full-sized avatar
💭
I may be slow to respond.

MedLag Ahmedlag

💭
I may be slow to respond.
  • REIZON
  • Paris
View GitHub Profile
function br2nl($string){
return preg_replace('#<br\s*/?-->#i', "\n", $string);
}
define('MAILGUN_API',"apikeygoeshere");
define('DOMAIN',"www.website.com");
function mg_send($Receiver, $Title, $Message) {
@Ahmedlag
Ahmedlag / MaterializeCSS datepicker in french
Last active March 24, 2017 01:18 — forked from flistefliste/MaterializeCSS datepicker in french
French translation for Materialize CSS datepicker plugin
$('.datepicker').pickadate({
selectMonths: true, // Creates a dropdown to control month
selectYears: 2, // Creates a dropdown of 15 years to control year
labelMonthNext: 'Mois suivant',
labelMonthPrev: 'Mois précédent',
labelMonthSelect: 'Selectionner le mois',
labelYearSelect: 'Selectionner une année',
monthsFull: [ 'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre' ],
monthsShort: [ 'Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Jun', 'Jul', 'Aou', 'Sep', 'Oct', 'Nov', 'Dec' ],
weekdaysFull: [ 'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi' ],
@Ahmedlag
Ahmedlag / Apple_mobile_device_types.txt
Created March 18, 2021 10:39 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S