Skip to content

Instantly share code, notes, and snippets.

View Fitzsimmons's full-sized avatar

Justin Fitzsimmons Fitzsimmons

View GitHub Profile
def signFilter(poi):
text = None
icons = ["signpost", "anvil", "anvil_red", "base_plain_red.svg", "base_plain.svg", "factory", "factory_red", "hoe", "hoe_red", "home_2x", "home", "location_2x", "location", "mine", "mine_red", "ship", "ship_red", "tower", "tower_red", "town", "town_red"]
if poi['id'] == 'Sign' or poi['id'] == 'minecraft:sign':
if (poi['Text1'] == 'Welcome to' or poi['Text1'] == 'Base:') and poi['Text2']:
poi['icon'] = "markers/marker_home.png"
text = poi['Text2']
elif poi['Text3'] == 'icon:' and poi['Text4'] in icons:
@Fitzsimmons
Fitzsimmons / sublime-keymap.json
Created April 28, 2020 02:59
Remap sublime vintage mode to ijkl
{ "keys": ["h"], "command": "enter_insert_mode", "context": [{"key": "setting.command_mode"}] },
{ "keys": ["insert"], "command": "enter_insert_mode", "context": [{"key": "setting.command_mode"}] },
{ "keys": ["H"], "command": "enter_insert_mode", "args":
{"insert_command": "vi_move_to_first_non_white_space_character"},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["l"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
@Fitzsimmons
Fitzsimmons / console.txt
Last active June 24, 2019 19:33
__FILE__ is set to the absolute path in Rails 5.2 when RAILS_ENV is set to production
justinf@jakiro:/tmp/runner_problem
> DISABLE_SPRING=1 RAILS_ENV=production bin/rails runner runner_test.rb
Rails version: 5.2.3
Rails env: production
$0: runner_test.rb
__FILE__: /tmp/runner_problem/runner_test.rb
==================================
> DISABLE_SPRING=1 bin/rails runner -e production runner_test.rb

Basics

  • You can get a 380 ghost for 75 marks from the vanguard vendor. This is the most cost-efficient way to spend your marks early on, especially given that you can share it between characters.
  • Blues will decrypt up to 385, so don't start decrypting purples until you've hit 385 in most or all of your slots. NB: Ghosts never drop from engrams, so this will probably be trailing until you get a lucky ghost from a Vanguard or Faction reputation reward.
  • The first gold-rank public event that you complete per day, per character, will grant 15 legendary marks and a purple engram. There's also a small chance more stuff will also drop. This is a good way to accumulate marks quickly in a single-player activity regardless of light level. You can even do this for the old level 4 public events in the cosmodrome.
    • http://destinypublicevents.com/ takes the guesswork/randomness out of encountering a public event.
    • The timers aren't super accurate. I think the timers actually refer to the middle of the spawn wind
$ cargo build --verbose
Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to load source for a dependency on `serde`
Caused by:
Unable to update registry https://github.com/rust-lang/crates.io-index
Caused by:
[20/-1] Cannot checkout to invalid path '3/n/nul'
Undefined symbols for architecture x86_64:
"__Unwind_RaiseException", referenced from:
___rust_start_panic in libpanic_unwind-0973ad751bdffbae.rlib(panic_unwind-0973ad751bdffbae.0.o)
"__Unwind_SetIP", referenced from:
_rust_eh_personality in libpanic_unwind-0973ad751bdffbae.rlib(panic_unwind-0973ad751bdffbae.0.o)
"__Unwind_GetIPInfo", referenced from:
std::sys::imp::backtrace::tracing::imp::write::trace_fn::h7b09bf02b16a6ab9 in libstd-f1544d51c14ee547.rlib(std-f1544d51c14ee547.0.o)
_rust_eh_personality in libpanic_unwind-0973ad751bdffbae.rlib(panic_unwind-0973ad751bdffbae.0.o)
"__Unwind_Backtrace", referenced from:
std::sys::imp::backtrace::tracing::imp::write::hd3b65cdfe843284c in libstd-f1544d51c14ee547.rlib(std-f1544d51c14ee547.0.o)
{
"weapon_name": "Suros ARI-41",
"rolls":
[
[
{
"row": 1,
"column": 1,
"name": "SPO-28",
"description": "SUROS holo sights. \nImproved target acquisition."
node {
stage 'Source checkout'
git credentialsId: '963f6ef9-259e-46ac-bbe5-f19b35b73ea8', url: '[email protected]:Nulogy/PackManager.git'
stash 'source'
}
node {
stage 'Package gems'
bootstrap_ruby('Package gems')
sh 'bundle package --all'

Keybase proof

I hereby claim:

  • I am fitzsimmons on github.
  • I am jsfitzsimmons (https://keybase.io/jsfitzsimmons) on keybase.
  • I have a public key whose fingerprint is 9E57 1794 643D 2C0B CFBF 55A6 BFD6 2A15 46F6 E6E5

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am fitzsimmons on github.
  • I am justinf (https://keybase.io/justinf) on keybase.
  • I have a public key whose fingerprint is 3FD3 07D3 DF35 0F94 AC47 2594 1074 23A5 D35D 3D2D

To claim this, I am signing this object: