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"?> | |
<!-- | |
This is a Karabiner configuration file. | |
Hold space bar and press a key to launch/open something. | |
e.g. | |
space + ` to open home folder | |
space + 1 to open Dropbox folder | |
space + S to launch Safari |
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
import UIKit | |
extension UIColor { | |
struct System { // 20170411 from https://developer.apple.com/ios/human-interface-guidelines/visual-design/color/ | |
private init() {} | |
static let red = UIColor(red: 255/255, green: 59/255, blue: 48/255, alpha: 1.0) | |
static let orange = UIColor(red: 255/255, green: 149/255, blue: 0/255, alpha: 1.0) | |
static let yellow = UIColor(red: 255/255, green: 204/255, blue: 0/255, alpha: 1.0) |
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
import UIKit | |
extension UIColor { | |
struct Solarized { // 20170411 from http://ethanschoonover.com/solarized | |
private init() {} | |
static let base03 = UIColor(red: 0/255, green: 43/255, blue: 54/255, alpha: 1.0) | |
static let base02 = UIColor(red: 7/255, green: 54/255, blue: 66/255, alpha: 1.0) | |
static let base01 = UIColor(red: 88/255, green: 110/255, blue: 117/255, alpha: 1.0) |
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
# only upload during Release builds, otherwise every build will upload a dSYM | |
if [ "${CONFIGURATION}" = "Release" ]; then | |
readonly API_KEY_PATH=~/.crittercism_api_key | |
# put the secret key in this file | |
if [ -f $API_KEY_PATH ]; then | |
APP_ID="REPLACE_WITH_MY_APP_ID" | |
API_KEY=$(<$API_KEY_PATH) | |
# run the script | |
source "${SRCROOT}"/<CRITTERCISM_DIR_NAME>/dsym_upload.sh | |
else |
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
let textFieldInsideSearchBar = searchBar.value(forKey: "searchField") as? UITextField |
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
<key>CFBundleURLTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleURLName</key> | |
<string>add.your.identifier</string> | |
<key>CFBundleURLSchemes</key> | |
<array> | |
<string>urlschemename</string> | |
</array> | |
</dict> |
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
# Rime dictionary | |
# encoding: utf-8 | |
--- | |
name: luna_pinyin.emoji | |
version: "2017.02.10" | |
sort: by_weight | |
use_preset_vocabulary: true | |
... |
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
// NSCFRange+Z.swift | |
// ZKit | |
// | |
// The MIT License (MIT) | |
// | |
// Copyright (c) 2016 Electricwoods LLC, Kaz Yoshikawa. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights |
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
;; Keybonds | |
(global-set-key [(hyper a)] 'mark-whole-buffer) | |
(global-set-key [(hyper v)] 'yank) | |
(global-set-key [(hyper c)] 'kill-ring-save) | |
(global-set-key [(hyper s)] 'save-buffer) | |
(global-set-key [(hyper l)] 'goto-line) | |
(global-set-key [(hyper w)] | |
(lambda () (interactive) (delete-window))) | |
(global-set-key [(hyper z)] 'undo) |
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
F: | |
group: | |
additional-action: | |
do: | |
delay: | |
0.3 | |
other-keyup-exit-delay: | |
true | |
action: | |
launch-and-cycle-windows.yaml: |
OlderNewer