Skip to content

Instantly share code, notes, and snippets.

View Mutahhar's full-sized avatar

Mutahhar Naseer Mutahhar

View GitHub Profile
@Mutahhar
Mutahhar / continents.sql
Last active December 26, 2019 13:38
SQL statement for creating continents and countries tables and relations in them
DROP TABLE IF EXISTS `continents`;
CREATE TABLE `continents` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`code` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`slug` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
@Mutahhar
Mutahhar / .gitignore
Created December 22, 2019 12:48 — forked from salcode/.gitignore
.gitignore file for a general web project - Bare Minimum Git
# -----------------------------------------------------------------
# .gitignore
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20181206
#
# From the root of your project run
# curl -O https://gist.githubusercontent.com/salcode/10017553/raw/.gitignore
# to download this file
#
@Mutahhar
Mutahhar / .gitignore
Last active December 22, 2019 12:54 — forked from salcode/.gitignore
gitignore for WordPress
# -----------------------------------------------------------------
# .gitignore for WordPress @salcode
# ver 20180808
#
# From the root of your project run
# curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore
# to download this file
#
# By default all files are ignored. You'll need to whitelist
# any mu-plugins, plugins, or themes you want to include in the repo.