$ npm install oauth
- Log into twitter dev
- Create App
- Set url to http://local.host:5001
#!/usr/bin/env watchr | |
# config file for watchr http://github.com/mynyml/watchr | |
# install: gem install watchr | |
# run: ./watchr.rb | |
puts "Starting watchr..." | |
watch( '(src/(.*).coffee)' ) do |match| |
form | |
input.add_link.imput-mini(type="text", autofocus="autofocus", placeholder="Enter URL..") | |
select.link-select(data-placeholder="Select a Store") | |
each site in sites | |
option(value=site)= site | |
button.btn.save-new-link(type="button", style="margin-top: 5px;") Done |
$ npm install oauth
#slider1:checked ~ .bg #active label:nth-child(1), | |
#slider2:checked ~ .bg #active label:nth-child(2), | |
#slider3:checked ~ .bg #active label:nth-child(3) { | |
background: #0adfb3; | |
border-color: #333 !important; | |
} |
fn main() { | |
for int::range(1, 101) |x| { | |
match ( x % 3, x % 5) { | |
(0, 0) => io::println("fizbuzz"), | |
(0, _) => io::println("fizz"), | |
(_, 0) => io::println("buzz"), | |
(_, _) => io::println(x.to_str()) | |
} | |
} | |
} |
drop table if exists SPP; | |
drop table if exists Sup; | |
drop table if exists Part; | |
drop table if exists Proj; | |
CREATE TABLE Sup ( | |
sup_num int, | |
sup_name varchar(25), | |
city varchar(25), | |
primary key (sup_num) |
{\footnotesize | |
\begin{tabular}{ | p{2.5cm} | p{6cm} | p{2.5cm} | p{2.6cm} | } | |
% show header | |
\hline | |
{\bf Function Name} & | |
{\bf Description} & | |
{\bf Input} & | |
{\bf Output} \\ | |
\hline |
select | |
oid, count(distinct pid) | |
from | |
owns | |
group by oid | |
having count(distinct pid) >= (select | |
T.max | |
from | |
(select | |
oid, count(distinct pid) as max |
trait TestClass | |
case class TestClassA(val id: Int) extends TestClass | |
case class TestClassB(val name: String) extends TestClass | |
case class TestClassC(val arg: Float) | |
trait TestClassConverter[A <: TestClass, B <: TestClass] { | |
def toTestClass(a: A): B | |
} | |
class Tester(val name: String) extends TestClassConverter[TestClassA, TestClassB] { |
I hereby claim:
To claim this, I am signing this object: