Skip to content

Instantly share code, notes, and snippets.

View pepe's full-sized avatar

Josef Pospíšil pepe

View GitHub Profile
@pepe
pepe / zrb.md
Created May 23, 2014 13:47
Žižkov RB text

Who we are, what we want?

We are group of programmers, with Ruby as the weapon of choice. But we are not defending ourselves against any new experience or weapons. Under the organization we are mostly looking to help with open source software development,

If you think, that six (for now) hands can help you with your project, do not hesitate and contact us. We do not guarantee nothing, but we are mostly accepting chalenges.

Hetman Retro, colonel Pepe and sergeant Paja

@pepe
pepe / gist:04b1f88dd269bf43a283
Last active August 29, 2015 14:16
keybase.md
### Keybase proof
I hereby claim:
* I am pepe on github.
* I am pp (https://keybase.io/pp) on keybase.
* I have a public key whose fingerprint is C323 3C75 F2BF 8FA1 52DE 1B2C B1FF F69C 961B 9BE2
To claim this, I am signing this object:
# Bash snippet to open new shells in most recently visited dir.
# Useful if you want to open a new terminal tab at the present
# tab's location.
#
# Put this in your .bashrc or whatever.
pathed_cd () {
if [ "$1" == "" ]; then
cd
else
@pepe
pepe / gist:a0167048205580a00a99
Last active August 31, 2015 14:20 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan Developer Preview 2

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
{:cs =>
{ :i18n => { :pluralize => lambda { |n| n == 1 ? :one : (2..4).include?(n) ? :few : :other } },
:datetime => { :distance_in_words => { :x_months => { :one => '1 měsíc', :few => "{{count}} měsíce", :other => "{{count}} měsíců" } } } }
}
require 'i18n/backend/pluralization'
I18n::Backend::Simple.send(:include, I18n::Backend::Pluralization)
(in /Users/pepe/Projects/fos/markout)
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader
Started
...........F.
Finished in 0.048024 seconds.
1) Failure:
test_export(Markout::OutputTest) [./test/markout_output_test.rb:26]:
Fixture HTML does not match Markout output, see diff below:
--- /Users/pepe/Projects/fos/markout/test/fixtures/markdown.html 2009-08-21 15:02:56.000000000 +0200
=== Epic Snow Leopard Upgrayyyyd Guide ===
Son, you’re now living in the land of 64-bit systems.
That means that some of your 32-bit shit is now broken.
Not all is lost.
== Fixing MySQL weirdness
@pepe
pepe / gist:181077
Created September 4, 2009 19:43 — forked from karmi/application.js
We couldn’t find that file to show.
@pepe
pepe / alert_me
Created November 20, 2009 08:25 — forked from copiousfreetime/alert_me
#!/usr/bin/env ruby
##
# alert_me
#
# A simple delay timer to send a growl notification at specific time with a
# message. Useful for when you need to check on something later
#
# echo "Go look at system 42" | alert_me in 2 hours
#