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
var Alpine = require('alpine'); | |
var alpine = new Alpine("%h %s %B"); | |
var data = alpine.parseLine("www.brain-salad.com 403 4321"); |
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
I think you mean team... | |
I think you mean squad.. | |
I think you mean gang... | |
I think you mean pals... | |
I think you mean buds... | |
I think you mean posse... | |
I think you mean phalanx... | |
I think you mean crew... | |
I think you mean crüe... | |
I think you mean nerds... |
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
#!/bin/bash | |
echo $1 | |
ssh-add -D | |
ssh-add ~/.ssh/$1 |
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
./ruby | |
FATAL ERROR: unable to find Rubinius runtime directories. | |
Rubinius was configured to find the directories relative to: | |
/rubinius-2.5.2 | |
Set the environment variable RBX_PREFIX_PATH to the directory | |
that is the prefix of the following runtime directories: |
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/bin/env ruby | |
require 'rubygems' | |
require 'bundler/setup' | |
require './rakelib/configure' | |
require './rakelib/release' | |
require './rakelib/build_signature' | |
require 'rbconfig' | |
require 'tempfile' | |
require 'fileutils' |
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
gem 'contentful' | |
client = Contentful::Client.new( | |
access_token: 'b4c0n73n7fu1', | |
space: 'cfexampleapi' | |
) | |
entries = client.entries('sys.id[ne]' => 'nyancat') | |
entry = entries.first |
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
Failure/Error: double('fuckyeah') | |
NoMethodError: | |
undefined method `double' for #<RSpec::Core::ExampleGroup::Nested_22::Nested_4:0x007fbf8268bfc0> |
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
proc{|l|s=l.size;[l[0..(s/2.0)-1],l[(s/2.0).ceil..s]]}['012003'.split('').map(&:to_i)].map{|l|l.reduce(:+)}.inject{|a,b|a==b}#lucky_number |
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
Hey the next meetup will take place tomorrow Wed 30.04.2014 beginning at 19:00. | |
It will be at the contentful.com[1] office: | |
Ritterstr. 12-14 | |
10969 Berlin | |
Germany | |
Take the shiny outside elevator up to the 5.th floor and enter the | |
office trough the door on your left. |
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
(require 'grizzl) | |
(projectile-global-mode) | |
(setq projectile-enable-caching t) | |
(setq projectile-completion-system 'grizzl) | |
;; Press Command-p for fuzzy find in project | |
(global-set-key (kbd "M-p") 'projectile-find-file) | |
;; Press Command-b for fuzzy switch buffer | |
(global-set-key (kbd "M-b") 'projectile-switch-to-buffer) |