Skip to content

Instantly share code, notes, and snippets.

View Ashton-W's full-sized avatar

Ashton Williams Ashton-W

View GitHub Profile
@Ashton-W
Ashton-W / Extra Logging for My Great App.mobileconfig
Created October 26, 2016 22:55 — forked from zwaldowski/Extra Logging for My Great App.mobileconfig
Apple Configuration Profile for Logging in iOS 10 and macOS Sierra
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!-- iOS 10, macOS Sierra, and friends bring a new logging subsystem that's
supposed to scale from the kernel, up to frameworks, and up to apps. It defaults
to a more regimented, privacy-focused approach that large apps and complex
systems need.
It, along with Activity Tracing introduced in iOS 8 and macOS Yosemite and the
Console app in macOS Sierra, hope to help you graduate from caveman debugging to
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
#!/usr/bin/env ruby
search_dir = ARGV[0] || "."
files = Dir.glob("#{search_dir}/**/*.{h,m,swift}")
if files.length > 0
puts "Found the following header or implementation files in '#{search_dir}':"
files.each do |filepath|
puts filepath
#!/usr/bin/osascript
-- Open Xcode Organizer
-- To use, make sure "Enable access for assistive devices" is enabled in the Universal Access pref pane
tell application "System Events"
tell process "Xcode"
-- Activate Xcode if necessary
set frontmost to true
#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.2 (140)
#
# Alignment
# ---------
## Alignment
@Ashton-W
Ashton-W / objc.cfg
Created December 19, 2012 03:35 — forked from cspickert/objc.cfg
#
# uncrustify config file for objective-c and objective-c++
#
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs
output_tab_size = 4 # new tab size
indent_columns = output_tab_size
indent_label = 2 # pos: absolute col, neg: relative column
indent_align_assign = FALSE
@Ashton-W
Ashton-W / trello.user.js
Created November 29, 2012 09:48
Trello Style Tweaks
// ==UserScript==
// @name Trello Style Tweaks
// @namespace http://userstyles.org
// @description Personal tweaks for trello.com
// @author lmjabreu
// @homepage trello.com
// @include https://trello.com/*
// @include https://www.trello.com/*
// @run-at document-start
// ==/UserScript==