Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Chris Jones cmsj

🏠
Working from home
View GitHub Profile
@cmsj
cmsj / iOS-File-System-Extraction.md
Created July 31, 2017 12:04
Guide to extract the root file system and decompress the kernel cache for iOS.
View iOS-File-System-Extraction.md
@cmsj
cmsj / protect.py
Created January 9, 2017 11:04 — forked from beekhof/protect.py
View protect.py
#!/usr/bin/env python
from datetime import datetime
import subprocess
import getopt
import sys
import os
import re
results={}
@cmsj
cmsj / bar.lua
Created November 12, 2015 20:31 — forked from cabrinha/bar.lua
trying to create a status bar in hammerspoon
View bar.lua
-- 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
View windowTracker.lua
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()
@cmsj
cmsj / init.lua
Last active August 29, 2015 14:20 — forked from HendrikRoth/init.lua
View init.lua
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
@cmsj
cmsj / init.lua
Last active August 29, 2015 14:19 — forked from johntdyer/init.lua
View init.lua
--[[
# Install dependencies.
brew update
brew install lua
brew install luarocks
brew install blueutil
wget https://github.com/sdegutis/mjolnir/releases/download/0.4.3/Mjolnir-0.4.3.tgz
mkdir -p ~/.luarocks
mkdir -p ~/.mjolnir/
echo 'rocks_servers = { "http://rocks.moonscript.org" }' > ~/.luarocks/config.lua