Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import urllib, urllib2, zipfile, StringIO, json, pprint, logging | |
import xml.etree.ElementTree as ET | |
from pykml import parser | |
import googlemaps | |
from math import radians, cos, sin, asin, sqrt | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
rl = lambda : raw_input() | |
problems = int(rl()) | |
cnt = 0 | |
B = [] | |
N = 99 | |
def p(n): | |
ret = range(N) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var seconds = 3600/100; // hour limit 300 | |
var move = 150; | |
// selectors | |
var sel_like = 'button.LikeButton.rounded.PinLikeButton.Button:not(.unlike)'; | |
var sel_board = 'Button.hasText.btn.rounded.Button.boardFollowUnfollowButton:not(.dim)'; | |
var sel_follow = 'button.UserFollowButton.btn.rounded.Button:not(.dim)'; | |
function click(sel, n){ | |
e=document.createEvent('HTMLEvents'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.renderscript.Allocation; | |
import android.renderscript.Element; | |
import android.renderscript.RenderScript; | |
import android.renderscript.ScriptIntrinsicBlur; | |
import com.squareup.picasso.Transformation; | |
public class BlurTransform implements Transformation { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function now_timestamp(){ | |
return new Date().getTime(); | |
} | |
function timestampToDate(sec) { | |
return new Date(sec*1000); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
rl = lambda: raw_input()#sys.stdin.readline() | |
problems = int(rl()) | |
def recur(check_a,check_b, length): | |
# print check_a, check_b, length | |
global A,B | |
if len(check_a) + len(check_b) == 0 : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d = [0]*10001 | |
full_str = "" | |
full_len = 0 | |
full_hash = {} | |
# diff = lambda x: int(full_str[x+1]) - int(full_str[x]) | |
def f(first,end): | |
s = full_str[first:end] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = [ | |
"youminkim", | |
"kyk051301", | |
"motives-motifs", | |
"slowblower", | |
"dogdong", | |
"ch11", | |
"tigger103music", | |
"nabillera", | |
"filmierd", |
NewerOlder