Skip to content

Instantly share code, notes, and snippets.


Alexander Sulim soulim

View GitHub Profile
soulim /
Created Apr 20, 2021
Get the latest hugo
wget --quiet \
--no-verbose \
--output-document=- \
"" \
| jq -r '.assets[].browser_download_url | select(test("hugo_[0-9]+.[0-9]+.[0-9]*_$(OS)-64bit.tar.gz"))' \
| xargs wget --quiet \
--no-verbose \
soulim /
Created Feb 28, 2021
A cross-platform wrapper for reloading the current
# reload-browser - A cross-platform wrapper for reloading the current
# browser tab
# Eric Radman, 2014
usage() {
case `uname` in
# applescript needs the exact title
soulim /
Created Oct 4, 2020 — forked from txus/
Minitest Runner

MiniTest Runner

A basic runner for MiniTest as a shell script! Requires bash >= 4.0.

One-liner install

mkdir -p ~/bin && curl > ~/bin/minitest && chmod +x ~/bin/minitest

Put the ~/bin directory in your PATH.

#!/usr/bin/env fish
# bin/import: Import transactions via Actual API.
# Example:
# >_ bin/import --budget=My-Finances-7667d56 \
# --account=Checking \
# data/Checking-*.json
soulim / Brewfile
Last active Mar 26, 2020
Dotfiles and etc
View Brewfile
brew 'fish'
brew 'asdf'
soulim / git-goto
Last active Mar 4, 2020
Switch to any git branch interactively
View git-goto
#!/usr/bin/env sh
# git-goto: Switch to any git branch interactively.
# If the script is discoverable via PATH, then git will pick it up and make it
# available as `goto` subcommand.
# Dependencies:
# - fzf,
soulim / base.puml
Last active Dec 22, 2020
View base.puml
@startuml base
skinparam {
ArrowColor #8898aa
BackgroundColor #f6f9fc
DefaultFontColor #363660
DefaultFontName "JetBrains Mono"
RoundCorner 8
Shadowing false

Setup Work

  • Make a list of competitive/alternative services: See file
  • Set up Google News alerts for "side project marketing" and "startup marketing".
  • Make list of blogs, subscribe to RSS feeds in Feedbin:
    • Startup marketing blogs
    • Side project blogs
    • Small business marketing blogs
    • Chicago small business/startup bloggers
  • Come up with a name and domain name

Keybase proof

I hereby claim:

  • I am soulim on github.
  • I am soulim ( on keybase.
  • I have a public key ASCMjtEg7xLP0dUeddWf3TceR7lqxvB98NJe5EC0eGhgOgo

To claim this, I am signing this object:

soulim /
Created Sep 20, 2017 — forked from jadeatucker/
How to create a "DMG Installer" for Mac OS X

Creating a "DMG installer" for OS X

A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.

##Creating the DMG file #Disk Utility