293 lines
11 KiB
HTML
293 lines
11 KiB
HTML
<p><img src="https://cl.ly/0S3e2k2U2p3r/Screen%20Shot%202016-07-19%20at%206.03.35%20PM.png" /></p>
|
||
<p><a href="http://makeapullrequest.com"><img
|
||
src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"
|
||
alt="PRs Welcome" /></a> <a href="LICENSE.md"><img
|
||
src="https://img.shields.io/badge/License-MIT-blue.svg"
|
||
alt="License" /></a></p>
|
||
<p>A collection of awesome gists. Feel free to contribute.</p>
|
||
<h2 id="toc">TOC</h2>
|
||
<ul>
|
||
<li><a href="#databases">Databases</a>
|
||
<ul>
|
||
<li><a href="#mysql">MySQL</a></li>
|
||
<li><a href="#redis">Redis</a></li>
|
||
<li><a href="#mongodb">MongoDB</a></li>
|
||
<li><a href="#dynamodb">DynamoDB</a></li>
|
||
</ul></li>
|
||
<li><a href="#services">Services</a>
|
||
<ul>
|
||
<li><a href="#heroku">Heroku</a></li>
|
||
<li><a href="#amazon">Amazon</a></li>
|
||
<li><a href="#tsuru">Tsuru</a></li>
|
||
<li><a href="#cloudflare">CloudFlare</a></li>
|
||
</ul></li>
|
||
<li><a href="#terminal">Terminal</a>
|
||
<ul>
|
||
<li><a href="#tmux">Tmux</a></li>
|
||
<li><a href="#zsh">Zsh</a></li>
|
||
</ul></li>
|
||
<li><a href="#testing">Testing</a></li>
|
||
<li><a href="#yaml">YAML</a></li>
|
||
<li><a href="#json">JSON</a>
|
||
<ul>
|
||
<li><a href="#python">Python</a></li>
|
||
</ul></li>
|
||
<li><a href="#languages">Languages</a></li>
|
||
<li><a href="#environment">Environment</a></li>
|
||
<li><a href="#osx">OSX</a></li>
|
||
<li><a href="#ios">iOS</a>
|
||
<ul>
|
||
<li><a href="#objective-c">Objective-C</a></li>
|
||
<li><a href="#swift">Swift</a></li>
|
||
</ul></li>
|
||
<li><a href="#performance-analysis-and-profiling">Performance Analysis
|
||
and Profiling</a></li>
|
||
</ul>
|
||
<h2 id="databases">Databases</h2>
|
||
<p>All databases are welcome :)</p>
|
||
<h4 id="mysql">MySQL</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/hofmannsven/9164408">My simply
|
||
MySQL Command Line Cheatsheet</a></li>
|
||
<li><a href="https://gist.github.com/esperlu/943776">MySQL to Sqlite
|
||
converter</a></li>
|
||
</ul>
|
||
<h4 id="redis">Redis</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/paulrosania/257849">A CentOS
|
||
initscript for Redis</a></li>
|
||
<li><a href="https://gist.github.com/lsbardel/257298">Init.d Redis
|
||
script for Ubuntu</a></li>
|
||
<li><a href="https://gist.github.com/cyx/3690597">Monit Redis</a></li>
|
||
<li><a href="https://gist.github.com/lmars/fca0f18b4ecd507fb39a">Flynn
|
||
Redis</a></li>
|
||
</ul>
|
||
<h4 id="mongodb">MongoDB</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/scttnlsn/3210919">Pub/sub with
|
||
MongoDB and Node.js</a></li>
|
||
<li><a href="https://gist.github.com/tamoyal/10441108">Create super user
|
||
and database user in Mongo 2.6</a></li>
|
||
<li><a href="https://gist.github.com/Btibert3/7751989">Basic Overview of
|
||
using the rmongodb package for R.</a></li>
|
||
<li><a href="https://gist.github.com/mattpodwysocki/218388">MongoDB and
|
||
F#</a></li>
|
||
<li><a href="https://gist.github.com/lmars/8be1952a8d03f8a31b17">Flynn
|
||
MongoDB</a></li>
|
||
<li><a href="https://gist.github.com/erans/ce21c919921608d064cd">MongoDB
|
||
ReplicaSet Backup Script on Google Compute Engine and Google Cloud
|
||
Storage</a></li>
|
||
</ul>
|
||
<h4 id="dynamodb">DynamoDB</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/kenoir/8998532">Prettied up some
|
||
AWS Ruby SDK DynamoDB examples from <span class="citation"
|
||
data-cites="integralist">@integralist</span>.</a></li>
|
||
<li><a href="https://gist.github.com/sansmischevia/5148109">convert
|
||
DynamoDb JSON to regular JSON javascript objects</a></li>
|
||
</ul>
|
||
<h2 id="services">Services</h2>
|
||
<p>Most used services to deploy, and host your applications.</p>
|
||
<h4 id="heroku">Heroku</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/afeld/5704079/">Using Rails+Bower
|
||
on Heroku</a></li>
|
||
<li><a href="https://gist.github.com/adamwiggins/5687294">My Heroku
|
||
Values</a></li>
|
||
<li><a href="https://gist.github.com/njvitto/362873">Rakefile to deploy
|
||
and rollback to Heroku in two different environments for the same
|
||
app</a></li>
|
||
<li><a href="https://gist.github.com/edelpero/9257311">Heroku, Ruby on
|
||
Rails and PhantomJS</a></li>
|
||
</ul>
|
||
<h4 id="amazon">Amazon</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/kylefritz/633175">publish a message
|
||
to Amazon SNS using python or ruby</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/AndreasStokholm/3778351">Auto-deploy with
|
||
php and github on an Ubuntu Amazon EC2 box</a></li>
|
||
<li><a href="https://gist.github.com/dstroot/2776679">Install Redis on
|
||
Amazon EC2 AMI</a></li>
|
||
<li><a href="https://gist.github.com/oodavid/2206527">Backup MySQL to
|
||
Amazon S3</a></li>
|
||
<li><a href="https://gist.github.com/springmeyer/3427021">Mapnik on
|
||
Amazon Linux AMI (Fedora)</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/aaabramov/0f1d963d788bf411c0629a6bcf20114d">Installing
|
||
zsh + oh-my-zsh on Amazon EC2 Amazon Linux 2 AMI</a></li>
|
||
</ul>
|
||
<h4 id="tsuru">Tsuru</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/andrewsmedina/8857051">Deploying Go
|
||
applications in tsuru</a></li>
|
||
</ul>
|
||
<h4 id="cloudflare">CloudFlare</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/larrybolt/6295160">Automatically
|
||
update your CloudFlare DNS record to the IP, Dynamic DNS</a></li>
|
||
<li><a href="https://gist.github.com/gentlecat/3149751">CloudFlare DNS
|
||
records updater</a></li>
|
||
<li><a href="https://gist.github.com/jaytaylor/6273175">CloudFlare
|
||
command-line DNS management shell script</a></li>
|
||
</ul>
|
||
<h2 id="terminal">Terminal</h2>
|
||
<h4 id="tmux">Tmux</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/MohamedAlaa/2961058">Tmux shortcuts
|
||
& cheatsheet</a></li>
|
||
</ul>
|
||
<h4 id="zsh">Zsh</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/kevin-smets/8568070">iTerm2 + oh my
|
||
zsh + solarized + Meslo powerline font (OSX)</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/dogrocker/1efb8fd9427779c827058f873b94df95">oh
|
||
my zsh with autosuggestions & syntax highlighting</a></li>
|
||
</ul>
|
||
<h2 id="testing">Testing</h2>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/daemianmack/1099713">Selenium with
|
||
Python</a></li>
|
||
</ul>
|
||
<h2 id="yaml">YAML</h2>
|
||
<p>Parsers, files with data collections and more.</p>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/pkuczynski/8665367">Read YAML file
|
||
from Bash script</a></li>
|
||
</ul>
|
||
<h2 id="json">JSON</h2>
|
||
<p>Parsers, files with data collections and more.</p>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/mshafrir/2646763">US states in JSON
|
||
form</a></li>
|
||
</ul>
|
||
<h4 id="python">Python</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/sirleech/2660189">Python Read JSON
|
||
from HTTP Request of URL</a></li>
|
||
<li><a href="https://gist.github.com/lightcatcher/1136415">Python JSON
|
||
Benchmark</a></li>
|
||
<li><a href="https://gist.github.com/hest/8798884">Fast SQLAlchemy
|
||
counting (avoid query.count() subquery)</a></li>
|
||
</ul>
|
||
<h2 id="languages">Languages</h2>
|
||
<h4 id="python-1">Python</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/didip/867589">Testing Tornado
|
||
RequestHandlers</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/drgarcia1986/3cce1d134c3c3eeb01bd">Python
|
||
HelloWorld (WebFrameworks) Collection</a></li>
|
||
</ul>
|
||
<h4 id="golang">Golang</h4>
|
||
<ul>
|
||
<li><a
|
||
href="https://gist.github.com/andrewmilson/19185aab2347f6ad29f5">File
|
||
upload example</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/cryptix/45c33ecf0ae54828e63b#file-asymmetric-go-L152">example
|
||
of using JWT for http authentication in go</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/cryptix/87127f76a94183747b53">extract a
|
||
javascript object value from a html page using goquery and otto</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/andreagrandi/97263aaf7f9344d3ffe6">Parse a
|
||
JSON http POST in GoLang</a></li>
|
||
<li><a href="https://gist.github.com/drewolson/4771479">Golang
|
||
Reflection Example</a></li>
|
||
<li><a href="https://gist.github.com/border/3489566">Mongo Driver - Mgo
|
||
Example</a></li>
|
||
<li><a href="https://gist.github.com/ijt/950790">Example of using
|
||
http.Get in go (golang)</a></li>
|
||
<li><a href="https://github.com/SerifAndSemaphore/go-serverless-list">Go
|
||
Serverless List</a></li>
|
||
</ul>
|
||
<h4 id="javascript">JavaScript</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/getify/2b53198906d320abe650">ES6
|
||
highlight reel</a></li>
|
||
</ul>
|
||
<h4 id="php">PHP</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/kkirsche/5710272">How to install
|
||
Composer globally using MAMP’s PHP</a></li>
|
||
</ul>
|
||
<h2 id="environment">Environment</h2>
|
||
<p>Environment configurations and tutorials</p>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/dergachev/3866825">Vagrant
|
||
Tutorial</a></li>
|
||
<li><a href="https://gist.github.com/gabrielhpugliese/5855677">Tutorial
|
||
for running Meteor in Windows using Vagrant</a></li>
|
||
<li><a href="https://gist.github.com/fideloper/7074502">Vagrant
|
||
Provisioning Script for PHP applications. This installs a LAMP
|
||
stack.</a></li>
|
||
<li><a href="https://gist.github.com/vsouza/77e6b20520d07652ed7d">Golang
|
||
1.4.1 setup in Mac OSX with HomeBrew.</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/ThatGuySam/c90d295b96422177148cfc6dce352b58">Securely
|
||
Sync .env to .env.example</a></li>
|
||
</ul>
|
||
<h2 id="osx">OSX</h2>
|
||
<h4 id="tips">Tips</h4>
|
||
<p>Tips to improve your osx * <a
|
||
href="https://gist.github.com/brandonb927/3195465">OSX for Hackers</a> *
|
||
<a href="https://gist.github.com/mbinna/4202236">Clear Cocoapods cache
|
||
and update</a> * <a href="https://gist.github.com/dergachev/4627207">OS
|
||
X Screencast to animated GIF</a></p>
|
||
<h2 id="ios">iOS</h2>
|
||
<ul>
|
||
<li><a
|
||
href="https://gist.github.com/JaviLorbada/4a7bd6129275ebefd5a6">Functional
|
||
Reactive Programming (FRP) Links</a></li>
|
||
</ul>
|
||
<h4 id="objective-c">Objective-C</h4>
|
||
<ul>
|
||
<li><a href="https://gist.github.com/soffes/812796">Objective-C Coding
|
||
Convention and Best Practices</a></li>
|
||
<li><a href="https://gist.github.com/kylefox/1689973">Generate a random
|
||
color (UIColor) in Objective-C</a></li>
|
||
<li><a href="https://gist.github.com/atarola/1175972">Objective-C Entity
|
||
System</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/sakrist/f97499de2dd6687d6403">Objective-C
|
||
Language Enhancements</a></li>
|
||
<li><a href="https://gist.github.com/markd2/2135746">Objective-C
|
||
Literals, part 2 support files</a></li>
|
||
</ul>
|
||
<h4 id="swift">Swift</h4>
|
||
<ul>
|
||
<li><a
|
||
href="https://gist.github.com/fjcaetano/b0c00a889dc2a17efad9">Quicksort
|
||
in Swift</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/davbeck/e96b543bc0184b04353e">GraphQL data
|
||
structure implemented in Swift</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/mbalex99/8802db1695f20c520ca0">Alamofire
|
||
and RxSwift</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/artemnovichkov/de5bd4daf64441c724a429d1a9b1e26e">Elegant
|
||
dequeueing of UITableViewCell</a></li>
|
||
<li><a
|
||
href="https://gist.github.com/artemnovichkov/d04352a2986711e37265236a84082f77">Elegant
|
||
enum for custom colors worked on both iOS and macOS</a></li>
|
||
</ul>
|
||
<h2 id="performance-analysis-and-profiling">Performance Analysis and
|
||
Profiling</h2>
|
||
<ul>
|
||
<li><a
|
||
href="https://gist.github.com/Kadle11/d0b49422273905ed705ba55014e1ab2b">Various
|
||
Tools for Performance Analysis and Profiling Programs</a></li>
|
||
</ul>
|
||
<h1 id="contributing">Contributing</h1>
|
||
<p><a
|
||
href="https://github.com/vsouza/awesome-gists/blob/master/CONTRIBUTING.md">See
|
||
the guide</a></p>
|
||
<h1 id="license">License</h1>
|
||
<p>Distributed under the MIT license. See LICENSE for more
|
||
information.</p>
|
||
<p><a href="https://github.com/vsouza/awesome-gists">gists.md
|
||
Github</a></p>
|