Skip to content

Instantly share code, notes, and snippets.

m93a / bash.bat
Created Nov 7, 2017
Enable bash.exe for 32-bit programs
View bash.bat
@echo off
rem To use bash seamlessly from 32bit apps,
rem add this file to your %PATH%.
if exist C:\Windows\Sysnative\bash.exe (
start "bash.exe" /D "%cd%" /B /wait "C:\Windows\Sysnative\bash.exe" %*
) else (
start "bash.exe" /D "%cd%" /B /wait "C:\Windows\System32\bash.exe" %*
show0k /
Last active Mar 5, 2019
Compile and Install git-lfs on Raspberry Pi (with golang compilation)
set -e
# Get out if git-lfs is already installed
if $(git-lfs &> /dev/null); then
echo "git-lfs is already installed"
wandernauta / sp
Last active Jun 14, 2021
sp is a command-line client for Spotify's dbus interface. Play, pause, skip and search tracks from the comfort of your command line.
View sp
#!/usr/bin/env bash
# This is sp, the command-line Spotify controller. It talks to a running
# instance of the Spotify Linux client over dbus, providing an interface not
# unlike mpc.
# Put differently, it allows you to control Spotify without leaving the comfort
# of your command line, and without a custom client or Premium subscription.
bradley219 / .gitignore
Last active Jun 15, 2021
PID C++ implementation