Skip to content

Instantly share code, notes, and snippets.

@1e4
1e4 / countrylist.php
Created April 14, 2018 11:36 — forked from princenaman/countrylist.php
ISO Country List for Laravel
<?php
return [
'AF' => 'Afghanistan',
'AL' => 'Albania',
'DZ' => 'Algeria',
'AS' => 'American Samoa',
'AD' => 'Andorra',
'AO' => 'Angola',
'AI' => 'Anguilla',
@1e4
1e4 / gulpfile.js
Last active August 29, 2015 14:27 — forked from darkwing/gulpfile.js
var gulp = require('gulp');
var runSequence = require('run-sequence');
var minifyCss = require('gulp-minify-css');
var buildDir = './build/';
var minifyCssSettings = { advanced: true, aggressiveMerging: true };
// Main build
gulp.task('build', function() {
Make symbolic link to ini files in mods-available
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini
Enable mods
sudo php5enmod mcrypt
Restart FPM
sudo service php5-fpm restart
@1e4
1e4 / .readme.md
Last active August 29, 2015 14:07 — forked from jmyrland/.readme.md

Off canvas menu with touch handles.

View an example here.

This example is based on elements of this post.

Incliudes a OffCanvasMenuController to handle touch events bound to the off canvas menu. For example when swiping from the outer left side to the right, the left off canvas menu is dragged along.

Example usage