Skip to content

Instantly share code, notes, and snippets.

@dankrause
dankrause / _hover_example.py
Last active June 26, 2024 22:35
Example code to use the (unofficial, unsupported, undocumented) hover.com DNS API.
import requests
class HoverException(Exception):
pass
class HoverAPI(object):
def __init__(self, username, password):
params = {"username": username, "password": password}
r = requests.post("https://www.hover.com/api/login", params=params)
@DenisIzmaylov
DenisIzmaylov / INSTALLATION.md
Last active April 27, 2023 15:44
OS X 10.11 El Capitan: fresh install with Node.js (io.js) Developer Environment

OS X 10.11 (El Capitan) / Node.js and io.js Developer Environment

Custom recipe to get OS X 10.11 El Capitan running from scratch with useful applications and Node.js Developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after fresh install.

Content

anonymous
anonymous / mfp.sh
Created February 22, 2016 03:23
curl \
-O http://datashat.net/music_for_programming_0-manifesto.mp3 \
-O http://datashat.net/music_for_programming_1-datassette.mp3 \
-O http://datashat.net/music_for_programming_2-sunjammer.mp3 \
-O http://datashat.net/music_for_programming_3-datassette.mp3 \
-O http://datashat.net/music_for_programming_4-com_truise.mp3 \
-O http://datashat.net/music_for_programming_5-abe_mangger.mp3 \
-O http://datashat.net/music_for_programming_6-gods_of_the_new_age.mp3 \
-O http://datashat.net/music_for_programming_7-tahlhoff_garten_and_untitled.mp3 \
-O http://datashat.net/music_for_programming_8-connectedness_locus.mp3 \
@TomFaulkner
TomFaulkner / ubuntu18.04-vfio.md
Last active February 3, 2024 15:28
VFIO Setup on Ubuntu 18.04
@jellea
jellea / README.md
Last active June 2, 2020 14:29
Say, a colleague passes you a Figma link, you click it and surprisingly the browser opens, while you have the desktop app installed! You *sigh* and install this script script which adds a question if you want to open web or desktop.

Install

  1. Install Hammerspoon
  2. Install SpoonInstall (unzip and click to install)
  3. Move the contents of appOrWebDialog.lua (question dialog version) or alwaysApp.lua (default to app version) to ~/.hammerspoon/init.lua
  4. Reload Hammerspoon configuration if you already started it.
  5. Set Hammerspoon as default web browser in macOS preferences -> General

Add more apps

  1. Figure out the App Bundle Identifier. Right click "Show Package Contents" on Application and open Contents/Info.plist inside. Find the Bundle Identifier in the plist file.
@romkatv
romkatv / install_meslo_wsl.sh
Last active July 11, 2024 13:16
Install Meslo Powerline font family on Windows
#!/bin/bash
#
# This script installs patched Meslo Powerline font family on Windows.
# The fonts are installed for the current user only. The script must be
# run from WSL.
#
# bash -c "$(curl -fsSL https://gist.githubusercontent.com/romkatv/aa7a70fe656d8b655e3c324eb10f6a8b/raw/install_meslo_wsl.sh)"
#
# If you just want the font files, they are in
# https://github.com/romkatv/dotfiles-public/tree/master/.local/share/fonts/NerdFonts.
@Schm1tz1
Schm1tz1 / _etc_udev_rules.d_90-vitoIR.rules
Last active November 20, 2022 20:40
vclient scripts with command->item mapping for automated (cron) retriavel of value from vcontrol to openHAB
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{serial}=="0001", SYMLINK+="ttyVitoIR"