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
<?xml version="1.0" encoding="UTF-8"?> | |
<checkstyle-configurations file-format-version="5.0.0" default-check-configuration="Sun Checks"> | |
<check-configuration name="sa-checkstyle" location="https://raw.githubusercontent.com/ko2ic/java-config/master/sa-checkstyle-5.6-utf8.xml" type="remote" description=""> | |
<additional-data name="cache-file" value="false"/> | |
</check-configuration> | |
</checkstyle-configurations> |
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
qiita_user: user_name | |
qiita_display_count: 5 | |
default_asides:[custom/asides/qiita.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
public class EclipseJavaMerger { | |
private final JMerger merger = new JMerger(buildMergeRule()); | |
public String merge(String source, String target) { | |
try { | |
if (target == null) { | |
return source; | |
} | |
merger.setSourceCompilationUnit(merger.createCompilationUnitForContents(source)); |
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
powershell Set-ExecutionPolicy RemoteSigned | |
powershell iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
powershell Set-ExecutionPolicy Restricted | |
set PATH=%PATH%;C:\Chocolatey\bin; | |
call cinst .\packages.config | |
pause |
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
<properties> | |
<root.basedir>${project.parent.basedir}</root.basedir> | |
</properties> | |
<profiles> | |
<profile> | |
<id>conf</id> | |
<build> | |
<plugins> |
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
def response = prev.getResponseDataAsString() | |
def isLoggedin = false | |
if(response.contains("ログインしています")){ | |
isLoggedin = true | |
} | |
vars.put('script.isLoggedin', isLoggedin.toString()) |
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
def assertResults = prev.assertionResults; | |
def response = prev.responseDataAsString | |
def statusCode = prev.responseCode | |
def postBody | |
if(response.contains('ERROR') || assertResults.any{it.isFailure()} || statusCode != '200') { | |
postBody = ['body':'Error !'] | |
}else { | |
postBody = ['body':'Success !'] |
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
function gi() { curl https://www.gitignore.io/api/$@ ;} | |
function rails_new(){ | |
while read -p "Please enter project name: " railsName ; do | |
if [ -n "$railsName" ] ; then | |
break | |
fi | |
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
for i in `git branch -r | grep -v HEAD | grep -v master | sed 's:origin/::g'` | |
do | |
git checkout --track -b $i origin/$i | |
done | |
git checkout master |
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/sh | |
archtectureStr=`lipo -info $1 | awk '$0 = substr($0, index($0, "are: ") + 5)'` | |
archtectures=(`echo $archtectureStr`) | |
tempFileStr="" | |
for i in `seq 1 ${#archtectures[@]}` | |
do |
OlderNewer