- Create or find a gist that you own.
- Clone your gist (replace
<hash>with your gist's hash):# with ssh git clone git@gist.github.com:<hash>.git mygist # with https
git clone https://gist.github.com/.git mygist
<hash> with your gist's hash):
# with ssh
git clone git@gist.github.com:<hash>.git mygist
# with httpsgit clone https://gist.github.com/.git mygist
| # Add the "https://github.com/jwt/ruby-jwt" gem to your "Gemfile" | |
| gem 'jwt' |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
Update: https://www.cyanhall.com/posts/notes/7.homebrew-cheatsheet/#java
on El Capitan, after installing the brew...
$ brew update
$ brew tap caskroom/cask
$ brew install Caskroom/cask/java
And Java 8 will be installed at /Library/Java/JavaVirtualMachines/jdk1.8.xxx.jdk/
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <title>Javaによる開発の流れ</title> | |
| <script type="text/template" id="content1"> | |
| <!--================================================================== | |
| ↓ここからmarkdownを記述します | |
| ====================================================================--> | |
| # Javaによる開発の流れ |
| class TextFilePager | |
| DEFAULT_BATCH_SIZE = 1000 | |
| def initialize(file_path, skip_header: false, delete_line_break: false) | |
| @file_path = file_path | |
| @skip_header = skip_header | |
| @delete_line_break = delete_line_break | |
| end | |
| def batch_line(batch_size: DEFAULT_BATCH_SIZE) |
| <!doctype html> | |
| <html ng-app="Demo"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title> | |
| Creating A Simple Modal System In AngularJS | |
| </title> | |
| <link rel="stylesheet" type="text/css" href="./demo.css"></link> |
To remove a submodule you need to:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8" /> | |
| <script src="templating.js" type="text/javascript" charset="utf-8"></script> | |
| </head> | |
| <body> | |
| <template id=t> |