Skip to content

Instantly share code, notes, and snippets.

@jooize
jooize / multiple-firefox-in-windows-taskbar.markdown
Last active March 1, 2024 21:44
Multiple Firefox in Windows Taskbar
  • Open Run (Winkey-R or right-click Start menu), insert "%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -p, press OK, to start Firefox profile manager.
  • You may be able to run simply firefox -p. Guide is written to be robust for system differences.
  • Press "Create Profile...".
  • Press "Next".
  • Insert a profile name. It can contain spaces. Example: "Web App 1"
  • Now don't rush. It is easy to inadvertently change the default profile.
  • Press "Finish".
  • Press "Exit". If you instead pressed "Start Firefox" without unchecking "Use the selected profile without asking at startup": open Firefox profile manager again (read step 1), select your desired profile (probably "default"), enable the option "Use the selected profile [...]", press "Start Firefox", continue with the step after this.
  • Open Run, insert: "%PROGRAMFILES%\Mozilla Firefox\firefox.exe" --no-remote -P "Web App 1"
  • Select the location field (Ctrl-L).

How to use

Replace every entry like InputTransaction1ID with the actual value it describes.

Example:

  • MultisigAddress → 9CXZXhnhp8HBx12Zr6JJmJmTm8qQWrsR6r
  • InputTransaction1ID → bde678d3497d794992840d37b30637b03ba0c72b4355cc48bc42bf261fddd9d9
  • InputTransaction1N → 1
  • TargetAddress1 → 8dueh4ZZnifxdeVezqm8kEPEiiq2XZkdCa
@jooize
jooize / matrix-synapse-on-ubuntu-16.04.markdown
Last active November 26, 2022 20:50
Matrix Synapse on Ubuntu 16.04

Matrix Synapse on Ubuntu 16.04

Customize guide

  • Replace “esko@esko.bar” with desired email address for Let's Encrypt notifications.
  • Replace “esko.bar” with your domain.

Set DNS

  • _matrix._tcp.esko.bar SRV 10 0 8448 matrix.esko.bar.
@jooize
jooize / setup-nubot.markdown
Last active January 7, 2018 22:41
Setup NuBot for Liquidity

Liquidity with NuBot

Exchange (SouthXchange)

  • Create account.
  • Enable multi-factor authentication.
  • Enable API access.
  • Create API key.
  • Restrict API access to IP of gateway (consider).
@jooize
jooize / install-nubot.markdown
Created April 26, 2017 11:24
Provide liquidity for NuBits using NuBot

Provide liquidity for Nu using NuBot

Exchange

  • Create separate account if using Nu funds.
  • Link account to primary account (from primary account).
  • Enable multi-factor authentication.
  • Enable API access.
  • Create API key.
  • Restrict API access to IP of gateway.
01000000e949fa58fd4e1dbaf4ac304e440e9705f7afcc6020efb5d021883912da662e0a9350228fb9fb9800000000ad53210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c0721023c41edc461814e825a0847f9031fddf9b2610bb91992724920107f5fd07b492221029684f165042b44197bce605d81e3e9b22acb8ae677ea4ea3412307b3ff26ea6e210304571109f4e9dd3ce67133df452375597d20f583894cdd8ed09c65a3a3e3be5a21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff55aeffffffffbaf4ac304e440e9705f7afcc6020efb5d021883912da662e0a9350228fb9fb9801000000ad53210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c0721023c41edc461814e825a0847f9031fddf9b2610bb91992724920107f5fd07b492221029684f165042b44197bce605d81e3e9b22acb8ae677ea4ea3412307b3ff26ea6e210304571109f4e9dd3ce67133df452375597d20f583894cdd8ed09c65a3a3e3be5a21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff55aeffffffffbaf4ac304e440e9705f7afcc6020efb5d021883912da662e0a9350228fb9fb9802000000ad53210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c0721

Keybase proof

I hereby claim:

  • I am jooize on github.
  • I am esko (https://keybase.io/esko) on keybase.
  • I have a public key whose fingerprint is 65BE F63E 7BC7 36FF 6A4D 2CE1 CDE7 CC5C 13C4 CFDB

To claim this, I am signing this object:

@jooize
jooize / indentation.rb
Created February 27, 2015 21:22
Indent HTML in Jekyll 2.5.3
# _plugins/indentation.rb
module Jekyll
module IndentFilter
def indent(content, indent = 0)
output = []
pre_regexp = /<\/?pre[^>]*>/i
pre_list = content.scan(pre_regexp)
blocks = content.split(pre_regexp)
@jooize
jooize / gist:3995126
Created November 1, 2012 17:17
AppleScript to Open Home Folder in Finder
on run
set homeFolder to path to home folder as string
tell application "Finder"
open homeFolder
end tell
tell application "Finder" to activate
end run