Skip to content

Instantly share code, notes, and snippets.

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

pradeep singh pradeep1991singh

🏠
Working from home
View GitHub Profile
@pradeep1991singh
pradeep1991singh / docker-delete-all.sh
Last active December 22, 2016 18:21
Docker: Remove all containers and images
#credit: https://github.com/crosbymichael
#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@pradeep1991singh
pradeep1991singh / docker-compose.yml
Created December 22, 2016 18:20
docker compose file for wordpress-mysql link
version: '2'
services:
wordpress:
image: wordpress
ports:
- 8080:80
environment:
WORDPRESS_DB_PASSWORD: admin123
@pradeep1991singh
pradeep1991singh / nginx.conf
Created December 24, 2016 17:25
nginx configuration file for ssl integration
#user nobody;
#Defines which Linux system user will own and run the Nginx server
worker_processes 1;
#Referes to single threaded process. Generally set to be equal to the number of CPUs or cores.
#error_log logs/error.log; #error_log logs/error.log notice;
#Specifies the file where server logs.
@pradeep1991singh
pradeep1991singh / languages.json
Created January 28, 2017 16:06 — forked from astrotars/languages.json
Programming Languages
["A# .NET","A# (Axiom)","A-0 System","A+","A++","ABAP","ABC","ABC ALGOL","ABLE","ABSET","ABSYS","ACC","Accent","Ace DASL","ACL2","ACT-III","Action!","ActionScript","Ada","Adenine","Agda","Agilent VEE","Agora","AIMMS","Alef","ALF","ALGOL 58","ALGOL 60","ALGOL 68","ALGOL W","Alice","Alma-0","AmbientTalk","Amiga E","AMOS","AMPL","APL","App Inventor for Android's visual block language","AppleScript","Arc","ARexx","Argus","AspectJ","Assembly language","ATS","Ateji PX","AutoHotkey","Autocoder","AutoIt","AutoLISP / Visual LISP","Averest","AWK","Axum","B","Babbage","Bash","BASIC","bc","BCPL","BeanShell","Batch (Windows/Dos)","Bertrand","BETA","Bigwig","Bistro","BitC","BLISS","Blue","Bon","Boo","Boomerang","Bourne shell","bash","ksh","BREW","BPEL","C","C--","C++","C#","C/AL","Caché ObjectScript","C Shell","Caml","Candle","Cayenne","CDuce","Cecil","Cel","Cesil","Ceylon","CFEngine","CFML","Cg","Ch","Chapel","CHAIN","Charity","Charm","Chef","CHILL","CHIP-8","chomski","ChucK","CICS","Cilk","CL","Claire","Clarion","Clean",
@pradeep1991singh
pradeep1991singh / virtualenv.md
Last active February 9, 2017 18:41
Virtualenv setup for python

Python Virtual environment setup

Install virtualenv

sudo apt-get install virtualenv

Install virtualenvwrapper

@pradeep1991singh
pradeep1991singh / html-boilerplate.html
Created February 11, 2017 12:12
html boillerplate code
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
@pradeep1991singh
pradeep1991singh / personal-website.html
Last active February 11, 2017 17:53
HTML skeleton for personal website
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
@pradeep1991singh
pradeep1991singh / html-sass-package.json
Created February 11, 2017 13:30
package.json file for html-sass project
{
"name": "html-sass",
"version": "1.0.0",
"description": "startup app for getting started with html-sass.",
"main": "index.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"html",
@pradeep1991singh
pradeep1991singh / html-sass-scaffolding.md
Last active February 11, 2017 17:53
Project structure of html-sass project
html-sass/
---- index.html
---- package.json
---- sass/
-------- _footer.scss
-------- _header.scss
-------- _variables.scss
-------- _main-content.scss
-------- _mixins.scss
@pradeep1991singh
pradeep1991singh / html-sass-gulpfile.js
Last active February 11, 2017 14:31
gulp file for html-sass project
'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
var naturalSort = require("gulp-natural-sort");
var inject = require('gulp-inject');
var webserver = require('gulp-webserver');
var runSequence = require('run-sequence');
var appBaseUrl = 'http://localhost:8000/index.html';