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
Sub SelectionSamp() | |
Set rg = Selection | |
For Each e In rg | |
MsgBox e.Text | |
Next | |
End Sub |
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
$("#table_result").empty(); | |
result = eval(result); | |
// ヘッダ | |
$("#table_result").append("<tr id=\"header\""); | |
for (var i in result[0]) { | |
$("#header").append("<th>" + i + "</th>"); | |
} | |
// データ | |
for (var i in result) { |
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 sample ( | |
id INT NOT NULL GENERATED ALWAYS AS IDENTITY, | |
val VARCHAR(10) | |
); |
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
domain = 'hoge.co.jp' | |
hostname = 'your_hostname' | |
username = 'your_username' | |
password = 'your_password' | |
remote_prompt = "$" | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
COM = '#hostname.#domain:/ssh /auth=password /user=#user /passwd=#password ' |
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
<dependency> | |
<groupId>commons-collections</groupId> | |
<artifactId>commons-collections</artifactId> | |
<version>3.2.1</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-io</groupId> | |
<artifactId>commons-io</artifactId> | |
<version>2.4</version> | |
</dependency> |
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
// 'twitter4j.properties' must specify on classpath | |
@Grab('org.twitter4j:twitter4j-core:4.0.1') | |
import twitter4j.Twitter | |
import twitter4j.TwitterFactory | |
import java.io.BufferedReader | |
import java.io.InputStreamReader | |
import java.io.IOException |
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 = [] |
OlderNewer