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
$ PROMPT="人の金で焼き肉が食べたい!! " |
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
$ wget https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-amd64.tgz | |
$ tar xvf cloudflared-stable-linux-amd64.tgz | |
$ sudo mv ./cloudflared /usr/bin/ |
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
curl -Ss https://qiita.com/onokatio/feed.atom|grep -e "<title>" -e "<url>" |sed -e 's/^[0-9]*: *//'|sed -E 's/<url>/(/'|sed -E 's/<\/url>/)/'|sed -E 's/<title>/[/'|sed -E 's/<\/title>/]/'|tr -d '\n'|sed -e 's/)/)\n/g' |
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
$ curl -Ss http://umeda.koth.seccon/login|tr '<>' '\n\n' > a ; rg "csrf_name" a|sed -E 's/.*(name=)(.*)(value)/\1/'|sed -E 's/name=="//'|sed -E 's/"//' > csrf_name ; rg "csrf_value" a|sed -E 's/.*(name=)(.*)(value)/\1/'|sed -E 's/name=="//'|sed -E 's/"//' > csrf_value ; curl -Ss -X POST -d "csrf_name=$(cat csrf_name)&csrf_value=$(cat csrf_value)&name=test&password=test" http://umeda.koth.seccon/register -i | |
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 clone --bare https://github.com/hoge/hoge |
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
eclair { | |
bitcoind { | |
rpcuser = "myuser" | |
rpcpassword = "12345678" | |
rpcport = 9402 | |
zmq = "tcp://127.0.0.1:30000" | |
} | |
server { | |
port = 9735 | |
} |
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
p1="0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6" | |
p2=$(for i in `seq 1 2 129`;do echo $p1|cut -c$i-$((i+1));done|while read B;do printf "\x$B";done|sha256sum|cut -c-64) | |
p3=$(openssl rmd160 <(for i in `seq 1 2 63`;do echo $p2|cut -c$i-$((i+1));done|while read B;do printf "\x$B";done)|awk '{print $2}') | |
p4=$(echo 00$p3) | |
p5=$(for i in `seq 1 2 41`;do echo $p4|cut -c$i-$((i+1));done|while read B;do printf "\x$B";done|sha256sum|cut -c-64) |
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
pragma solidity ^0.4.19; | |
contract MyStringTest { | |
function strConnect() public constant returns(string){ | |
string memory str1 = "abc"; | |
string memory str2 = "def"; | |
bytes memory strbyte1 = bytes(str1); | |
bytes memory strbyte2 = bytes(str2); |
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
使用法: localedef [OPTION...] NAME | |
または: localedef [OPTION...] | |
[--add-to-archive|--delete-from-archive] FILE... | |
または: localedef [OPTION...] --list-archive [FILE] | |
ロケール仕様をコンパイルする | |
入力ファイル: | |
-f, --charmap=FILE シンボル文字名は FILE | |
内で定義されています | |
-i, --inputfile=FILE FILE 内でソース定義が見つかりました |
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
wfLoadExtension( 'VisualEditor' ); | |
$wgDefaultUserOptions['visualeditor-enable'] = 1; | |
$wgDefaultUserOptions['visualeditor-editor'] = "visualeditor"; | |
$wgHiddenPrefs[] = 'visualeditor-enable'; | |
$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1; | |
$wgVisualEditorAvailableNamespaces = [ | |
NS_MAIN => true, | |
NS_USER => true, | |
102 => true, | |
"_merge_strategy" => "array_plus" |