View gist:5fadf620200d7356a191
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
[{ | |
"name": "ソフマップ.com|ネット通販 オンラインショップ パソコンPC/ゲーム/ソフト/家電など", | |
"biko": "ソフマップ", | |
"url": "http://www.sofmap.com/", | |
"support": true | |
}, | |
{ | |
"name": "Google ショッピング", | |
"biko": "グーグルショッピング", | |
"url": "http://www.google.co.jp/shopping?hl=ja", |
View gist:36f4ea1a205e7f5709ce
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
@Controller | |
@RequestMapping(value = "/xxxApi/") | |
public class XxxController extends BaseController { | |
@RequestMapping(value = "list", method = { RequestMethod.GET }) | |
@ResponseBody | |
// 追加要望サイトの一覧を取得するAPI | |
public ResponseEntity<String> list(HttpServletRequest request, Model model) { | |
AddSiteInfoMeta e = AddSiteInfoMeta.get(); | |
// データストアから一覧を取得 |
View Gruntfile.js
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
uglify: { | |
options: { | |
sourceMap: function(name) { return name.replace(/.js/,".map");} | |
}, | |
build: { | |
files: [ | |
{ | |
expand: true, | |
src: ['**/*.js'], | |
dest: '../build/', |
View file0.txt
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
#一つ前のコミットから差分ファイルの一覧を抽出する場合 | |
$diff = "HEAD~1" | |
#日本語ファイル名の文字化けを防ぐため一時的にコンソールをutf-8に変更 | |
$enc = [console]::OutputEncoding; | |
[console]::OutputEncoding = [text.encoding]::utf8 | |
$targets = invoke-expression "git diff --name-only $diff | % -begin {`$script:a = `"`";} -proc {`$script:a += `"'`" + `$_ + `"' `" } -end {`$script:a}"; | |
[console]::OutputEncoding = $enc; | |
#ファイルの圧縮を実行 | |
invoke-expression "``7z a update_files.zip $targets" |
View file0.txt
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
git stash save -u |
View gist:2769545
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
test |