$ aws rds describe-db-snapshots --snapshot-type automated | jq '.DBSnapshots | sort_by(.SnapshotCreateTime) | reverse | .[0]'
{
"Engine": "mysql",
"SnapshotCreateTime": "2016-09-25T18:46:55.366Z",
"AvailabilityZone": "ap-northeast-1a",
"PercentProgress": 100,
"MasterUsername": "root",
This file contains 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
package main | |
import ( | |
"fmt" | |
"gopkg.in/alecthomas/kingpin.v2" | |
) | |
var ( | |
verbose = kingpin.Flag("verbose", "Enable verbose mode.").Short('v').Counter() |
- xmlとparser-combinatorが別のjarになった http://d.hatena.ne.jp/xuwei/20130726/1374809559
- case classやメソッドの22制限がなくなった scala/scala#2305
- 「value classのvalがpublicでないといけない」という制限がなくなった scala/scala#2965 scala/scala#3113
- Java8のようなSingle Abstract Methodの糖衣構文を(experimantalだが)サポート scala/scala#3037
- パターンマッチの際に使われる
unapply
の戻り値型が、Option
ではなく「isEmpty: Boolean
とget: A
をもっていればどんな型でもよい」と、制限が緩くなった - http://d.hatena.ne.jp/xuwei/20131005/1380887673
- scala/scala#2848
scala.util.contrll.TailCalls.TailRec
にflatMap
が追加された scala/scala#2865- view boundが非推奨になった scala/scala#2909
- リフレクションが
スレッドセーフになった(またバグが見つかったらしい) scala/scala#3029
This file contains 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
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
) | |
func Handler(w http.ResponseWriter, req *http.Request) { |
This file contains 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
package main | |
/* | |
#include <EXTERN.h> | |
#include <perl.h> | |
#include <stdio.h> | |
void init_perl() { | |
// PerlのCランタイムの初期化(全体で1回) | |
int argc = 0; |
This file contains 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
#include <stdio.h> | |
#include <string.h> | |
#include <netdb.h> | |
#include <arpa/inet.h> | |
#include <errno.h> | |
int main(int argc, char **argv) | |
{ | |
struct addrinfo hints, *ai, *ai_p; | |
const char *name; |
NewerOlder