Skip to content

Instantly share code, notes, and snippets.

View therealmarv's full-sized avatar
:octocat:

therealmarv

:octocat:
View GitHub Profile
@therealmarv
therealmarv / instructions.md
Created March 19, 2019 18:57
Install easybake on macOS

How to install easybake with pip

  1. Install icu4c
brew install icu4c
  1. Install easybake

For Bash shell:

@therealmarv
therealmarv / checkopenssl.md
Last active October 12, 2021 19:14
Check OpenSSL version from Python

Open python

python

and type

>>> import ssl
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.1g 7 Apr 2014'
@therealmarv
therealmarv / init.lua
Created November 21, 2017 14:28
hammerspoon Umlaute
-- Umlaute
hs.hotkey.bind({'alt'}, 'u', function ()
hs.eventtap.keyStrokes('ü')
end)
hs.hotkey.bind({'shift', 'alt'}, 'u', function ()
hs.eventtap.keyStrokes('Ü')
end)
@therealmarv
therealmarv / remove_jpg_if_raw_exists.py
Created April 2, 2015 06:01
Remove jpg when raw existing
#!/usr/bin/env python
# Script: remove_jpg_if_raw_exists.py
#
# Description: This script looks in all sub directories for
# pairs of JPG and RAW files.
# For each pair found the JPG is moved to a
# waste basket directory.
# Otherwise JPG is kept.
#
# Author: Thomas Dahlmann
@therealmarv
therealmarv / fl
Last active March 29, 2024 22:26 — forked from McNull/fl
Open current directory in forklift
#!/bin/bash
# Open current directory in forklift 4
# Adapted from https://gist.github.com/elentok/6218781
# Adapted from comment https://gist.github.com/elentok/6218781#comment-891115
# Added optional path argument and removed using the clipboard buffer.
set -e
if [ -z "$@" ]; then