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
| go get -d -v ./... | |
| # get test dependencies | |
| # go get -t will make this unnecessary in go 1.2 <https://codereview.appspot.com/12566046> | |
| # go get launchpad.net/gocheck | |
| # go get github.com/axw/gocov/gocov | |
| # go get github.com/mattn/goveralls |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>iOS Test</title></head> | |
| <body> | |
| <div data-role="page"> | |
| <div data-role="content"> |
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
| # Activate the gem you are reporting the issue against. | |
| # gem 'activerecord', '4.0.9' # works | |
| gem 'activerecord', '4.0.10.rc1' | |
| # gem 'activerecord', '4.1.5' # works | |
| # gem 'activerecord', '4.1.6.rc1' | |
| gem 'pg' | |
| require 'active_record' |
I hereby claim:
- I am nathany on github.
- I am nathany (https://keybase.io/nathany) on keybase.
- I have a public key ASDQMnXaH02CR8BQhuy4A0xJpt8RfQDOIkGAJFX9QuNlIAo
To claim this, I am signing this object:
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
| 'comment': 'Based on work from github.com/frou/GoFeather and github.com/DisposaBoy/GoSublime' | |
| 'fileTypes': [ | |
| 'go' | |
| ] | |
| 'firstLineMatch': '-[*]-( Mode:)? Go -[*]-' | |
| 'name': 'GoSublime-next' | |
| 'patterns': [ | |
| { | |
| 'begin': '/\\*' | |
| 'end': '\\*/' |
brew install redis
gem install sidekiq
go get -u github.com/jrallison/go-workers
redis-server /usr/local/etc/redis.conf
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
| export GOPATH=$HOME | |
| export PATH=$PATH:$HOME/src/go.googlesource.com/go/bin:$HOME/bin | |
| export GOROOT_BOOTSTRAP=$HOME/src/go.googlesource.com/go1.4 | |
| export GO15VENDOREXPERIMENT=1 |
https://www.apple.com/feedback/ipad.html
To modify screen colour temperatures during evening hours, I have been using the f.lux app on my Macs for years.
I was quite looking forward to using it on my iPad, particularly for reading, but it seems Apple has not provided the necessary documented APIs, nor is Apple allowing side loading of apps using Xcode 7. https://justgetflux.com/sideload/
This is why iPad will never replace the PC.
Hopefully you will open up the capabilities needed to make f.lux a first class app, or work with them to build the features into a future revision of iOS.
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
| defmodule Luhn do | |
| @moduledoc """ | |
| Luhn algorithm to checksum credit cards. | |
| """ | |
| @doc """ | |
| Check if a credit card number is valid based on luhn. | |
| """ | |
| def valid?(cc) when is_integer(cc) do | |
| Integer.digits(cc) |