Skip to content

Instantly share code, notes, and snippets.

View tadruj's full-sized avatar

Rok Krulec tadruj

View GitHub Profile
### Keybase proof
I hereby claim:
* I am tadruj on github.
* I am rokk (https://keybase.io/rokk) on keybase.
* I have a public key whose fingerprint is 9C23 9BAD DAAE 1DF4 1983 CD75 C8E3 5D5F 3F95 8FB6
To claim this, I am signing this object:
settings = {
jshint: true,
editor: {
indentUnit: 2,
smartIndent: false,
tabSize: 2,
indentWithTabs: false,
autoClearEmptyLines: true,
lineWrapping: true,
lineNumbers: true,
@tadruj
tadruj / README
Last active October 3, 2015 05:48
Meteor pair-programming App
This app is used for pair programming JavaScript. I have the console open on Chrome so when I click Run or do the CMD+ENTER, the script that is inside textarea executes.
BUG:
If I have 2 windows open I can type on W1 and see the changes published on W2, but when I start to type on W2, the changes won't get dispatched to W1.
# This is API module, mapped under /api
require 'sinatra/base'
module My
class API < Sinatra::Base
get '/' do
'Happy API'
end
end
@tadruj
tadruj / gist:1356196
Created November 10, 2011 20:55
Startups in 13 Sentences by Paul Graham
Copied from http://www.stypi.com/hacks/13sentences
Startups in 13 Sentences
One of the things I always tell startups is a principle I learned from Paul Buchheit: it's better to make a few people really happy than to make a lot of people semi-happy. I was saying recently to a reporter that if I could only tell startups 10 things, this would be one of them. Then I thought: what would the other 9 be?
When I made the list there turned out to be 13: