Skip to content

Instantly share code, notes, and snippets.

View airstrike's full-sized avatar
🎯
Focusing

Andy airstrike

🎯
Focusing
View GitHub Profile
@airstrike
airstrike / citrix_shenanigans.json
Last active March 6, 2023 20:31 — forked from jdleslie/citrix_ctrl_alt_win.json
Map Apple modifiers (Ctrl, Option, Command) to Windows modifiers (Ctrl, Win, Alt) in Citrix Workspace using Karabiner Elements, with working Alt+Tab and Windows key shortcuts
{
"title": "Citrix Receiver/Workspace shenanigans",
"rules": [
{
"description": "In Citrix, change left_option to Alt key via \"⌘⌥ Command (left)-Option\"",
"manipulators": [
{
"from": {
"key_code": "left_option",
"modifiers": { "optional": [ "any" ] }
@airstrike
airstrike / generate.c
Last active April 16, 2020 19:28 — forked from Joker-vD/generate.c
Dungeon Generator (Uncompressed, MS Visual Studio 2008)
// Uncompressed version of dungeon generator, backported for MS Visual Studio 2008
// Original work: https://gist.github.com/munificent/b1bcd969063da3e6c298be070a22b604
// Original uncompressed version: https://gist.github.com/Joker-vD/cc5372a349559b9d1a3b220d5eaf2b01
// Tested with Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
// #include <stdbool.h> // 2008-2019
typedef int bool;
@airstrike
airstrike / Apple Keyboard Autohotkey Script
Created March 19, 2018 15:30 — forked from mattheath/Apple Keyboard Autohotkey Script
A script for autohotkey to remap keys when using an Apple Keyboard with a Windows PC
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: Matt Heath <matt@mattheath.com>
;
; Script Function:
; Remaps keys when using an Apple Keyboard with a Windows PC
;
@airstrike
airstrike / tmux-cheatsheet.markdown
Created February 6, 2016 00:50 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
#
# Copyright (C) 2013 Vinay Sajip. New BSD License.
#
import os
import os.path
from subprocess import Popen, PIPE
import sys
from threading import Thread
from urllib.parse import urlparse
from urllib.request import urlretrieve
body {
font-family: "Segoe UI", Arial;
}
.qwebirc-qui .lines {
color:#d9d9d9; background-color:#313131;
border-top: 1px solid #292929;
padding:0px 5px;
}
.qwebirc-qui .outertabbar {
border-bottom: 1px solid #202020;