https://github.com/takeokunn/awesome-yasunori のREAME.mdをパースして出力。
パース結果のすべてを出力する。
$ ./YasunoriSay.ps1 -All
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
<# | |
.SYNOPSIS | |
DLL 内の Class および Enum メンバーを列挙する | |
.DESCRIPTION | |
対象DLLを読み込み、Class や Enum メンバーと、 | |
その属性(`System.ComponentModel.DescriptionAttribute`)値を列挙します。 | |
.PARAMETER Path | |
対象DLLファイル |
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
# | |
# Generate Certificates for MySQL | |
# | |
DIGEST := sha512 | |
KEY_LEN := 2048 | |
EXPIRE := 90 | |
CA_KEY := ca-key.pem | |
CA_CERT := ca.pem | |
CA_SUBJECT := "/CN=MySQL CA" |
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
#!/usr/bin/sed -f | |
# SUID, GUID, Sticky-bit | |
s/^\(.\)\(..[sS]..[sS]..[tT]\)/\17\2/; t perm | |
s/^\(.\)\(..[sS]..[sS]..[^tT]\)/\16\2/; t perm | |
s/^\(.\)\(..[sS].\{5\}[tT]\)/\15\2/; t perm | |
s/^\(.\)\(..[sS][^sStT]\{6\}\)/\14\2/; t perm | |
s/^\(.\)\([^sS]\{5\}[sS]..[tT]\)/\13\2/; t perm | |
s/^\(.\)\([^sS]\{5\}[sS][^tT]\{3\}\)/\12\2/; t perm | |
s/^\(.\)\([^sS]\{8\}[tT]\)/\11\2/; t perm |
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
const iter = (function(){ | |
// 元のGenerator.prototype | |
const GeneratorProto = ({*g(){}}).g().constructor.prototype; | |
// 拡張してmap,filterを付与したprototype | |
const ExtendedGeneratorProto = Object.setPrototypeOf({ | |
map (func, thisArg = null) { | |
const iterable = this; | |
return Object.setPrototypeOf(function*() { | |
var i = 0; | |
for (const item of iterable) { |
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
## this is sample | |
COMMANDS: | |
- | | |
id | |
uname -n | |
date | |
- cat /path/to/file | |
ADMIN: true |
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
{ | |
"CustomFilter": { | |
"ls-l": { | |
"Cmd": "perl", | |
"Args": ["/Users/teramako/bin/ls-l-filter.pl", "$QUERY"], | |
"BufferThreshold": 100 | |
} | |
} | |
} |
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
/* Usage | |
function * gene() { | |
console.log("iter"); | |
yield 1; | |
console.log("iter"); | |
yield 2; | |
console.log("iter"); | |
yield 3; | |
} | |
var result = gene |
NewerOlder