Skip to content

Instantly share code, notes, and snippets.

View egasimus's full-sized avatar
🐒
all our telepaths are on leave and the ascended master is currently downshifting

egasimus

🐒
all our telepaths are on leave and the ascended master is currently downshifting
View GitHub Profile
@slimsag
slimsag / ramblings.md
Last active December 13, 2023 08:02
Because cross-compiling binaries for Windows is easier than building natively

Because cross-compiling binaries for Windows is easier than building natively

I want Microsoft to do better, want Windows to be a decent development platform-and yet, I constantly see Microsoft playing the open source game: advertising how open-source and developer friendly they are - only to crush developers under the heel of the corporate behemoth's boot.

The people who work at Microsoft are amazing, kind, talented individuals. This is aimed at the company's leadership, who I feel has on many occassions crushed myself and other developers under. It's a plea for help.

The source of truth for the 'open source' C#, C++, Rust, and other Windows SDKs is proprietary

You probably haven't heard of it before, but if you've ever used win32 API bindings in C#, C++, Rust, or other languages, odds are they were generated from a repository called microsoft/win32metadata.

@otherjoel
otherjoel / spf-fail.rkt
Last active July 2, 2024 06:35
Generate a form email to explain to someone at another company that their SPF is broken
#lang racket/base
;; Generate a form email to let someone know their SPF records are misconfigured for their current email provider.
;;
;; Run (fill-report "domain.com" "1.2.3.4") where the 2nd arg is the sending email server's IP address.
;; It will copy the completed report to the clipboard for you.
;; Only works on Windows for now.
(require net/dns
@jack126guy
jack126guy / electribe-sampler-e2ssample-format.md
Last active September 7, 2024 13:45
Partial format specification for the e2sSample.all file used by the Korg Electribe Sampler

Electribe Sampler e2sSample.all Data Format

Based on examination of the source code for e2sEdit and Oe2sSLE.

Overview

The file is just a concatenation of WAVE files with a header to indicate where each file begins. Additional metadata such as sample name and loop point are stored in each WAVE file as a RIFF chunk with type "korg", which is conventionally at the end of the file.

Unless otherwise specified, all integers are little-endian unsigned.

#!/bin/bash
echo "If you're reading this I hope you are in a vm or I probably just saved your ass!"
exit
## Warning:
#
# This script could break the crap out of your machine, it's only for illustration. That
# said- how you manage your data is your business, but if your unsure of best practices I'll
# share the one rule I have that is unwavering:
@rmetzler
rmetzler / docker-compose.yml
Created January 4, 2016 13:35
docker-compose from STDIN
redis:
image: redis
ports:
- "6379:6379"
@tjb0607
tjb0607 / i3tumblr
Last active August 29, 2015 14:15
i3 tumblr theme
<!DOCTYPE html>
<html>
<head>
<title>{title}</title>
<link rel="shortcut icon" href="{Favicon}">
<link href='http://fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'>
<style>
/* @font-face {
font-family: 'Tewi';
@KonradIT
KonradIT / readme.md
Last active July 11, 2024 20:46
GoPro Studio for Linux
#!/usr/bin/python
# -*- coding: utf-8 -*-
import subprocess
__all__ = ["transform"]
__version__ = '0.3'
__author__ = 'Christoph Burgmer <[email protected]>'
__url__ = 'http://github.com/cburgmer/upsidedown'
@diabolo
diabolo / aplay -l
Last active September 14, 2015 21:37
Disconnect issue with USB Audio - xHCI xhci_drop_endpoint called with disabled ep ffff88042763d280
**** List of PLAYBACK Hardware Devices ****
card 0: PCM2702 [Burr-Brown Japan PCM2702], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
@NuckChorris
NuckChorris / PKGBUILD
Last active December 22, 2015 23:09
Adds true transparency to AwesomeWM's wibox, so you can use fancy compositor features like blurs.
# $Id: PKGBUILD 97098 2013-09-12 18:19:17Z seblu $
# Maintainer: Sébastien Luttringer
# Contributor: xduugu
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Vesa Kaihlavirta
pkgname=awesome
pkgver=3.5.1
pkgrel=2
pkgdesc='Highly configurable framework window manager'