Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
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 org.vertx.groovy.core.Vertx | |
class BootStrap { | |
def init = { servletContext -> | |
def vertx = Vertx.newVertx() | |
def httpServer = vertx.createHttpServer() | |
vertx.createSockJSServer(httpServer).installApp(prefix: '/events') { sock -> | |
sock.dataHandler { buff -> | |
sock << buff |
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
192.168.1.x jira.ofis.sirket.com | |
192.168.1.x bamboo.ofis.sirket.com |
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
public class XintApp2 { | |
public static void main(String[] args) { | |
//optimizer'ı ısıtmak için | |
for (int j = 0; j < 4; j++) { | |
fun(); | |
} | |
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 util.Random | |
val xs = List("a","b","c","d") | |
val ys = 1 to 13 | |
//her xs in her ys ni al ve birleştir ve 52 elemanlık desteyi oluştur | |
val deck = for(x <-xs; y<-ys ) yield x+y | |
//Sirasiyla: | |
//1- desteyi rastgele dağıtalım | |
//2- 13'lü gruplara bölelim |
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 util.Random._ | |
//Rastgele 1000 adet plaka data'nin türü List "benzeri" | |
val n = 1000 | |
val data = (1 to n) map (_ => nextInt(100) ) | |
// ilk bolum (ilk parantezi için) aynı sayıları guruplara boluyor ve | |
// Map[Int,List[Int]] türünde bir değer(value) oluşturuyor | |
// ikinci bölüm, groupBy'ın çıktısını Map[Int,Int] türüne çeviriyor (key'ler plaka, value'lar ise miktar) | |
// identity yerine { x => x} de yazabilirdik |
- Python - https://www.facebook.com/groups/PythonTurkiye/
- Scala - https://www.facebook.com/groups/ScalaTr
- Veribilimi - https://www.facebook.com/groups/veribilimiistanbul
- NodeJS - https://www.facebook.com/groups/nodejstr/
- Girişimcilik - https://www.facebook.com/groups/startupistanbul/
- Golang - https://www.facebook.com/groups/GolangTurkiye/
- Java - https://www.facebook.com/groups/istanbuljug/
- Frontenddev - https://www.facebook.com/groups/fedturkey/
I hereby claim:
- I am sumnulu on github.
- I am sumnulu (https://keybase.io/sumnulu) on keybase.
- I have a public key ASDmNAjHXfqLJ1m99r-9ro5g3hXQ6XmJ41q8SCJ5GZasbQo
To claim this, I am signing this object:
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
#!/bin/bash | |
aws sts get-session-token --output text | awk '{printf("export AWS_ACCESS_KEY_ID=\"%s\"\nexport AWS_SECRET_ACCESS_KEY=\"%s\"\nexport AWS_SESSION_TOKEN=\"%s\"\n",$2,$4,$5)}' |
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
1 attaaaggtt tataccttcc caggtaacaa accaaccaac tttcgatctc ttgtagatct | |
61 gttctctaaa cgaactttaa aatctgtgtg gctgtcactc ggctgcatgc ttagtgcact | |
121 cacgcagtat aattaataac taattactgt cgttgacagg acacgagtaa ctcgtctatc | |
181 ttctgcaggc tgcttacggt ttcgtccgtg ttgcagccga tcatcagcac atctaggttt | |
241 cgtccgggtg tgaccgaaag gtaagatgga gagccttgtc cctggtttca acgagaaaac | |
301 acacgtccaa ctcagtttgc ctgttttaca ggttcgcgac gtgctcgtac gtggctttgg | |
361 agactccgtg gaggaggtct tatcagaggc acgtcaacat cttaaagatg gcacttgtgg | |
421 cttagtagaa gttgaaaaag gcgttttgcc tcaacttgaa cagccctatg tgttcatcaa | |
481 acgttcggat gctcgaactg cacctcatgg tcatgttatg gttgagctgg tagcagaact | |
541 cgaaggcatt cagtacggtc gtagtggtga gacacttggt gtccttgtcc ctcatgtggg |