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> |
function UndoItem (perform, data) { | |
this.perform = perform; | |
this.data = data; | |
} | |
/** | |
* UndoStack: | |
* Easy undo-redo in JavaScript. | |
**/ |
var Complex = function(real, imag) { | |
if (!(this instanceof Complex)) { | |
return new Complex (real, imag); | |
} | |
if (typeof real === "string" && imag == null) { | |
return Complex.parse (real); | |
} | |
this.real = Number(real) || 0; |
-- ========= | |
-- = 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://ihs@127.0.0.1/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/animation@0.3.1 [license(s): Apache-2.0] | |
└── package.json: Apache-2.0 | |
@material/auto-init@0.1.3 [license(s): Apache-2.0] | |
└── package.json: Apache-2.0 | |
@material/base@0.2.3 [license(s): Apache-2.0] | |
└── package.json: Apache-2.0 | |
@material/button@0.3.11 [license(s): Apache 2.0] |