This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
- -----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
Hello world | |
My name is Chris Jones and I am changing my GPG key. | |
The original key fingerprint is: 6C99 9021 9B3A EC6D 4A28 7EE7 C574 7646 7313 2D75 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Put this script in the folder that your Games_WHDLoad directory lives in. Dump update pack directories in the same place and run the script | |
export SETOPTS="${SETOPTS:--eux}" | |
set "${SETOPTS}" | |
export BASEDIR | |
BASEDIR="$(dirname "$0")" | |
export GAMESDIR="${BASEDIR}/Games_WHDLoad" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/extensions/eventtap/event.m b/extensions/eventtap/event.m | |
index 8fe09e6..358eeb4 100644 | |
--- a/extensions/eventtap/event.m | |
+++ b/extensions/eventtap/event.m | |
@@ -406,6 +406,7 @@ static int eventtap_event_newKeyEvent(lua_State* L) { | |
eventSource = CGEventSourceCreate(kCGEventSourceStatePrivate); | |
} | |
+ NSLog(@"Creating key event. Modifiers: %llu, keyCode: %d, isDown: %@", flags, keycode, isdown ? @"YES" : @"NO"); | |
CGEventRef keyevent = CGEventCreateKeyboardEvent(eventSource, keycode, isdown); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Be iMproved | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle | |
call vundle#rc() | |
" Bundles | |
Bundle 'gmarik/vundle' | |
Bundle 'kien/ctrlp.vim' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/extensions/audiodevice/internal.m b/extensions/audiodevice/internal.m | |
index 5584112..0066093 100644 | |
--- a/extensions/audiodevice/internal.m | |
+++ b/extensions/audiodevice/internal.m | |
@@ -48,6 +48,9 @@ static int audiodevice_watcherStop(lua_State *L); | |
#pragma mark - CoreAudio helper functions | |
OSStatus audiodevice_callback(AudioDeviceID deviceID, UInt32 numAddresses, const AudioObjectPropertyAddress addressList[], void *clientData) { | |
+ for (UInt32 j = 0; j < numAddresses; j++) { | |
+ NSLog(@"audiodevice_callback received event %d/%d: %@", j, numAddresses, (__bridge_transfer NSString *)UTCreateStringForOSType(addressList[j].mSelector)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Trying to make a status bar | |
-- Internaught 11/11/15 | |
-- Something about the screens ... | |
-- I guess this draws a border? | |
-- local boxBorder = 2 | |
local bars = {} | |
local iTunesBoxes = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Trying to make a status bar | |
-- Internaught 11/11/15 | |
-- Something about the screens ... | |
-- I guess this draws a border? | |
-- local boxBorder = 2 | |
-- Lets draw the box, on as many screens as we have, across the top | |
for _,screen in ipairs(hs.screen.allScreens()) do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<replacementdef> | |
<replacementname>HYPER</replacementname> | |
<replacementvalue>COMMAND_R, ModifierFlag::OPTION_R | ModifierFlag::SHIFT_R | ModifierFlag::CONTROL_R | ModifierFlag::NONE</replacementvalue> | |
</replacementdef> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_HS_fnv</name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local events = hs.uielement.watcher | |
watchers = {} | |
function init() | |
appsWatcher = hs.application.watcher.new(handleGlobalAppEvent) | |
appsWatcher:start() | |
-- Watch any apps that already exist | |
local apps = hs.application.runningApplications() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local application = require "hs.application" | |
local tiling = require "hs.tiling" -- git clone https://github.com/dsanson/hs.tiling $HOME/.hammerspoon/hs/tiling | |
local hotkey = require "hs.hotkey" | |
local mash = {"ctrl", "cmd"} | |
local safari = nil | |
-- settings | |
hs.window.animationDuration = 0 -- disable window animations | |
-- tiling |