Another curated list like awesome-go.
Not complete. Not authoritative. Not cupcake.
Send suggestions: @squarism :)
☆ = Github stars (in September 2014)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| domain = "*.example.com" | |
| subjectAltDomains = [ domain, "example.com" ] | |
| require 'openssl' | |
| puts "Generating public and private keys..." | |
| key = OpenSSL::PKey::RSA.new(2048) | |
| subject = "/C=US/ST=California/L=Los Angeles/O=Example Inc./CN=#{domain}" | |
| cert = OpenSSL::X509::Certificate.new |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| The Deis command-line client issues API calls to a Deis controller. | |
| Usage: deis <command> [<args>...] | |
| Auth commands:: | |
| register register a new user with a controller | |
| login login to a controller |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # -------------------------------------------------------------------------- | |
| # Script : find_local_static_links_on | |
| # Created on : 12/04/14 | |
| # Project : RUN_TEAM | |
| # Author : <author> | |
| # Company : COMPANY | |
| # Copyright : (c) 2014 - COMPANY S.A.S | |
| # -------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UI- and App Frameworks Evangelist - Jake Behrens, behrens@apple.com, twitter: @Behrens | |
| - What's new in Cocoa | |
| - Accessibility in iOS | |
| - Building User Interfaces for iOS 7 | |
| - Getting Started with UIKit Dynamics | |
| - What's new in Cocoa Touch | |
| - What's New With Multitasking | |
| - Best Practices for Cocoa Animation | |
| - Improving Power Efficiency with App Nap | |
| - Introducing Text Kit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| // Usage: | |
| gulp.task('docs', function(cb) { | |
| gulp.src('path/to/your/src') | |
| .pipe(hologram(cb)); | |
| }); | |
| */ | |
| var gulp = require('gulp'), | |
| notify = require('gulp-notify'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Bash 4 using homebrew | |
| brew install bash | |
| # Or build it from source... | |
| cd /tmp | |
| curl -O https://ftp.gnu.org/gnu/bash/bash-4.3.30.tar.gz | |
| tar xzf bash-4.3.30.tar.gz | |
| cd bash-4.3.30/ | |
| ./configure --prefix=/usr/local/bin && make && sudo make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // jummy project main.go | |
| package main | |
| import ( | |
| "fmt" | |
| "regexp" | |
| "time" | |
| ) | |
| const ( |
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # -------------------------------------------------------------------------- | |
| # Script : httpd_avg_mem_size | |
| # Created on : 27/07/2015 | |
| # Copyright : (c) 2015 - fdsolutions | |
| # -------------------------------------------------------------------------- | |
| usage(){ |