Skip to content

Instantly share code, notes, and snippets.

View lnfel's full-sized avatar
🏠
Working from home

Dale Ryan lnfel

🏠
Working from home
View GitHub Profile
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
@lnfel
lnfel / select2-country-list.js
Last active March 28, 2019 13:51 — forked from janstieler/new_gist_file.js
List of countries for Select2 (https://select2.github.io/) where the id is identically to the text.
[
{ id: 'Afghanistan', text: 'Afghanistan'},
{ id: 'Aland Islands', text: 'Aland Islands'},
{ id: 'Albania', text: 'Albania'},
{ id: 'Algeria', text: 'Algeria'},
{ id: 'American Samoa', text: 'American Samoa'},
{ id: 'Andorra', text: 'Andorra'},
{ id: 'Angola', text: 'Angola'},
{ id: 'Anguilla', text: 'Anguilla'},
{ id: 'Antarctica', text: 'Antarctica'},
@lnfel
lnfel / GitCommitEmoji.md
Created March 11, 2019 13:27 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji