I hereby claim:
- I am rayshan on github.
- I am rayshan (https://keybase.io/rayshan) on keybase.
- I have a public key whose fingerprint is C28E 141A ABDE 135E A97A C6F3 0ABD B469 1C24 9574
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# set with git config --global tag.sort version:refname | |
# writes to: | |
# C:\Users\MyLogin | |
# ~/.gitconfig | |
# git config --global tag.sort version:refname | |
# sorts git tag output smartly since git 2.0 |
.reel
b/c not everything has .reel
.info
so they can be run by-component; should include both unit & E2E tests.meta
to blueprint.mjson
, then moving into .info
dir, which contains metadata of component, only needed for Studio.mjson
files, which would contain serialization that serve other purposes other than blueprint, e.g. paths for flow.reel or animation specs, can be used in other serialization/** | |
* loop through flattened array and return whole object or value to specified key | |
* e.g. array: [{"idKey": 1, "otherKey": "hello"}, | |
* {"idKey": 2, "otherKey": "world"}] | |
* @param arr | |
* @param key search for this key | |
* @param value match searched key's value to desired value | |
* @param {string=} keyToReturn return value of this key | |
* @returns {*} | |
*/ |
mkdir ~/travis-ci-key && cd ~/travis-ci-key | |
# generate your private key | |
ssh-keygen -t rsa -f travis-ci-key | |
# put the public key on the server you will be connecting to | |
cat travis-ci-key.pub | ssh user@123.45.56.78 "cat >> ~/.ssh/authorized_keys" | |
# generate the password/secret you will store encrypted in the .travis.yml and use to encrypt your private key | |
cat /dev/urandom | head -c 10000 | openssl sha1 > ./secret |
angular.module('app').filter 'round', () -> | |
(input, decimals) -> | |
return Math.round(input * Math.pow(10, decimals)) / Math.pow(10, decimals) |
Created by Matthew, Daniel, Corey and Ray during JS Study Group: Algorithms.
Converts numbers to and from roman numerals, up to 3999.
There are more mathmetical solutions to the problem but this works.
This style guide includes recommended practices for consistency. If any of the rules conflicts with readability in a particular case, ignore the rules and chose readability.