I hereby claim:
- I am twe4ked on github.
- I am odin (https://keybase.io/odin) on keybase.
- I have a public key whose fingerprint is E7CF B17B 6556 F44C 4D10 4B26 1ED7 776D C9D6 B110
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* (C)Leanest CSS spinner ever | |
*/ | |
@keyframes spin { | |
to { transform: rotate(1turn); } | |
} | |
.progress { | |
position: relative; |
Shaded (///) sections are loaded. | |
Hollow sections are the current viewport that potentially needs to be loaded. | |
We need to load the bottom section here: | |
+------+ +------+ | |
|//////| | | | |
|////+------+ | | | |
+----|-+ | +------+ | |
| | | |
+------+ |
require 'formula' | |
class Matcher < Formula | |
URL = 'https://github.com/burke/matcher' | |
homepage URL | |
url URL, :using => :git | |
version '0.0.1' | |
def install |
class ViewController | |
include TableSection | |
def numberOfSectionsInTableView(tableView) | |
2 | |
end | |
def numberOfRowsInSection0(tableView) | |
@data.count | |
end |
#Newbie programmer | |
def factorial(x): | |
if x == 0: | |
return 1 | |
else: | |
return x * factorial(x - 1) | |
print factorial(6) | |
#First year programmer, studied Pascal |
class InviteCode < ActiveRecord::Base | |
validate :invite_code, :presence => true | |
def to_s | |
invite_code | |
end | |
def self.generate | |
8.times.map { [*?a..?z,*?A..?Z].sample }.join | |
end |
def search_chosen(selector, search) | |
page.execute_script "jQuery('#{selector}').click();" | |
find('div.chzn-search input').set search | |
end | |
def select_from_chosen(selector, name) | |
page.execute_script "jQuery('#{selector}').click();" | |
page.execute_script "jQuery(\".chzn-results .active-result:contains('#{name}')\").click();" | |
wait_for_ajax | |
end |