I hereby claim:
- I am ekkis on github.
- I am ekkis (https://keybase.io/ekkis) on keybase.
- I have a public key ASCLtGsr9sS4tNmvMm6TI6bRH4-fRlj5mlzVj9M6_8Rk_wo
To claim this, I am signing this object:
PASS="$(node -e 'console.log(crypto.randomBytes(16).toString("hex"))')" | |
echo $PASS > .pass | |
echo "Password saved to .pass" | |
run() { | |
cmd="$@" | |
[ ! -z "$DEBUG" ] && echo "$cmd" | |
[ -z "NOEXEC" ] && $cmd | |
} | |
sql() { |
I hereby claim:
To claim this, I am signing this object:
glass | f000 | |
---|---|---|
music | f001 | |
search | f002 | |
envelope-o | f003 | |
heart | f004 | |
star | f005 | |
star-o | f006 | |
user | f007 | |
film | f008 | |
th-large | f009 |
AliceBlue | F0F8FF | |
---|---|---|
AntiqueWhite | FAEBD7 | |
Aqua | 00FFFF | |
Aquamarine | 7FFFD4 | |
Azure | F0FFFF | |
Beige | F5F5DC | |
Bisque | FFE4C4 | |
Black | 000000 | |
BlanchedAlmond | FFEBCD | |
Blue | 0000FF |
var neo = { | |
url: 'http://localhost:7474', | |
user: 'neo4j', | |
password: 'nopass', | |
}; | |
function cypher(query, success) { | |
query = { statements: [ | |
{statement: query, resultDataContents: ["graph","row"]} | |
]}; |
#!/usr/bin/perl | |
# | |
# svnrepo-layout-flip | |
# Copyright (C) 2009 Erick Calder | |
# All rights reserved. | |
# | |
# - Synopsis - | |
# the utility cvs2svn can convert an entire | |
# CVS repository to Subversion, but its choice |
#!/usr/bin/perl | |
use Socket; | |
$\ = $/; | |
$debug = 1; | |
@d = @ARGV; | |
unless (@d) { | |
print "Enter a list of domains or e-mail addresses to be checked, one per line:"; | |
chomp(@d = <>); |
String.prototype.format = function() { | |
var ret = this; | |
for (var i = 0; i < arguments.length; i++) { | |
var rex = RegExp("\\{" + i + "\\}", "g"); | |
ret = ret.replace(rex, arguments[i]); | |
} | |
return ret; | |
} | |
String.prototype.q = function() { |
use master | |
go | |
/* | |
** - synopsis - | |
** Rebuilds all indexes on a list of tables provided | |
** | |
** - syntax - | |
** @ls: an XML object of the format <tables><table>{table name}</table>...</tables> | |
** @tbpat: a pattern applied to table names containing SQL wild characters that adds | |
** to the list provided via @ls |
/* | |
create table #counts (name sysname, n int) | |
go | |
declare @s varchar(max) | |
select @s = isnull(@s, '') + ' insert #counts select ''' + name + ''', count(*) from ' + name from sys.tables | |
exec(@s) | |
select * from #counts where n >= 16 order by 2 | |
select * from vpx_object_type | |
select * from vpx_feature | |
select * from vpx_sequence order by id |