I hereby claim:
- I am mbykovskyy on github.
- I am mbykovskyy (https://keybase.io/mbykovskyy) on keybase.
- I have a public key ASCUHgI2Gc43FqT5CPkaBlU52j0cCRKY8PuNQ6p3lC39bgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Root CA | |
openssl genrsa -out root/root.key 2048 | |
openssl req -x509 -new -nodes -key root/root.key -out root/root.crt -sha256 -days 36500 | |
# Intermediate CA | |
openssl genrsa -out inter/inter.key 2048 | |
openssl req -new -key inter/inter.key -out inter/inter.csr -config ca/conf/caconfig.cnf | |
openssl ca -keyfile root/root.key -cert root/root.crt -extensions v3_ca -in inter/inter.csr -out inter/inter.crt -notext -md sha256 -config ca/conf/caconfig.cnf -days 36500 | |
# Host Cert |
<!-- foo.hbs -->
<bounce-animation></bounce-animation>
polymer_components
or bower_components
?cool-animations/bounce-animation.html
and my-animations/bounce-animation.html
/** | |
* Converts decimal degrees to degrees minutes seconds. | |
* | |
* @param dd the decimal degrees value. | |
* @param isLng specifies whether the decimal degrees value is a longitude. | |
* @return degrees minutes seconds string in the format 49°15'51.35"N | |
*/ | |
function convertToDms(dd, isLng) { | |
var dir = dd < 0 | |
? isLng ? 'W' : 'S' |
require 'stringio' | |
module VSSLN | |
class Solution | |
def add_project project | |
@projects ||= {} | |
@projects[project.guid] = project | |
end | |
def remove_project project |
public List<Integer> sums(int sum, int offset, int[] array) { | |
List<Integer> sums = new ArrayList<Integer>(array.length - offset); | |
for (int i = offset; i < array.length; ++i) { | |
int total = sum + array[i]; | |
sums.add(total); | |
sums.addAll(sums(total, i + 1, array)); | |
} |
public int nextPowerOfTwo(int value) { | |
return 1 << 32 - Integer.numberOfLeadingZeros(value - 1); | |
} | |
public int previousPowerOfTwo(int value) { | |
return 1 << 31 - Integer.numberOfLeadingZeros(value); | |
} | |
public boolean isPowerOfTwo(int value) { | |
return (value & -value) == value; |