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
| UI- and App Frameworks Evangelist - Jake Behrens, [email protected], 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
| #!/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
| #!/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
| 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
| require 'openssl' | |
| def gen_key(name) | |
| key = OpenSSL::PKey::RSA.new 1048 | |
| file = File.new(name, "w") | |
| file.write(key) | |
| file.close | |
| end | |
| def get_key(name) |
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 ruby | |
| require 'rubygems' | |
| require 'rotp' | |
| require 'time' | |
| user = ARGV[0] | |
| secret = ARGV[1] | |
| abort unless user and secret | |
| trap("INT") do |
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
| public class SmoothCircularIndeterminateProgressBarDrawable | |
| extends Drawable | |
| implements Animatable { | |
| private static final Interpolator ANGLE_INTERPOLATOR = new LinearInterpolator(); | |
| private static final Interpolator SWEEP_INTERPOLATOR = new DecelerateInterpolator(); | |
| private static final int ANGLE_ANIMATOR_DURATION = 2000; | |
| private static final int SWEEP_ANIMATOR_DURATION = 600; | |
| private static final int MIN_SWEEP_ANGLE = 30; | |
| private final RectF fBounds = new RectF(); |
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
| # | |
| # | |
| # moche car on fait une 2nd req HTTP | |
| # mais ça doit fonctionner nickel | |
| # | |
| # | |
| upstream lb { | |
| server 127.0.0.1:1111/1a/ weight=3; | |
| server 127.0.0.1:1111/1b/ weight=2; |
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
| $phone: '(max-width: 480px)'; | |
| $tablet-portrait: '(max-width: 767px)'; | |
| $tablet-landscape-desktop: '(min-width: 768px) and (max-width: 979px)'; | |
| $large-desktop: '(min-width: 1200px)'; | |
| $non-retina: 'screen and (-webkit-max-device-pixel-ratio: 1)'; | |
| $retina: 'screen and (-webkit-min-device-pixel-ratio: 2)'; | |
| @mixin respond-to($media) { | |
| @media #{$media} { | |
| @content; |