This file contains 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
javascript:$('.team-member-list ul li a').each(function(i,v){ $(v).attr('title', $(v).attr('href').substr(1)) }); |
This file contains 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
北海道 | |
青森県 | |
岩手県 | |
宮城県 | |
秋田県 | |
山形県 | |
福島県 | |
茨城県 | |
栃木県 | |
群馬県 |
This file contains 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
@Grab('org.twitter4j:twitter4j-core:4.0.2') | |
import twitter4j.TwitterFactory | |
def show(blockingUsers) { | |
blockingUsers.each { | |
println "${it.id}\t${it.screenName}\t${it.name}" | |
} | |
} | |
def tw = TwitterFactory.singleton |
This file contains 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
// Groovy Version: 2.2.1 JVM: 1.8.0_20 Vendor: Oracle Corporation OS: Mac OS X | |
@Grapes([ | |
@Grab('org.seleniumhq.selenium:selenium-support:2.41.0'), | |
@Grab('org.seleniumhq.selenium:selenium-htmlunit-driver:2.41.0'), | |
@Grab('org.gebish:geb-core:0.9.2') | |
]) | |
import geb.Browser | |
def sites = [] |
This file contains 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
Hibernate: | |
update | |
t_user | |
set | |
name=?, | |
version=? | |
where | |
id=? | |
and version=? |
This file contains 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
create table a (id serial, name text); |
This file contains 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
copy table_name from '/absolute_path/to/data.tsv'; |
This file contains 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
@Grab('com.google.code.gson:gson:2.3') | |
import com.google.gson.Gson | |
import java.util.zip.Deflater | |
def map = [:] | |
(1000001..1000050).each { | |
map[it] = it | |
} |
This file contains 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
psql -d db_name |
This file contains 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
mvn dependency:get -Dartifact=org.jsoup:jsoup:1.7.3 |
OlderNewer