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
| @-moz-document url-prefix("https://manage.conoha.jp/") { | |
| .header, | |
| .side { | |
| background: rgba(255, 255, 255, 0.4) !important; | |
| } | |
| .header *, | |
| .side * { | |
| background: transparent !important; | |
| } |
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
| new Promise(async(resolve, reject) => { | |
| let timeoutHendle = setTimeout(() => { | |
| reject(); | |
| }, 5000); | |
| let response: Response = null; | |
| if (init == null) { | |
| response = await fetch(input); | |
| } else { | |
| response = await fetch(input, init); |
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
| using System; | |
| namespace MoheMohe | |
| { | |
| public class PasswordHelper | |
| { | |
| public static string ReadFromStdIn() | |
| { | |
| var password = new System.Text.StringBuilder(); | |
| new Action(() => | |
| { |
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
| #!/bin/zsh | |
| cat ~/.ssh/conf.d/*/*.sshconf >! ~/.ssh/config | |
| grep -ioE 'Host[nN]ame (.*.local)' ~/.ssh/config | uniq | sed 's/\(Host[nN]ame\) \(.*\)/\2/g' | sort | uniq | while read domain | |
| do | |
| check=`arp $domain 2> /dev/null` | |
| if [[ $? = 0 ]]; then | |
| ip=`echo $check | sed 's/.*(\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)).*/\1/'` | |
| regex='s/\(Host[nN]ame\) \('$domain'\)/\1 '$ip'/g' |
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
| /** | |
| * KenkovFuckインタプリターの実装クラス | |
| */ | |
| export default class KenkovFuck { | |
| /** | |
| * もろもろの初期化を行う | |
| * | |
| * @param {string} [src=] ソースコード(ファイルではなく文字列) | |
| * | |
| * @public |
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
| " .vimrcから移植 | |
| " 同時編集に優しい設定 | |
| set fenc=utf-8 | |
| set nobackup | |
| set noswapfile | |
| set autoread | |
| " 行番号表示 | |
| set number |
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
| # | |
| # Executes commands at the start of an interactive session. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <sorin.ionescu@gmail.com> | |
| # | |
| echo initializing zsh... | |
| # Source Prezto. |
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 | |
| mb_internal_encoding('UTF-8'); | |
| $butimiri = 'うおおおおおおおおおおおおあああああああああああああああああああああああああああああああ!!!!!!!!!!! (ブリブリブリブリュリュリュリュリュリュ!!!!!!ブツチチブブブチチチチブリリイリブブブブゥゥゥゥッッッ!!!!!!!)'; | |
| $arg = urldecode(htmlspecialchars($_SERVER['REQUEST_URI'])); | |
| $target = mb_substr(mb_strstr($arg, '?'), 1, mb_strlen($arg) - 1); | |
| if(!empty($target)) { | |
| $reply = '@'.$target; | |
| $reply = mb_ereg_replace('\\+', ' ', $reply); |
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 python | |
| # coding: utf-8 | |
| import signal | |
| import sys | |
| signal.signal(signal.SIGINT, signal.SIG_IGN) | |
| buff = sys.stdin.read().splitlines() | |
| buff.pop(0) |
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/zsh | |
| #### 設定 ここから ################################################################################ | |
| # letsencrypt クライアント | |
| client="/usr/bin/certbot" | |
| # そのままrenewできる(静的|動的)サイト | |
| sites1=( | |
| # domain,/path/to/basedir |