https://gist.github.com/voluntas/a1d39c2b2a4392956ff69732dc493e39
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
| # 原則として開く用語。修正前→修正後 | |
| 敢えて→あえて | |
| 当たって→あたって | |
| 余り→あまり | |
| 予め→あらかじめ | |
| 有り→あり | |
| 或いは→あるいは | |
| 如何→いかが | |
| 幾つか→いくつか | |
| 致し→いたし |
| 日時: | 2016-04-09 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 5.1.1 |
| url: | https://shiguredo.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
| #! /bin/bash | |
| # Description: show dependency tree | |
| # Author: damphat | |
| if [ $# -lt 1 ]; then | |
| echo 'Usage: apt-rdepends-tree [-r] <package>' | |
| echo 'Required packages: apt-rdepends' | |
| exit 1 | |
| fi |
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 a port of CC500 | |
| " http://homepage.ntlworld.com/edmund.grimley-evans/cc500/ | |
| " | |
| "------------------------------------------------------------------------------- | |
| " ORIGINAL HEADER | |
| "------------------------------------------------------------------------------- | |
| " Copyright (C) 2006 Edmund GRIMLEY EVANS <edmundo@rano.org> | |
| " | |
| " This program is free software; you can redistribute it and/or modify | |
| " it under the terms of the GNU General Public License as published by |
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
| import java.time.LocalDateTime; | |
| import java.time.ZoneId; | |
| import java.time.ZonedDateTime; | |
| import java.time.format.DateTimeFormatter; | |
| import java.util.Locale; | |
| public class DateTimeFormatterSample { | |
| public static void main(String[] args) { | |
| String[][] patterns = new String[][]{ | |
| new String[]{"G", "appendText(ChronoField.ERA,"}, |
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の話は好き?」 | |
| 「どうかなあ、でも何度もしてます」 | |
| 「どこでしたの?」 | |
| 「PHPカンファレンスで」 | |
| 「いつもいじめてるの?」 | |
| 「いじめてないですー」 |
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
| alias{ | |
| pcd = function () | |
| local line = nyagos.eval("ls -la") -- nyagos組み込みの`ls` | |
| local complst = split(line, "[\r\n]") | |
| local directories = "" | |
| for i, e in ipairs(complst) do | |
| -- 末尾が'/'ならディレクトリって事で決め打ち | |
| if (e:match('.+/$')) then | |
| -- ls -lの結果が | |
| -- <パーミション> <サイズ> <日付> <時間> <ファイル名 or ディレクトリ名> |
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
| import javax.crypto.SecretKeyFactory; | |
| import javax.crypto.spec.PBEKeySpec; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.security.SecureRandom; | |
| import java.security.spec.InvalidKeySpecException; | |
| import java.util.Base64; | |
| /** | |
| * パスワードハッシュのデモ。 | |
| */ |