├── CONTRIBUTING.md └── README.md /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution Guidelines 2 | 3 | Please ensure your pull request adheres to the following guidelines: 4 | 5 | - Search previous suggestions before making a new one, as yours may be a duplicate. 6 | - Make an individual pull request for each suggestion. 7 | - Use the following format: `[GIST NAME](LINK).` 8 | - New categories, or improvements to the existing categorization are welcome. 9 | - Keep descriptions short and simple, but descriptive. 10 | - End all descriptions with a full stop/period. 11 | - Check your spelling and grammar. 12 | 13 | Your contributions are always welcome! Thank you for your suggestions! 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) 5 | [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.md) 6 | 7 | 8 | A collection of awesome gists. Feel free to contribute. 9 | 10 | ## TOC 11 | * [Databases](#databases) 12 | * [MySQL](#mysql) 13 | * [Redis](#redis) 14 | * [MongoDB](#mongodb) 15 | * [DynamoDB](#dynamodb) 16 | * [Services](#services) 17 | * [Heroku](#heroku) 18 | * [Amazon](#amazon) 19 | * [Tsuru](#tsuru) 20 | * [CloudFlare](#cloudflare) 21 | * [Terminal](#terminal) 22 | * [Tmux](#tmux) 23 | * [Zsh](#zsh) 24 | * [Testing](#testing) 25 | * [YAML](#yaml) 26 | * [JSON](#json) 27 | * [Python](#python) 28 | * [Languages](#languages) 29 | * [Environment](#environment) 30 | * [OSX](#osx) 31 | * [iOS](#ios) 32 | * [Objective-C](#objective-c) 33 | * [Swift](#swift) 34 | * [Performance Analysis and Profiling](#performance-analysis-and-profiling) 35 | 36 | ## Databases 37 | 38 | All databases are welcome :) 39 | 40 | #### MySQL 41 | * [My simply MySQL Command Line Cheatsheet](https://gist.github.com/hofmannsven/9164408) 42 | * [MySQL to Sqlite converter](https://gist.github.com/esperlu/943776) 43 | 44 | #### Redis 45 | * [A CentOS initscript for Redis](https://gist.github.com/paulrosania/257849) 46 | * [Init.d Redis script for Ubuntu](https://gist.github.com/lsbardel/257298) 47 | * [Monit Redis](https://gist.github.com/cyx/3690597) 48 | * [Flynn Redis](https://gist.github.com/lmars/fca0f18b4ecd507fb39a) 49 | 50 | #### MongoDB 51 | * [Pub/sub with MongoDB and Node.js](https://gist.github.com/scttnlsn/3210919) 52 | * [Create super user and database user in Mongo 2.6](https://gist.github.com/tamoyal/10441108) 53 | * [Basic Overview of using the rmongodb package for R.](https://gist.github.com/Btibert3/7751989) 54 | * [MongoDB and F#](https://gist.github.com/mattpodwysocki/218388) 55 | * [Flynn MongoDB](https://gist.github.com/lmars/8be1952a8d03f8a31b17) 56 | * [MongoDB ReplicaSet Backup Script on Google Compute Engine and Google Cloud Storage](https://gist.github.com/erans/ce21c919921608d064cd) 57 | 58 | #### DynamoDB 59 | * [Prettied up some AWS Ruby SDK DynamoDB examples from @integralist.](https://gist.github.com/kenoir/8998532) 60 | * [convert DynamoDb JSON to regular JSON javascript objects](https://gist.github.com/sansmischevia/5148109) 61 | 62 | ## Services 63 | 64 | Most used services to deploy, and host your applications. 65 | 66 | #### Heroku 67 | * [Using Rails+Bower on Heroku](https://gist.github.com/afeld/5704079/) 68 | * [My Heroku Values](https://gist.github.com/adamwiggins/5687294) 69 | * [Rakefile to deploy and rollback to Heroku in two different environments for the same app](https://gist.github.com/njvitto/362873) 70 | * [Heroku, Ruby on Rails and PhantomJS](https://gist.github.com/edelpero/9257311) 71 | 72 | #### Amazon 73 | * [publish a message to Amazon SNS using python or ruby](https://gist.github.com/kylefritz/633175) 74 | * [Auto-deploy with php and github on an Ubuntu Amazon EC2 box](https://gist.github.com/AndreasStokholm/3778351) 75 | * [Install Redis on Amazon EC2 AMI](https://gist.github.com/dstroot/2776679) 76 | * [Backup MySQL to Amazon S3](https://gist.github.com/oodavid/2206527) 77 | * [Mapnik on Amazon Linux AMI (Fedora)](https://gist.github.com/springmeyer/3427021) 78 | * [Installing zsh + oh-my-zsh on Amazon EC2 Amazon Linux 2 AMI](https://gist.github.com/aaabramov/0f1d963d788bf411c0629a6bcf20114d) 79 | 80 | #### Tsuru 81 | * [Deploying Go applications in tsuru](https://gist.github.com/andrewsmedina/8857051) 82 | 83 | #### CloudFlare 84 | * [Automatically update your CloudFlare DNS record to the IP, Dynamic DNS](https://gist.github.com/larrybolt/6295160) 85 | * [CloudFlare DNS records updater](https://gist.github.com/gentlecat/3149751) 86 | * [CloudFlare command-line DNS management shell script](https://gist.github.com/jaytaylor/6273175) 87 | 88 | ## Terminal 89 | 90 | #### Tmux 91 | * [Tmux shortcuts & cheatsheet](https://gist.github.com/MohamedAlaa/2961058) 92 | 93 | #### Zsh 94 | * [iTerm2 + oh my zsh + solarized + Meslo powerline font (OSX)](https://gist.github.com/kevin-smets/8568070) 95 | * [oh my zsh with autosuggestions & syntax highlighting](https://gist.github.com/dogrocker/1efb8fd9427779c827058f873b94df95) 96 | 97 | ## Testing 98 | * [Selenium with Python](https://gist.github.com/daemianmack/1099713) 99 | 100 | ## YAML 101 | 102 | Parsers, files with data collections and more. 103 | 104 | * [Read YAML file from Bash script](https://gist.github.com/pkuczynski/8665367) 105 | 106 | ## JSON 107 | 108 | Parsers, files with data collections and more. 109 | 110 | * [US states in JSON form](https://gist.github.com/mshafrir/2646763) 111 | 112 | #### Python 113 | * [Python Read JSON from HTTP Request of URL](https://gist.github.com/sirleech/2660189) 114 | * [Python JSON Benchmark](https://gist.github.com/lightcatcher/1136415) 115 | * [Fast SQLAlchemy counting (avoid query.count() subquery)](https://gist.github.com/hest/8798884) 116 | 117 | ## Languages 118 | #### Python 119 | * [Testing Tornado RequestHandlers](https://gist.github.com/didip/867589) 120 | * [Python HelloWorld (WebFrameworks) Collection](https://gist.github.com/drgarcia1986/3cce1d134c3c3eeb01bd) 121 | 122 | #### Golang 123 | * [File upload example](https://gist.github.com/andrewmilson/19185aab2347f6ad29f5) 124 | * [example of using JWT for http authentication in go](https://gist.github.com/cryptix/45c33ecf0ae54828e63b#file-asymmetric-go-L152) 125 | * [extract a javascript object value from a html page using goquery and otto](https://gist.github.com/cryptix/87127f76a94183747b53) 126 | * [Parse a JSON http POST in GoLang](https://gist.github.com/andreagrandi/97263aaf7f9344d3ffe6) 127 | * [Golang Reflection Example](https://gist.github.com/drewolson/4771479) 128 | * [Mongo Driver - Mgo Example](https://gist.github.com/border/3489566) 129 | * [Example of using http.Get in go (golang)](https://gist.github.com/ijt/950790) 130 | * [Go Serverless List](https://github.com/SerifAndSemaphore/go-serverless-list) 131 | 132 | #### JavaScript 133 | * [ES6 highlight reel](https://gist.github.com/getify/2b53198906d320abe650) 134 | 135 | #### PHP 136 | * [How to install Composer globally using MAMP's PHP](https://gist.github.com/kkirsche/5710272) 137 | 138 | ## Environment 139 | Environment configurations and tutorials 140 | 141 | * [Vagrant Tutorial](https://gist.github.com/dergachev/3866825) 142 | * [Tutorial for running Meteor in Windows using Vagrant](https://gist.github.com/gabrielhpugliese/5855677) 143 | * [Vagrant Provisioning Script for PHP applications. This installs a LAMP stack.](https://gist.github.com/fideloper/7074502) 144 | * [Golang 1.4.1 setup in Mac OSX with HomeBrew.](https://gist.github.com/vsouza/77e6b20520d07652ed7d) 145 | * [Securely Sync .env to .env.example](https://gist.github.com/ThatGuySam/c90d295b96422177148cfc6dce352b58) 146 | 147 | ## OSX 148 | 149 | 150 | #### Tips 151 | Tips to improve your osx 152 | * [OSX for Hackers](https://gist.github.com/brandonb927/3195465) 153 | * [Clear Cocoapods cache and update](https://gist.github.com/mbinna/4202236) 154 | * [OS X Screencast to animated GIF](https://gist.github.com/dergachev/4627207) 155 | 156 | ## iOS 157 | 158 | * [Functional Reactive Programming (FRP) Links](https://gist.github.com/JaviLorbada/4a7bd6129275ebefd5a6) 159 | 160 | #### Objective-C 161 | * [Objective-C Coding Convention and Best Practices](https://gist.github.com/soffes/812796) 162 | * [Generate a random color (UIColor) in Objective-C](https://gist.github.com/kylefox/1689973) 163 | * [Objective-C Entity System](https://gist.github.com/atarola/1175972) 164 | * [Objective-C Language Enhancements](https://gist.github.com/sakrist/f97499de2dd6687d6403) 165 | * [Objective-C Literals, part 2 support files](https://gist.github.com/markd2/2135746) 166 | 167 | #### Swift 168 | * [Quicksort in Swift](https://gist.github.com/fjcaetano/b0c00a889dc2a17efad9) 169 | * [GraphQL data structure implemented in Swift](https://gist.github.com/davbeck/e96b543bc0184b04353e) 170 | * [Alamofire and RxSwift](https://gist.github.com/mbalex99/8802db1695f20c520ca0) 171 | * [Elegant dequeueing of UITableViewCell](https://gist.github.com/artemnovichkov/de5bd4daf64441c724a429d1a9b1e26e) 172 | * [Elegant enum for custom colors worked on both iOS and macOS](https://gist.github.com/artemnovichkov/d04352a2986711e37265236a84082f77) 173 | 174 | ## Performance Analysis and Profiling 175 | * [Various Tools for Performance Analysis and Profiling Programs](https://gist.github.com/Kadle11/d0b49422273905ed705ba55014e1ab2b) 176 | 177 | # Contributing 178 | [See the guide](https://github.com/vsouza/awesome-gists/blob/master/CONTRIBUTING.md) 179 | 180 | # License 181 | Distributed under the MIT license. See LICENSE for more information. 182 | --------------------------------------------------------------------------------