停止している container の削除:
$ docker rm `docker ps -a -q`
REPOSITORY 名が <none>
になっている image 削除:
$ docker rmi $(docker images | awk '/^/ { print $3 }')
<script="" type="text/javascript"> | |
function display_coderwall(args) { | |
var badges = args["data"]["badges"]; | |
for ( var i = 0; i < badges.length; i++ ) { | |
document.write('<img '"="" +="" badge"]="" height="48" src="'+ badges[i][" width="48" />'); | |
} | |
} | |
<script src="http://coderwall.com/YOUR USER NAME.json?callback=display_coderwall"/> | |
停止している container の削除:
$ docker rm `docker ps -a -q`
REPOSITORY 名が <none>
になっている image 削除:
$ docker rmi $(docker images | awk '/^/ { print $3 }')
$ git for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' | sort -k5n -k2M -k3n -k4n
Qiita をメモ代わりに使っていると思います。そしてその中でのサンプルプログラミングかなんかを GitHub 上にあるなんて場合に、よく GitHub の README.md にある他のbadge みたいに Qiita の記事へのリンク付きの badge とかあると意外と便利だと思って自分の中で今勝手に使っていいます。
=> https://github.com/sotayamashita/packer-example
Qiita Badge with shields.io
[![Note][qiita-badge]][qiita]
# badge color = #64C914
// Type definitions for helloWorld | |
// Project: github/sotayamashita/helloWorld | |
// Definitions by: Sota Yamashita <https://github.com/sotayamashita> | |
// Definitions: https://github.com/borisyankov/DefinitelyTyped | |
/** | |
* http://applemusic.tumblr.com/ | |
*/ | |
/** Ultra Light */ | |
@font-face { | |
font-family: "San Francisco"; | |
font-weight: 100; | |
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff2"); | |
} |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout. This is also called reflow or layout thrashing, and is common performance bottleneck.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
elem.clientLeft
, elem.clientTop
, elem.clientWidth
, elem.clientHeight
elem.getClientRects()
, elem.getBoundingClientRect()
Note: It is written in Japanese 🇯🇵
React・Redux・React CSS Modulesを使用した際のどのようにすればスケールしやすく管理しやすくなるかについてまとめたものです。調べながらメモっているので何か間違いなどありましたコメントしていただければ幸いです。
分かりやすいように実際に自分が作ろうとしている GitHub のレポジトリを NAVER まとめのように自分でまとめるサービスを例に取りながらどのようにすれば良いのかについて理由とともにまとめます。
├── components
├── containers
│ ├── app