Skip to content

Instantly share code, notes, and snippets.

View spheromak's full-sized avatar
🕵️‍♂️

Jesse Nelson spheromak

🕵️‍♂️
View GitHub Profile
@spheromak
spheromak / wezterm.lua
Last active January 28, 2022 06:49
wezterm.lua
local wezterm = require 'wezterm';
local launch_menu = {}
local custom_colors = {}
local custom_keys = {}
-- Launch menu
if wezterm.target_triple == "x86_64-pc-windows-msvc" then
table.insert(launch_menu, {
label = "PowerShell",
old: 15.8 new: 0
old: 16.1 new: 0
old: 17.0 new: 0
old: 17.8 new: 0
old: 18.1 new: 0
old: 18.2 new: 0
old: 18.3 new: 0
old: 18.4 new: 0
old: 19.6 new: 0
old: 30.1 new: 0
class JavaSecurityFiles
class << self
def list
@secfiles ||= scan_for_files
end
private
def scan_for_files
#!/bin/bash
#
# build cap_fake if it doesn't exist
#
if [ -z "$CIRCLECI" ]; then
echo "Nothing to do for cap fake unless we are are on Circle"
exit 1
fi
snippet sic "some test snip"
Jesse Nelson <spheromak@gmail.com>
endsnippet
snippet todo "TODO reminder" b
// TODO:(`echo $USER`) ${1:desc} `!v strftime("%c")`
endsnippet
snippet bug "Golang bug def" b
// BUG:(`echo $USER`) ${1:desc} `!v strftime("%c")`
# C-b is not acceptable -- Vim uses it
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-yank \
tmux-plugins/tmux-pain-control \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-continuum \
tmux-plugins/tmux-copycat \
'
# turn on continum auto-restore
~FC001
~FC007
~FC017
~FC034
/usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!': 500 Internal Server Error (RestClient::InternalServerError)
from /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'
from /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'
from /usr/share/ruby/net/http.rb:852:in `start'
from /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'
from /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
from /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
from /usr/local/share/gems/gems/rest-client-1.6.7/lib/restclient.rb:84:in `delete'
from /home/jesse/.gem/ruby/gems/package_cloud-0.2.18/lib/package_cloud/repository.rb:92:in `yank'
from /home/jesse/.gem/ruby/gems/package_cloud-0.2.18/lib/package_cloud/cli/entry.rb:34:in `yank'
+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
| 2 | 512MB Standard Instance | 512 | 20 | 0 | 512 | 1 | 80.0 | N/A |
| 3 | 1GB Standard Instance | 1024 | 40 | 0 | 1024 | 1 | 120.0 | N/A |
| 4 | 2GB Standard Instance | 2048 | 80 | 0 | 2048 | 2 | 240.0 | N/A |
| 5 | 4GB Standard Instance | 4096 | 160 | 0 | 2048 | 2 | 400.0 | N/A |
| 6 | 8GB Standard Instance | 8192 | 320 | 0 | 2048 | 4 | 600.0 | N/A |
| 7 | 15GB Standard Instance | 15360 | 620 | 0
#!/bin/bash
set -e
set -x
if [ -z "$BIND_MOUNTS" ] ; then
echo "No bindmounts in BIND_MOUNTS env var exiting"
exit 0
fi
for path in ${BIND_MOUNTS[@]} ; do