I hereby claim:
- I am ayberk on github.
- I am ayberk (https://keybase.io/ayberk) on keybase.
- I have a public key whose fingerprint is BE86 8817 A371 C047 7D34 305C 2BB0 D486 1ACF BDAE
To claim this, I am signing this object:
import sys | |
import os | |
if len(sys.argv) != 2: | |
print "usage: ./", sys.argv[0], "<file name>" | |
sys.exit() | |
OUTNAME = sys.argv[1] |
import requests | |
import os.path | |
import sys | |
from bs4 import BeautifulSoup | |
if len(sys.argv) is not 2: | |
print "Usage: %s <url>\n" % sys.argv[0] | |
URL = sys.argv[1] | |
EXTENSIONS = ['pdf'] |
// ==UserScript== | |
// @name Eksi Begenilenler | |
// @namespace 127.0.0.1 | |
// @version 0.1 | |
// @description En begenilenleri ayni sayfada gor | |
// @match https://eksisozluk.com/istatistik/dunun-en-begenilen-entryleri | |
// @match https://eksisozluk.com/istatistik/gecen-haftanin-en-begenilen-entryleri | |
// @match https://eksisozluk.com/istatistik/tsllbnnin-formulu | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== |
var url = document.URL; | |
javascript:(function(){ | |
//window.twttr=window.twttr||{}; | |
var D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E; | |
if(C>A){ | |
G=Math.round((C/2)-(A/2)) | |
} | |
var win =window.open('http://twitter.com/share','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1'); | |
//var win = window.twtter.shareWin; | |
win.focus(); |
private static void threeWayQuickSort(int[] a, int lo, int hi) | |
{ | |
if (hi <= lo) return; | |
int i = lo; | |
int lessThan = lo; | |
int greaterThan = hi; | |
int pivot = a[lo]; | |
while (i <= greaterThan) |
/** | |
* Created by ayberk on 4/29/14. | |
* | |
* A string s is a cyclic rotation of a string t if s and t have the same length and | |
* s consists of a suffix of t followed by a prefix of t. | |
* For example, "winterbreak" is a cyclic rotation of "breakwinter" (and vice versa). | |
* Design a linear-time algorithm to determine whether one string is a cyclic rotation of another. | |
*/ | |
public class CyclicStrings | |
{ |
package crackingthecodinginterview; | |
/** | |
* Created by ayberk on 4/30/14. | |
* | |
* 43 Given a sorted (increasing order) array, write an algorithm to create a binary tree with minimal height | |
*/ | |
import datastructures.*; |
I hereby claim:
To claim this, I am signing this object:
import java.util.ArrayList; | |
/** | |
* Created by ayberk on 2/3/15. | |
*/ | |
public class sdfsf | |
{ | |
private static ArrayList<String> combs = new ArrayList<String>(); | |
public static void setCombs(String initial) { |
import java.util.Set; | |
import java.util.HashMap; | |
import java.util.HashSet; | |
import java.util.TreeSet; | |
import java.util.ArrayList; | |
public class Problem7_5 { | |
static HashMap<Character, String> map; | |
private static void prepareDictionary() { |