Skip to content

Instantly share code, notes, and snippets.

View pepe's full-sized avatar

Josef Pospíšil pepe

View GitHub Profile
@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
@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:
@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 / index.html
Last active December 13, 2015 17:08
Those days cmx.io
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/>
<script src="http://cmx.io/v/0.1/cmx.js"></script>
<body>
<scene id="scene1">
<label t="translate(0,346)">
<tspan x="0" y="0em">Those days</tspan>
</label>
<actor t="translate(131,49)" pose="-11,9|-5,117|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-1,9|-18,79|-18,59|-6,79|-1,59">
@pepe
pepe / mountain-lion-brew-setup.markdown
Created July 30, 2012 08:19 — forked from myobie/mountain-lion-brew-setup.markdown
Get Mountain Lion and Homebrew to Be Happy

Get Mountain Lion and Homebrew to Be Happy

1) Install XCode 4.4 into /Applications

Get it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.

2) Install Command Line Tools

In XCode's Preferences > Downloads you can install command line tools.

@pepe
pepe / make.log
Created October 31, 2011 13:02
Error installing ruby 1.9.3 with rvm 1.9.1
[2011-10-31 13:39:48] make
CC = clang
LD = ld
LDSHARED = clang -dynamiclib
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/pepe/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend
SOLIBS =
compiling main.c
-sections.each do |section|
=section.title
-section.subsections.each do |subsection|
=subsection.title
=subsection.body
@pepe
pepe / form_helper.rb
Created June 12, 2011 17:12 — forked from cdcarter/form_helper.rb
NS Form Helper Class
class FormHelper
attr_accessor :form
def initialize(nsform=nil)
@form = nsform
end
def length
form.numberOfRows
end
=> Located locked Gemfile for development
DEBUG - [16/May/2011 19:01:19] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/config/database.rb"
DEBUG - [16/May/2011 19:01:19] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/lib/download_uploader.rb"
DEBUG - [16/May/2011 19:01:19] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/lib/font_renderer.rb"
DEBUG - [16/May/2011 19:01:19] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/lib/image_uploader.rb"
DEBUG - [16/May/2011 19:01:19] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/lib/license_multiplier.rb"
DEBUG - [16/May/2011 19:01:20] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/lib/text_generator.rb"
DEBUG - [16/May/2011 19:01:20] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/lib/uploader.rb"
DEBUG - [16/May/2011 19:01:20] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/app/models/address.rb"
DEBUG - [16/May/2011 19:01:20] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/app/models/contact.rb"
>> require_deps(File.join(SuitcasetypeCom.root, "controllers/**/*.rb"), :force => true)
=> File size is: 8
=> Load /Users/pepe/Projects/fun/suitcasetype.com/app/controllers/cart.rb: DEBUG - [16/May/2011 18:38:37] "Loaded /Users/pepe/Projects/fun/suitcasetype.com/app/controllers/cart.rb with force"
OK
=> Load /Users/pepe/Projects/fun/suitcasetype.com/app/controllers/customer.rb: OK
=> Load /Users/pepe/Projects/fun/suitcasetype.com/app/controllers/favorites.rb: OK
=> Load /Users/pepe/Projects/fun/suitcasetype.com/app/controllers/font.rb: OK
=> Load /Users/pepe/Projects/fun/suitcasetype.com/app/controllers/license.rb: OK
=> Load /Users/pepe/Projects/fun/suitcasetype.com/app/controllers/post.rb: OK
=> Load /Users/pepe/Projects/fun/suitcasetype.com/app/controllers/root.rb: OK