Skip to content

Instantly share code, notes, and snippets.

cdesch cdesch

Block or report user

Report or block cdesch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vscode config
{
"files.autoSave": "onFocusChange",
"editor.tabSize": 2,
"workbench.colorTheme": "Solarized Dark",
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"editor.rulers": [
80
],
"ruby.lint": {
View digitalnote
2018-01-07
aws s3 cp p2pstate.bin s3://digitalnotewallet/2018-01-07/p2pstate.bin
aws s3 cp blockchainindices.dat s3://digitalnotewallet/2018-01-07/blockchainindices.dat
aws s3 cp blockindexes.dat s3://digitalnotewallet/2018-01-07/blockindexes.dat
aws s3 cp blocks.dat s3://digitalnotewallet/2018-01-07/blocks.dat
aws s3 cp blockscache.dat s3://digitalnotewallet/2018-01-07/blockscache.dat
@cdesch
cdesch / SQL SAmple Data insert
Created Mar 19, 2018
timescale Timeseries example
View SQL SAmple Data insert
Sample Data SQL Insert
CREATE TABLE time_series (
id SERIAL UNIQUE,
name TEXT,
timestamp TIMESTAMPTZ
);
INSERT into time_series (name,timestamp) VALUES ('Test','2018-02-13T01:18:00');
INSERT into time_series (name,timestamp) VALUES ('Test','2018-02-13T01:22:00');
View C++ vs Ruby Loop
Vector<int> my_array = new Vector<int>;
my_array.add(1);
my_array.add(2);
for (int i = 0; i < my_array.length(); i++){
}
foreach(int i in my_array) {
@cdesch
cdesch / pgbench
Created Mar 19, 2018
pg bench and timescale db
View pgbench
L
9.5.10
listen_addresses = 'localhost'
listen_addresses = '*'
max_connections = 100
max_connections = 200
shared_buffers = 128MB
shared_buffers = 16GB
@cdesch
cdesch / Rubminecrashlog
Created Mar 13, 2018
rubymine crash log 3/13/2018
View Rubminecrashlog
Process: rubymine [30235]
Path: /Applications/RubyMine.app/Contents/MacOS/rubymine
Identifier: com.jetbrains.rubymine
Version: 2017.3.3 (RM-173.4548.40)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: rubymine [30235]
User ID: 501
Date/Time: 2018-03-13 13:37:48.696 -0400
View rustler Error
$ cargo build --verbose
Fresh lazy_static v0.1.16
Fresh utf8-ranges v0.1.3
Fresh num-traits v0.1.42
Fresh unicode-xid v0.0.4
Fresh unicode-segmentation v1.2.0
Fresh regex-syntax v0.3.9
Fresh winapi-build v0.1.1
Fresh getopts v0.2.17
Fresh void v1.0.2
@cdesch
cdesch / rubyminecrashlog.log
Created Feb 3, 2018
Rubymine Crash Log Feb3rd 2018
View rubyminecrashlog.log
Process: rubymine [9344]
Path: /Applications/RubyMine.app/Contents/MacOS/rubymine
Identifier: com.jetbrains.rubymine
Version: 2017.3.2 (RM-173.4301.17)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: rubymine [9344]
User ID: 501
Date/Time: 2018-02-03 15:26:40.835 -0500
View postgresCheatSheet.sql
#Create User with Role and Password
CREATE USER postgres WITH PASSWORD 'password' CREATEDB CREATEROLE SUPERUSER;
View rubyminecrashlog
Process: rubymine [14719]
Path: /Applications/RubyMine.app/Contents/MacOS/rubymine
Identifier: com.jetbrains.rubymine
Version: 2017.3.2 (RM-173.4301.17)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: rubymine [14719]
User ID: 501
Date/Time: 2018-01-26 20:47:56.271 -0500
You can’t perform that action at this time.