Files
2025-07-18 23:13:11 +02:00

184 lines
17 KiB
Plaintext
Raw Permalink Blame History

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