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
# | |
# c.f. StackOverflow question/answer here: http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4 | |
# | |
# Version 2.3 | |
# | |
# Latest Change: | |
# - Apple's handling of "project files" is broken; added a workaround for Xcode 4.5 | |
# - Added automatic FAIL BUILD if any of the internal commands fail | |
# | |
# Purpose: |
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
;; python checker setup | |
(setq python-check-command "~/bin/pycheckers.sh") |
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
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch" |
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
;; http://emacswiki.org/emacs/AutoSave | |
(setq backup-directory-alist | |
`((".*" . ,temporary-file-directory))) | |
(setq auto-save-file-name-transforms | |
`((".*" ,temporary-file-directory t))) |
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
(require-package 'dired+) | |
(defun dired-show-only (regexp) | |
(interactive "sFiles to show (regexp): ") | |
(dired-mark-files-regexp regexp) | |
(dired-toggle-marks) | |
(dired-do-kill-lines)) | |
(eval-after-load 'dired+ | |
'(progn |
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/sh | |
## | |
# This is a script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# Run in interactive mode with: | |
# $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)" | |
# | |
# or run it without prompt questions: |
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
brew install wxwidgets boost | |
pip install Polygon ttfquery | |
# get zip(git) from https://github.com/BruceSherwood/vpython-wx | |
cd vpython-wx | |
python setup.py install |
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
Debugger entered--Lisp error: (error "Only symbols are supported in `compiler-macro'") | |
signal(error ("Only symbols are supported in `compiler-macro'")) | |
error("Only symbols are supported in `compiler-macro'") | |
#[771 "\2119\204 \300\301!\207\302\303D\304\305DF\207" [error "Only symbols are supported in `compiler-macro'" put quote (quote compiler-macro) function] 8 "\n\n(fn F ARGS COMPILER-FUNCTION)"](python-syntax-context (type &optional syntax-ppss) (lambda (form) (pcase type ((\` (quote comment)) (\` (let ((ppss (or ... ...))) (and (nth 4 ppss) (nth 8 ppss))))) ((\` (quote string)) (\` (let ((ppss (or ... ...))) (and (nth 3 ppss) (nth 8 ppss))))) ((\` (quote paren)) (\` (nth 1 (or (\, syntax-ppss) (syntax-ppss))))) (_ form)))) | |
apply(#[771 "\2119\204 \300\301!\207\302\303D\304\305DF\207" [error "Only symbols are supported in `compiler-macro'" put quote (quote compiler-macro) function] 8 "\n\n(fn F ARGS COMPILER-FUNCTION)"] python-syntax-context (type &optional syntax-ppss) (lambda (form) (pcase ty |
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
require 'formula' | |
class ProtobufObjc < Formula | |
homepage 'https://github.com/Superbil/protobuf-objc' | |
url 'https://github.com/Superbil/protobuf-objc.git' | |
sha1 '7dcd0d77c5aeb706510d67d157793fd689ad4073' | |
head 'https://github.com/Superbil/protobuf-objc.git', | |
:branch => 'develop' |
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
# System-wide .bashrc file for interactive bash(1) shells. | |
if [ -z "$PS1" ]; then | |
return | |
fi | |
# yummy ! | |
PS1='\h:\W🍔 \u\$ ' | |
# Make bash check its window size after a process completes | |
shopt -s checkwinsize |