I hereby claim:
- I am coldsauce on github.
- I am stefanaleksic (https://keybase.io/stefanaleksic) on keybase.
- I have a public key whose fingerprint is 9175 4FB1 9F3E 5342 B59E 5BF1 0B4C 7393 8C1C 3825
To claim this, I am signing this object:
<style> | |
#p553 { | |
position: fixed !important; | |
position: absolute; | |
top: 2px; | |
top: expression((t=document.documentElement.scrollTop?document.documentElement.scrollTop: document.body.scrollTop)+"px"); | |
left: 2px; | |
width: 100%; | |
height: 102%; | |
background-color: #fff; |
boolean areAnagrams(String s1, String s2){ | |
if(s1 == null || s2 == null){ | |
return false; | |
} | |
if(s1.isEmpty() || s2.isEmpty()){ | |
return false; | |
} | |
if(s1.length() != s2.length()){ | |
return false; | |
} |
SocketIOClient.connect(AsyncHttpClient.getDefaultInstance(), "http://192.168.1.2:3000", new ConnectCallback() { | |
@Override | |
public void onConnectCompleted(Exception ex, SocketIOClient client) { | |
if (ex != null) { | |
ex.printStackTrace(); | |
return; | |
} | |
client.setStringCallback(new StringCallback() { | |
@Override | |
public void onString(String string) { |
import urllib2 | |
from bs4 import BeautifulSoup | |
html = urllib2.urlopen("http://www.yelp.com/search?find_loc=Schaumburg%2C+IL+60193").read() | |
soup = BeautifulSoup(html) | |
def writeToTextSelect(name): | |
for line in soup.select(name): |
String line = ""; | |
Bufferedreader br = new BufferedReader(new FileReader(new File("your file location"))); | |
while((line = br.readLine()) != null){ | |
// do stuff with line | |
} |
def draw_path(self,x,y): | |
top_right = 999999999999999999999999999999999999 | |
top_left = 999999999999999999999999999999999999 | |
top = 999999999999999999999999999999999999 | |
if y == 0: | |
return | |
self.writablePixels[y,x] = (255,0,0) | |
# print str((x,y)) |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
object Bubble { | |
val r = scala.util.Random | |
def getNewBoardIteration(board: Vector[Vector[Boolean]]): Vector[Vector[Boolean]] = { | |
val allFalse = board.zipWithIndex.map(row => | |
row._1.zipWithIndex.filter(col => | |
if(((row._2 % 2) + col._2) % 2 == 0) | |
!col._1 | |
else | |
false | |
) |
[{"path":"Users/coldsauce/Documents/website","hash":"Qmb3R27q7Ka4ZuNFwJGQtzU9YMEEPeSTe1yctGEDZ9rqFs","size":60},{"path":"Users/coldsauce/Documents","hash":"Qma9ZpSoh4MAHsd8nVFyVcuvJ4fSenbnz3RzTd7DGeh8Fr","size":113},{"path":"Users/coldsauce","hash":"QmXiK1RHuGicXCeumY4pQgYK7M5dXiruGEvw7iojmdBbfU","size":168},{"path":"Users","hash":"QmW7mZHzKG9ZKxCWpCGpoUjDsJtLNTv7hRf5D4kCQW4xxp","size":224}, | |
{"path":"/Users/coldsauce/Documents/website/hacker.png", | |
"hash":"QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn","size":4}] |