日時: | 2016-04-09 |
---|---|
作: | 時雨堂 |
バージョン: | 5.1.1 |
url: | https://shiguredo.jp/ |
#! /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 is a port of CC500 | |
" http://homepage.ntlworld.com/edmund.grimley-evans/cc500/ | |
" | |
"------------------------------------------------------------------------------- | |
" ORIGINAL HEADER | |
"------------------------------------------------------------------------------- | |
" Copyright (C) 2006 Edmund GRIMLEY EVANS <[email protected]> | |
" | |
" 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 |
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,"}, |
「名前は?」 | |
「とくまる」 | |
「へぇ、かわいいね」 | |
「(笑)」 | |
「PHPの話は好き?」 | |
「どうかなあ、でも何度もしてます」 | |
「どこでしたの?」 | |
「PHPカンファレンスで」 | |
「いつもいじめてるの?」 | |
「いじめてないですー」 |
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 ディレクトリ名> |
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; | |
/** | |
* パスワードハッシュのデモ。 | |
*/ |
作: | @voluntas |
---|---|
バージョン: | 1.0.5 |
url: | http://voluntas.github.io/ |
2014 年 9 月 26 日に行われた gumistudy#20 の発表資料です
Spurred by recent events (https://news.ycombinator.com/item?id=8244700), this is a quick set of jotted-down thoughts about the state of "Semantic" Versioning, and why we should be fighting the good fight against it.
For a long time in the history of software, version numbers indicated the relative progress and change in a given piece of software. A major release (1.x.x) was major, a minor release (x.1.x) was minor, and a patch release was just a small patch. You could evaluate a given piece of software by name + version, and get a feeling for how far away version 2.0.1 was from version 2.8.0.
But Semantic Versioning (henceforth, SemVer), as specified at http://semver.org/, changes this to prioritize a mechanistic understanding of a codebase over a human one. Any "breaking" change to the software must be accompanied with a new major version number. It's alright for robots, but bad for us.
SemVer tries to compress a huge amount of information — the nature of the change, the percentage of users that wil