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 sbt._ | |
import Keys._ | |
import PlayProject._ | |
object ApplicationBuild extends Build { | |
val appName = "todolist" | |
val appVersion = "1.0-SNAPSHOT" | |
val appDependencies = Seq( |
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
<?php | |
chdir(dirname(__FILE__)); | |
// Clean argument values | |
$phpStormRunner = null; | |
$cleanedArgv = array(); | |
foreach ($_SERVER['argv'] as $key => $value) { | |
if (strpos($value, 'ide-phpunit.php') === false) { | |
$cleanedArgv[] = $value; |
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
function remove_duplicate_path(){ | |
eval "export PATH=$(perl -e ' #\ | |
my $e = shift; #\ | |
for(split q/:/, $ENV{"PATH"}){ #\ | |
if("$_" ne "" && -e "$_"){ #\ | |
$n{$_} or $n{$_} = ++$i; #\ | |
} $\ | |
} #\ | |
$, = q/:/; #\ | |
%n = reverse %n; #\ |
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
[merge] | |
tool = intellij | |
[mergetool "intellij"] | |
cmd = /Applications/IntelliJ\\ IDEA\\ 13.app/Contents/MacOS/idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED") | |
trustExitCode = true | |
[diff] | |
tool = intellij | |
[difftool "intellij"] | |
cmd = /Applications/IntelliJ\\ IDEA\\ 13.app/Contents/MacOS/idea diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") |
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
!"#$%&'()*+,-./ | |
0123456789 | |
:;<=>? | |
ABCDEFGHIJKLMNOPQRSTUVWXYZ | |
[\]^_` | |
abcdefghijklmnopqrstuvwxyz | |
{|}~。「」 | |
、・ヲァィゥェォャュョッ | |
ーアイウエオカキクケコサシスセソ | |
タチツテトナニヌネノハヒフヘホマ |
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/sh | |
if [ "$1" == "" ]; then | |
echo "USAGE: $0 search_arg [search_arg]..." | |
exit 1 | |
fi | |
CMD="grep -R -l \"$1\" *" | |
shift | |
while [ "$1" != "" ] | |
do | |
CMD="$CMD | xargs grep -l \"$1\"" |
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
# first が nil の場合 id が method が見つからないエラーになる | |
User.where(age: 20).first.id |
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
<?php | |
class TasteCake { | |
function TasteCake() { | |
$this->__initConstants(); | |
$this->__bootstrap(); | |
App::uses('ClassRegistry', 'Utility'); | |
App::uses('Dispatcher', 'Routing'); | |
App::uses('Router', 'Routing'); |
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
# from http://law.e-gov.go.jp/htmldata/S21/S21KE000.html | |
2016/03/07 12:15:23 | |
NIPPONKOKUKEMPO | |
( SHOWA FUTA TOICHI NEN> JUICHIGATSU MIKA KEMPO ) | |
NIHONKOKUMIN HA, SEITO NI SENKYO SARETA KOKKAI NIOKERU DAIHYOSHA O TSUJI TE KODO SHI,WARERATOWARERANO SHISON NOTAMENI, SHOKOKUMIN TONO KYOWA NIYORU SEIKA TO, WAGAKUNI ZENDO NIWATATSUTE JIYU> NOMOTARASU KEITAKU O KAKUHO SHI, SEIFU NO YU TAMENI YOTSUTE FUTATABI SENSO NO SANKA GA OKO RUKOTONONAIYAUNISURUKOTO KETSUI SHI,KOKONI SHUKEN GA KUNITAMI NI NAGA SURUKOTO SENGEN SHI,KONO KEMPO O KAKUTEI SURU.SOMOSOMO KUNIMASA HA, KUNITAMI NO GENSHUKU NA SHINTAKU NIYORUMONODEATSUTE,SONO KENI HA KUNITAMI NI YURAI SHI,SONO KENRYOKU HA KUNITAMI NO DAIHYOSHA GAKOREO KOSHI SHI,SONO FUKURI HA KUNITAMI GAKOREO KYOJU SURU.KOREHA JINRUIFUHEN NO GENRI DEARI,KONO KEMPO HA,KAKARU GENRI NI MOTO KUMONODEARU.WARERAHA,KORENI HON SURU HITOKI NO KEMPO , HOREI OYOBI SHOCHOKU O HAIJO SURU. | |
NIHONKOKUMIN HA, KOKYU NO HEIWA O NENGAN SHI, JINKAN SOGO NO KANKEI O SHIHAI SURU SUKO NA RISO O MI KU JIKAK |
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
#Requires AutoHotkey v2.0 | |
;----------------------------------------------------------- | |
; 設定内容 | |
; | |
; Ctrl-u IME OFF | |
; | |
; F20 + ` Escape | |
; F20 + 1 F1 | |
; F20 + 2 F2 | |
; F20 + 3 F3 |
OlderNewer