Skip to content

Instantly share code, notes, and snippets.

View soulim's full-sized avatar

Alexander Sulim soulim

View GitHub Profile
@soulim
soulim / get-hugo.sh
Created April 20, 2021 12:42
Get the latest hugo
BIN_DIR="./bin"
TMP_DIR="./tmp"
wget --quiet \
--no-verbose \
--output-document=- \
"https://api.github.com/repos/gohugoio/hugo/releases/latest" \
| 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
soulim / reload-browser.sh
Created February 28, 2021 06:04
A cross-platform wrapper for reloading the current
#!/bin/sh
# reload-browser - A cross-platform wrapper for reloading the current
# browser tab
# Eric Radman, 2014
# http://eradman.com/entrproject/scripts/
usage() {
case `uname` in
Darwin)
# applescript needs the exact title
@soulim
soulim / Readme.md
Created October 4, 2020 05:52 — forked from txus/Readme.md
Minitest Runner

MiniTest Runner

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

One-liner install

mkdir -p ~/bin && curl https://raw.github.com/gist/3705372/2f591ce427e21dab7685f7c743272827c8e8cf4f/minitest > ~/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
soulim / Brewfile
Last active March 26, 2020 05:49
Dotfiles and etc
brew 'fish'
brew 'asdf'
@soulim
soulim / git-goto
Last active March 4, 2020 09:30
Switch to any git branch interactively
#!/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, https://github.com/junegunn/fzf
@soulim
soulim / base.puml
Last active December 22, 2020 10:47
styles.puml
@startuml base
skinparam {
ArrowColor #8898aa
BackgroundColor #f6f9fc
DefaultFontColor #363660
DefaultFontName "JetBrains Mono"
RoundCorner 8
Shadowing false
}
@enduml

Setup Work

  • Make a list of competitive/alternative services: See competitors.md 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 (https://keybase.io/soulim) on keybase.
  • I have a public key ASCMjtEg7xLP0dUeddWf3TceR7lqxvB98NJe5EC0eGhgOgo

To claim this, I am signing this object:

@soulim
soulim / HOWTODMG.md
Created September 20, 2017 15:26 — forked from jadeatucker/HOWTODMG.md
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