Skip to content

Instantly share code, notes, and snippets.

View pxlpnk's full-sized avatar
💭
👋 hey

Andreas Tiefenthaler pxlpnk

💭
👋 hey
View GitHub Profile
We meet on 05.03.2014 at 20:00 CET at
Yorkstrasse 22Ecke Möckernstrasse
10965 Berlin
in the nice and cosy trinidad cuisine!
http://trinidad-cuisine.de/
http://doodle.com/85pehbi39suhdtcw
Please be on time and be hungry!
@pxlpnk
pxlpnk / keybase.md
Last active October 11, 2018 07:35
keybase.md

Keybase proof

I hereby claim:

  • I am pxlpnk on github.
  • I am pxlpnk (https://keybase.io/pxlpnk) on keybase.
  • I have a public key ASCNYvk8o9WcyvrRWHOlI-4bdfvkTHsk0h0jvpsUJTnwZAo

To claim this, I am signing this object:

"Even though the UNIX system introduces a number of innovative programs and techniques, no single program or idea makes it work well.
Instead, what makes it effective is the approach to programming, a philosophy of using the computer.
Although that philosophy can't be written down in a single sentence, at its heart is the idea that the power of a system comes more from the relationships among programs than from the programs themselves.
Many UNIX programs do quite trivial things in isolation, but, combined with other programs, become general and useful tools."
B. W. Kernighan and R. Pike - The Unix Programming Environment - 1984
(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)
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.
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
Failure/Error: double('fuckyeah')
NoMethodError:
undefined method `double' for #<RSpec::Core::ExampleGroup::Nested_22::Nested_4:0x007fbf8268bfc0>
gem 'contentful'
client = Contentful::Client.new(
access_token: 'b4c0n73n7fu1',
space: 'cfexampleapi'
)
entries = client.entries('sys.id[ne]' => 'nyancat')
entry = entries.first
@pxlpnk
pxlpnk / configure
Created February 3, 2015 12:50
Rubinius 2.5.2 install problem
#!/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'