This file contains 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
fn main() { | |
struct Inches(i32); | |
let length = Inches(10); | |
let Inches(integer_length) = length; | |
println!("length is {} inches", integer_length); | |
} |
This file contains 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
[ | |
{ | |
"timestamp": 1430179200, | |
"localTimestamp": 1430179200, | |
"issueTimestamp": 1430179200, | |
"fadedRating": 1, | |
"solidRating": 0, | |
"swell": { | |
"minBreakingHeight": 3, | |
"absMinBreakingHeight": 2.98, |
This file contains 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
[12:19:39] c:/~ 👍 brew list | xargs brew info | grep '/usr/local/Cellar' | awk '{ print $4 }' | tr -d ')' | |
Error: No available formula for ponysay-tool | |
188K | |
132M | |
6.1M | |
5.8M | |
75M | |
7.0M | |
3.7M | |
3.1M |
This file contains 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
ec2 = get_ec2(settings.aws_region, settings.aws_access_key, settings.aws_secret) | |
instances = ec2.describe_instances().data | |
instances.reservations.each do |reservation| | |
reservation.instances.each do |instance| | |
puts instance.instance_id | |
end | |
end |
This file contains 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
docker-machine env dev | |
set -x DOCKER_TLS_VERIFY "1"; | |
set -x DOCKER_HOST "tcp://192.168.99.100:2376"; | |
set -x DOCKER_CERT_PATH "/Users/akreps/.docker/machine/machines/dev"; | |
set -x DOCKER_MACHINE_NAME "dev"; | |
# Run this command to configure your shell: | |
# eval (docker-machine env dev) |
This file contains 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
│ Total items: 53852759size: 11.7 TiB │ |
This file contains 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
checking for AOLserver support... no |
This file contains 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/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/lita-4.6.1/templates/plugin/gemspec.tt | |
Gem::Specification.new do |spec| | |
spec.name = '<%= config[:gem_name] %>' | |
spec.version = '0.0.0' | |
spec.authors = ['<%= config[:author] %>'] | |
spec.email = ['<%= config[:email] %>'] | |
spec.description = '' | |
spec.summary = '' | |
spec.homepage = 'https://github.com/onewheelskyward/lita-onewheel-' | |
spec.license = 'MIT' |
This file contains 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
// ==UserScript== | |
// @name Remove symfony header | |
// @namespace http://your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @author You | |
// @match http://symfony.com/doc/current/book/testing.html | |
// @grant none | |
// ==/UserScript== |
This file contains 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
{ | |
kind: "customsearch#search", | |
url: { | |
type: "application/json", | |
template: "https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&cref={cref?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json" | |
}, | |
queries: { | |
nextPage: [{ | |
title: "Google Custom Search - ohai", | |
totalResults: "1530000", |