🏠
Working from home
Pinned Loading
-
never-lose
never-lose PublicThis Chrome extension save all web pages you viewed to the Wayback Machine
JavaScript 13
-
identify.js
identify.js 1function *$combine(...seq) {
2for (let i = 1; i <= seq.length; i++) {
3for (let j = 0; j <= seq.length - i; j++) {
4yield seq.slice(j, j + i)
5}
-
lex.js
lex.js 1lexems = {
2// keyword: /^(break|case|catch|continue|debugger|default|delete|do|else|finally|for|function|if|in|instanceof|new|return|switch|this|throw|try|typeof|var|void|while|with)/,
3literal: /^[a-z]\w*/,
4number: /^\d+(\.\d+)?/,
5space: /^\s+/,
-
swap.sh
swap.sh 1FILENAME=/tmp/swap-$(date +%s)
2dd if=/dev/zero of=${FILENAME} bs=1M count=$1
3mkswap ${FILENAME}
4chmod 600 ${FILENAME}
5swapon ${FILENAME}
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.