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
@echo off | |
setlocal | |
set OUTPUT_DIR=%~dp0 | |
set ARCHIVE_PATH=%~f1 | |
echo 7-zipで書庫ファイル内の任意のファイルを解凍します。 | |
echo 書庫ファイル %ARCHIVE_PATH% | |
echo 解凍ディレクトリ %OUTPUT_DIR% | |
:Main |
javascript:(function(a,b,c,d){d=a.open('http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk='+c(b.location)+'&title='+c(b.title),'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=420px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300)})(window,document,encodeURIComponent);
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
/** | |
* Unicode文字列をunescape | |
*/ | |
var unescapeUnicode = function(str) { | |
return str.replace(/\\u([a-fA-F0-9]{4})/g, function(matchedString, group1) { | |
return String.fromCharCode(parseInt(group1, 16)); | |
}); | |
}; | |
unescapeUnicode('\u005baA\u0020\u3042\u4e9c\u005d\u005c'); // [aA あ亜]\ |
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
> diskpart | |
> list disk | |
#list partition | |
#list volume | |
> select disk 1 | |
> uniqueid disk | |
> select disk 2 | |
> uniqueid disk | |
> uniqueid disk id=<8桁の16進数> |
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
/* | |
http://stackoverflow.com/questions/6449367/c-sharp-email-address-validation | |
*/ | |
using System; | |
using System.ComponentModel.DataAnnotations; | |
using System.Text.RegularExpressions; | |
namespace ValidationHelpers | |
{ | |
[AttributeUsage( AttributeTargets.Property | AttributeTargets.Field , AllowMultiple = false )] |
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
/* | |
仕様 | |
テンプレートを読み込み下記の処理を行う | |
[% code %] :コードの実行 | |
[%= context.**** ] :変数代入 | |
<% %> | |
<%= %> | |
[% と %] を文字列として扱う場合は\でエスケープする。 | |
ex) [\% と \%] |
NewerOlder