I hereby claim:
- I am dsamarin on github.
- I am dsamarin (https://keybase.io/dsamarin) on keybase.
- I have a public key whose fingerprint is D66E EE9F 9E05 4755 E78A 94FB D88E 7EEB 39AC FFEC
To claim this, I am signing this object:
<!doctype html> | |
<html> | |
<head> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
<link href="https://fonts.googleapis.com/css2?family=Rethink+Sans:wght@400;600&display=swap" rel="stylesheet"> | |
</head> | |
<body><div> | |
<div class="row"> | |
<div class="status"><div class="status-dot"></div></div> |
-- ========= | |
-- = Users = | |
-- ========= | |
-- Create new user | |
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; | |
-- Delete user | |
DROP USER 'username'@'localhost'; |
SELECT order_date, order_amount | |
FROM customers | |
JOIN orders | |
ON customers.customer_id = orders.customer_id | |
WHERE customer_id = 3 |
// JoinNonEmpty concatenates the elements of a to create a single string. The separator string | |
// sep is placed between elements in the resulting string, and ignores empty strings. | |
func JoinNonEmpty(a []string, sep string) string { | |
switch len(a) { | |
case 0: | |
return "" | |
case 1: | |
return a[0] | |
} | |
n := 0 |
#!/bin/bash | |
SSH_HOST=dsamar.in | |
SSH_SOCKET=~/.ssh/ihs.dsamar.in.sock | |
SSH_TUNNEL=3306:localhost:3306 | |
ssh -fMnNT -S "$SSH_SOCKET" -L "$SSH_TUNNEL" "$SSH_HOST" | |
gnucash mysql://[email protected]/ihs | |
ssh -S "$SSH_SOCKET" -O exit "$SSH_HOST" |
I hereby claim:
To claim this, I am signing this object:
public class System { | |
private static final System mInstance = new System(); | |
static { | |
java.lang.System.loadLibrary("mylib"); | |
} | |
private System() { | |
construct(); | |
} |
@material/[email protected] [license(s): Apache-2.0] | |
└── package.json: Apache-2.0 | |
@material/[email protected] [license(s): Apache-2.0] | |
└── package.json: Apache-2.0 | |
@material/[email protected] [license(s): Apache-2.0] | |
└── package.json: Apache-2.0 | |
@material/[email protected] [license(s): Apache 2.0] |
#include <cmath> | |
#include <complex> | |
class Oscillator { | |
private: | |
double mRate; | |
double mReal; | |
double mImag; | |
public: |
Number.toGrayCode = function(n) { | |
if (n < 0) { | |
throw new RangeError("cannot convert negative numbers to gray code"); | |
} | |
return n ^ (n >>> 1); | |
}; | |
Number.fromGrayCode = function(gn) { | |
if (gn < 0) { | |
throw new RangeError("gray code numbers cannot be negative"); |