Skip to content

Instantly share code, notes, and snippets.

@pbt001
pbt001 / tuning_storm_trident.asciidoc
Created February 23, 2020 23:53 — forked from mrflip/tuning_storm_trident.asciidoc
Notes on Storm+Trident tuning

Tuning Storm+Trident

Tuning a dataflow system is easy:

The First Rule of Dataflow Tuning:
* Ensure each stage is always ready to accept records, and
* Deliver each processed record promptly to its destination
@pbt001
pbt001 / Cliref.md
Created February 23, 2020 23:56 — forked from yunga/Cliref.md
CLIRef.md
_________ _____ _______________       _____
\_   ___ \\    \\___________   \____ / ____\     ~/.bash/cliref.md
/    \  \/|    | |   ||       _/ __ \  __\    copy/paste from whatisdb
\     \___|__  |_|_  ||    |   \  __/|_ |   http://pastebin.com/yGmGiDQX
 \________  /_____ \_||____|_  /____  /_|     [email protected]
 20160515 \/ 1527 \/         \/     \/

alias CLIRef.txt='curl -s "http://pastebin.com/raw/yGmGiDQX" | less -i'

AsciiDoc Writer’s Guide

@pbt001
pbt001 / test.asciidoc
Created February 24, 2020 00:10 — forked from mojavelinux/test.asciidoc
A sample AsciiDoc file for testing Asciidoctor.

Asciidoctor Demo

@pbt001
pbt001 / vj.sh
Last active June 22, 2020 09:24 — forked from JohnB/vj.sh
[encrypted-journal writing bash script] A simple, encrypted journal using vim. #vim #script #bash #writing #journal
#!/usr/bin/env bash
# Canonical location: https://gist.github.com/kljensen/4434992
##########################################################
#
# This is a shell script for keeping a journal that is
# * plaintext,
# * time-stamped,
# * encrypted, and
@pbt001
pbt001 / javascript.snippets
Created May 28, 2020 20:03 — forked from lencioni/javascript.snippets
module.exports snippet
snippet me "module.exports" b
module.exports = ${1:`!p snip.rv = ''.join(x.title() for x in re.sub('\.js$', '', snip.basename or 'ModuleName').split('_'))`};$0
endsnippet
@pbt001
pbt001 / find-nearly-empty-directories.sh
Created May 28, 2020 20:04 — forked from lencioni/find-nearly-empty-directories.sh
Script to help find nearly empty directories
#!/bin/sh
# Find directories that only contain a single .eslintrc file.
# Adapted from https://superuser.com/a/727070
# Enable double glob to find hidden files
shopt -s dotglob
# Loop through every subdirectory.
# Currently need to tweak this line and run it for every level of directory
@pbt001
pbt001 / story.js
Created May 28, 2020 20:04 — forked from lencioni/story.js
Building Storybook stories with allExamples.js
import { storiesOf, action } from '@kadira/storybook';
import { browserDLSExamples } from '../examples/allExamples';
import fixtures from '../examples/fixtures';
const { DLSExamples, DLSComponents } = browserDLSExamples();
Object.entries(DLSExamples).forEach(([name, examplesFunc]) => {
let story = storiesOf(name, module);
@pbt001
pbt001 / crypto-portfolio-optimization.ipynb
Last active June 22, 2020 09:18 — forked from omkardash/crypto-portfolio-optimization.ipynb
[Crypto Portfolio Optimization] Example on how to improve Crypto Portfolios using Python in a Jupyter Notebook #crypto #python #jupyter
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pbt001
pbt001 / black-crypto-swans.ipynb
Last active June 22, 2020 09:20 — forked from gjlr2000/black-crypto-swans.ipynb
[Black Crypto-Swans.ipynb] How not to get broke unexpected #crypto #jupyter
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.