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/', |
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" |
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 |
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 |
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", |
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(); | |
// データストアから一覧を取得 |