I hereby claim:
- I am andhikamaheva on github.
- I am andhikamaheva (https://keybase.io/andhikamaheva) on keybase.
- I have a public key whose fingerprint is F52C C3C6 530B 67BB 7AA2 68F2 0459 2934 5331 ADD4
To claim this, I am signing this object:
<form id="form" onsubmit="return(login())"> | |
<input name="username" placeholder="Username" required title="Username Anda" oninvalid="this.setCustomValidity('Username harus diisi')" | |
onchange="this.setCustomValidity('')" type="text" /> | |
<input name="pass" type="password" placeholder="Password" oninvalid="this.setCustomValidity('Password harus diisi')" onchange="this.setCustomValidity('')" required /> | |
<br/>Remember me: <input type="checkbox" name="remember" value="true" /><br/> | |
<input type="submit" name="submit" value="Log In"/> |
I hereby claim:
To claim this, I am signing this object:
#!env bash | |
doInstallServer(){ | |
if [[ -e /etc/redhat-release ]]; then | |
RELEASE_RPM=$(rpm -qf /etc/centos-release) | |
RELEASE=$(rpm -q --qf '%{VERSION}' ${RELEASE_RPM}) | |
if [ ${RELEASE} != "7" ]; then | |
echo "Bukan CentOS Release 7." | |
exit 1 | |
fi | |
else |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>HMAC-SHA256 Example</title> | |
</head> | |
<body> | |
<script src="http://crypto.stanford.edu/sjcl/sjcl.js"></script> | |
<script> | |
var sharedSecret, query, signature, hmac, xhr; |
// you can write to stdout for debugging purposes, e.g. | |
// console.log('this is a debug message'); | |
function solution(A) { | |
// write your code in JavaScript (Node.js 8.9.4) | |
let tmp = [] | |
for (let i = 0; i < A.length; i++) { | |
if (0 <= A[i]) { | |
tmp[A[i]] = true |
// you can write to stdout for debugging purposes, e.g. | |
// console.log('this is a debug message'); | |
function solution(N) { | |
// write your code in JavaScript (Node.js 8.9.4) | |
let binary = (N >>> 0).toString(2); | |
let totalGaps = [] | |
let tmp = 0 | |
for (let i = 0; i < binary.length; i++) { |
// you can write to stdout for debugging purposes, e.g. | |
// console.log('this is a debug message'); | |
function solution(A, K) { | |
// write your code in JavaScript (Node.js 8.9.4) | |
if (A.length === K || K === 0) { | |
return A | |
} else if (A.length === 0) { | |
return [] |
// you can write to stdout for debugging purposes, e.g. | |
// console.log('this is a debug message'); | |
function solution(A) { | |
// write your code in JavaScript (Node.js 8.9.4) | |
let result = 0 | |
for (let i = 0; i < A.length; i++) { | |
result ^= A[i] | |
} |
// you can write to stdout for debugging purposes, e.g. | |
// console.log('this is a debug message'); | |
function solution(X, Y, D) { | |
// write your code in JavaScript (Node.js 8.9.4) | |
if (X >= Y) { | |
return 0 | |
} else if (X === Y) { | |
return 0 |
// you can write to stdout for debugging purposes, e.g. | |
// console.log('this is a debug message'); | |
function solution(A) { | |
// write your code in JavaScript (Node.js 8.9.4) | |
A.sort(function (a,b) { | |
return a - b | |
}) | |
let result = 1 |