Percentage to HEX
100% — FF
95% — F2
90% — E6
85% — D9
80% — CC
75% — BF
70% — B3
65% — A6
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
| protected void onCreate(Bundle savedInstanceState) { | |
| DividerItemDecoration decoration = new DividerItemDecoration(getApplicationContext(), VERTICAL); | |
| recyclerView.addItemDecoration(decoration); | |
| } | |
| // override onDraw ItemDecoration.java, draw a devider line | |
| @Override | |
| public void onDraw(Canvas canvas, RecyclerView parent, RecyclerView.State state) { | |
| canvas.save(); |
pip install awscli
aws configure # use access key, secret key
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
| alias gdbnew='/usr/local/Cellar/gdb/7.6/bin/gdb' |
/* Set up Git Configuration */
git config --global user.email "[email protected]"
git config --global user.name "Neil Gee"
git config --global core.editor "vi"
git config --global color.ui true
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
| /*jslint node: true */ | |
| "use strict"; | |
| var express = require("express"), | |
| consolidate = require("consolidate"), | |
| Handlebars = require("handlebars"), | |
| fs = require("fs"); | |
| var app = express(); |
Why is this change necessary?
This question tells reviewers of your pull request what to expect in the commit, allowing them to more easily identify and point out unrelated changes.
How does it address the issue?
Describe, at a high level, what was done to affect change. “Introduce a red/black tree to increase search speed” or “Remove , which was causing ” are good examples.
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
| public static void Register(HttpConfiguration config) | |
| { | |
| config.Services.Replace(typeof(ITraceWriter), new MyTracer()); | |
| } | |
| public class MyTracer : ITraceWriter | |
| { |
NewerOlder