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
# coding:utf-8 | |
require 'selenium-webdriver' | |
require 'rspec' | |
include RSpec::Expectations | |
describe "GithubのIssue保存" do | |
before(:each) do | |
@verification_errors = [] | |
@driver = Selenium::WebDriver.for :chrome |
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
#!/bin/bash | |
export debug=false | |
export extension=pdf | |
export username=${Set a username} | |
export password=${Set a password} | |
export url=${PDF page url} | |
export output=/Users/yourname/Downloads | |
export number=3 |
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
1st: cURL file_get_contents | |
----------------------------------------- | |
1.0124351978302sec 1.0169038772583sec | |
0.90987610816956sec 1.0693500041962sec | |
0.89837217330933sec 1.0413548946381sec | |
0.90827202796936sec 0.99870181083679sec | |
0.91177892684937sec 1.1312601566315sec | |
0.84878087043762sec 1.0564041137695sec | |
0.88983201980591sec 1.0654909610748sec | |
0.81813597679138sec 1.0291340351105sec |
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
array=( | |
array01 | |
array02 | |
) | |
for entity in ${array[@]}; do | |
echo "${entity}" | |
done | |
# 実行結果 |
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
# SonarQubeを以下に解凍 | |
C:\sonarqube | |
# SonarQube実行 | |
C:\sonarqube\bin\windows-x86-64\StartSonar.bat |
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
C:\Program Files (x86)\Jenkins\jobs\GetPageInfo\workspace>rspec C:\Selenium\get_page_info.rb | |
Started ChromeDriver | |
port=9515 | |
version=22.0.1203.0b | |
log=C:\Program Files (x86)\Jenkins\jobs\GetPageInfo\workspace\chromedriver.log | |
[1029/122515:ERROR:proxy_launcher.cc(551)] Failed to wait for testing channel presence. | |
d:\src\chr0\src\chrome\test\automation\proxy_launcher.cc(478): error: Value of: automation_proxy_.get() | |
Actual: false | |
Expected: true</pre> | |
An error occurred in an after hook |
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
pandoc -S --epub-metadata=metadata.xml -o sample.epub 01.md 02.md |
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
gem install gimli |
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
# MarkdownからHTMLへの変換 | |
pandoc -s Sample.md -o Sample.html |
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
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation' |
OlderNewer