Taken from Zach Holman's "Git and Github Secrets".
t - quickly jump through files (similar to cmd+T
in VI or Text Mate)
w - quickly switch branches
s - search
# ██████╗ ███████╗███╗ ███╗ ██████╗ ██╗ ██╗███████╗ ██╗ ██╗██████╗ | |
# ██╔══██╗██╔════╝████╗ ████║██╔═══██╗██║ ██║██╔════╝ ██║ ██║██╔══██╗ | |
# ██████╔╝█████╗ ██╔████╔██║██║ ██║██║ ██║█████╗ ███████║██████╔╝ | |
# ██╔══██╗██╔══╝ ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██║██╔═══╝ | |
# ██║ ██║███████╗██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ███████╗ ██║ ██║██║ | |
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ | |
# | |
# ██████╗ ██╗ ██████╗ █████╗ ████████╗██╗ ██╗ █████╗ ██████╗ ███████╗ | |
# ██╔══██╗██║ ██╔═══██╗██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔══██╗██╔════╝ | |
# ██████╔╝██║ ██║ ██║███████║ ██║ ██║ █╗ ██║███████║██████╔╝█████╗ |
DROP TABLE IF EXISTS `airports`; | |
CREATE TABLE IF NOT EXISTS `airports` ( | |
`code` varchar(50) COLLATE utf8_turkish_ci DEFAULT NULL, | |
`name` varchar(200) COLLATE utf8_turkish_ci DEFAULT NULL, | |
`cityCode` varchar(50) COLLATE utf8_turkish_ci DEFAULT NULL, | |
`cityName` varchar(200) COLLATE utf8_turkish_ci DEFAULT NULL, | |
`countryName` varchar(200) COLLATE utf8_turkish_ci DEFAULT NULL, | |
`countryCode` varchar(200) COLLATE utf8_turkish_ci DEFAULT NULL, | |
`timezone` varchar(8) COLLATE utf8_turkish_ci DEFAULT NULL, |
Taken from Zach Holman's "Git and Github Secrets".
t - quickly jump through files (similar to cmd+T
in VI or Text Mate)
w - quickly switch branches
s - search
let gulp = require('gulp'), | |
replace = require('gulp-batch-replace'), | |
filesExist = require('files-exist'); | |
gulp.task('bt4', () => | |
{ | |
let diff = { | |
'@media (min-width: $screen-xs-min) and (max-width: $screen-sm-max)': '@media (min-width: map-get($grid-breakpoints, xs)) and (max-width: map-get($grid-breakpoints, xs))', | |
'@media (min-width: $screen-xs) and (max-width: ($screen-md-min - 1))': '@media (min-width: map-get($grid-breakpoints, xs)) and (max-width: map-get($grid-breakpoints, md)-1)', |
public class SelectLambdaBuilder<T> | |
{ | |
private static Dictionary<Type, PropertyInfo[]> _typePropertyInfoMappings = new Dictionary<Type, PropertyInfo[]>(); | |
private readonly Type _typeOfBaseClass = typeof(T); | |
private Dictionary<string, List<string>> GetFieldMapping(string fields) | |
{ | |
if (string.IsNullOrEmpty(fields)) | |
{ | |
return null; |
public ActionResult FacebookCallback(string code) | |
{ | |
var fb = new FacebookClient(); | |
dynamic result = fb.Post("oauth/access_token", new | |
{ | |
client_id = "your_app_id_here", | |
client_secret = "your_app_secret_here", | |
redirect_uri = RedirectUri.AbsoluteUri, | |
code = code | |
}); |
public ActionResult FacebookCallback(string code) | |
{ | |
var fb = new FacebookClient(); | |
dynamic result = fb.Post("oauth/access_token", new | |
{ | |
client_id = "your_app_id_here", | |
client_secret = "your_app_secret_here", | |
redirect_uri = RedirectUri.AbsoluteUri, | |
code = code | |
}); |
https://github.com/ducksboard/gridster.js - http://gridster.net/ Good but not maintained, looks pretty heavy
https://github.com/troolee/gridstack.js - http://troolee.github.io/gridstack.js/ More modern maintained version of gridster but needs lodash + jquery UI
#!/bin/bash | |
mkdir -p ~/bin/ | |
curl -s -L https://gist.github.com/raw/4477190/pmrcp.rb > ~/bin/pmrcp | |
chmod +x ~/bin/pmrcp |
This is a demo to show how to use item explorer.
Complete list of examples: