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
package main | |
import ( | |
"bytes" | |
"context" | |
"fmt" | |
"image" | |
"image/color" | |
"image/draw" | |
"image/png" |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
+++ | |
date = "2015-05-14T20:50:06+09:00" | |
draft = true | |
slug = "lorem-ipsum-test" | |
tags = ["lorem", "ipsum"] | |
title = "lorem-ipsum" | |
+++ | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
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
[root@a59c35ad939a /]# yum install epel-release | |
Loaded plugins: fastestmirror | |
Setting up Install Process | |
Loading mirror speeds from cached hostfile | |
* base: ftp.riken.jp | |
* extras: ftp.riken.jp | |
* rpmforge: ftp.riken.jp | |
* updates: ftp.riken.jp | |
Resolving Dependencies | |
--> Running transaction check |
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
priority = []string{ | |
"aufs", | |
"btrfs", | |
"zfs", | |
"devicemapper", | |
"overlay", | |
"vfs", | |
} |
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
priority = []string{ | |
"aufs", | |
"btrfs", | |
"devicemapper", | |
"overlay", | |
"vfs", | |
} |
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
func New(root string, options []string) (driver Driver, err error) { | |
for _, name := range []string{os.Getenv("DOCKER_DRIVER"), DefaultDriver} { | |
if name != "" { | |
return GetDriver(name, root, options) | |
} | |
} | |
// Check for priority drivers first | |
for _, name := range priority { | |
driver, err = GetDriver(name, root, options) |
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 | |
rm -rf public/post/* | |
hugo -t angels-ladder | |
cd public | |
git add -A | |
git commit -m "Update public files" |
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
/* | |
* Your Stylesheet | |
* | |
* This stylesheet is loaded when Atom starts up and is reloaded automatically | |
* when it is changed. | |
* | |
* If you are unfamiliar with LESS, you can read more about it here: | |
* http://www.lesscss.org | |
*/ |