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
| 0 = 0 0 160 160 | |
| 1 = 163 0 160 160 | |
| 10 = 326 0 160 160 | |
| 11 = 0 163 160 160 | |
| 12 = 163 163 160 160 | |
| 13 = 0 326 160 160 | |
| 14 = 163 326 160 160 | |
| 15 = 326 163 160 160 | |
| 16 = 326 326 160 160 | |
| 17 = 489 0 160 160 |
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
| <?php var_dump(array_rand(array_flip(["与七","ゆーみー","むなし","天一","麦笑", "長次郎"]))); |
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/env zsh | |
| cat << 'EOT' > $HOME/.zshenv | |
| export XDG_CACHE_HOME="$HOME/.cache" | |
| export XDG_CONFIG_HOME="$HOME/.config" | |
| export XDG_DATA_HOME="$HOME/.local/share" | |
| export ZDOTDIR="$XDG_CONFIG_HOME/zsh" | |
| EOT | |
| . $HOME/.zshenv |
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
| unbind C-p | |
| set-option -g default-shell /bin/zsh | |
| # キーストロークのディレイを減らす | |
| set -sg escape-time 1 | |
| # | でペインを縦に分割する | |
| bind | split-window -h |
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
| // ==UserScript== | |
| // @name Test | |
| // @namespace https://github.com/musou1500/ | |
| // @description テスト | |
| // @match *://www.nicovideo.jp/* | |
| // @match *://ext.nicovideo.jp/ | |
| // @match *://ext.nicovideo.jp/#* | |
| // @match *://blog.nicovideo.jp/* | |
| // @match *://ch.nicovideo.jp/* | |
| // @match *://com.nicovideo.jp/* |
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
| sudo apt-get install \ | |
| libxml2 \ | |
| libxml2-dev \ | |
| libssl-dev \ | |
| pkg-config \ | |
| curl \ | |
| libcurl4-nss-dev \ | |
| enchant \ | |
| libenchant-dev \ | |
| libjpeg8 \ |
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
| DEVPATH=="/devices/platform/i8042/serio1/serio2", ATTR{sensitivity}="220", ATTR{speed}="200" |
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 crypto = require('crypto'); | |
| const cheerio = require('cheerio'); | |
| const fetch = require('node-fetch'); | |
| const FormData = require('form-data'); | |
| function fetchUntilMatch(postInterval = 500) { | |
| const input = crypto.randomBytes(8).toString('hex'); | |
| fetchResult(input) | |
| .then(result => { | |
| console.log(`${input} => ${result}`); |
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 readline = require('readline'); | |
| const rl = readline.createInterface({ | |
| input: process.stdin, | |
| output: process.stdout | |
| }); | |
| rl.on('line', (input) => { | |
| const findFirstUnregisteredIndex = (input, dict) => | |
| input |
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 parseQueryString = (queryString) => { | |
| const params = {}; | |
| queryString | |
| .split('&') | |
| .forEach((str) => { | |
| const [k, v] = str.split('='); | |
| params[k] = decodeURIComponent(v); | |
| }); | |
| return params; |
OlderNewer