- Create new classes
- Which project when multiple projects?
- Not running from folder that actually has the project
- Look in current dir
- Look at top of git/hg/svn repo (code from investigate)?
- Ask for path?
- Set default project in cache?
- Cache location local directory
- When asking projects complete file path
- Not running from folder that actually has the project
- Which project when multiple projects?
- Ask if it should default
This file contains 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
set __pwd (pwd) | |
set __parent (basename (dirname $__pwd)) | |
set __current (basename $__pwd) | |
set __full (printf "%s/%s" $__parent $__current) | |
set __home (echo $HOME | awk '{ print substr($1, 2, length($1) - 1); }') | |
set __prompt (echo "$__full" | sed -e "s|$__home|~|" -e "s|$USER|~|" -e "s|^///|/|" -e "s|^//|/|") |
This file contains 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
https://github.com/syl20bnr/spacemacs | |
https://github.com/redguardtoo/mastering-emacs-in-one-year-guide | |
https://github.com/gbarta/evil-noautochdir | |
https://github.com/abingham/emacs-ycmd | |
https://company-mode.github.io/ | |
https://github.com/juanjux/emacs-dotfiles | |
https://bling.github.io/ | |
http://nathantypanski.com/blog/2014-08-03-a-vim-like-emacs-config.html | |
http://juanjoalvarez.net/es/detail/2014/sep/19/vim-emacsevil-chaotic-migration-guide/ |
This file contains 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
function! Buffers() | |
let ids = filter(range(1, bufnr('$')), | |
\ 'empty(getbufvar(v:val, "&bt"))' | |
\ . ' && getbufvar(v:val, "&bl")') | |
let names = [] | |
for id in ids | |
call add(names, bufname(id)) | |
endfor | |
return join(names, "\n") |
This file contains 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://stackoverflow.com/questions/5286274/front-most-window-using-cgwindowlistcopywindowinfo | |
http://stackoverflow.com/questions/13426488/notification-of-active-document-change-on-os-x | |
https://github.com/ianyh/Amethyst/blob/master/Amethyst/AMWindowManager.m | |
http://stackoverflow.com/questions/12540010/how-to-identify-window-under-mouse-with-objective-c | |
http://stackoverflow.com/questions/15612050/cocoa-objective-c-how-to-know-which-control-is-under-the-cursor | |
https://github.com/jigish/slate/blob/ff5ee5a53afc05b619cf9eb78e852b83ad714de4/Slate/RunningApplications.m | |
http://stackoverflow.com/questions/853833/how-can-my-app-detect-a-change-to-another-apps-window |
-
Shut down the machine and insert a USB drive with the Ubuntu 10.04 64 bit installation disk.
-
(Re)Boot the machine and press F12 (on Dell Optiplex 960) during the BIOS loading
-
Choose USB drive from the list of boot devices.
- If the machine continues to boot go back to step 2
-
Once Ubuntu starts up choose 'Install Ubuntu 10.04 LTS' (Desktop LTS ending April 2013)
-
Choose your timezone and keyboard layout
This file contains 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 UIView { | |
public override var accessibilityLabel: String? { | |
get { | |
return "Hi \(super.accessibilityLabel)" | |
} | |
set { | |
super.accessibilityLabel = newValue | |
} |
This file contains 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 | |
set -e | |
mail=~/.mail | |
maildirs=($mail/*) | |
inbox=INBOX | |
folders=(new cur) | |
archive="archive/cur" | |
trash="trash/cur" |
This file contains 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
extension NSEvent { | |
func eventByChangingKeyToKey(key: Int) -> NSEvent? { | |
var char = unichar(key) | |
let characterString = NSString(characters: &char, length: 1) | |
return NSEvent.keyEventWithType(type, | |
location: locationInWindow, | |
modifierFlags: modifierFlags, | |
timestamp: timestamp, | |
windowNumber: windowNumber, |
This file contains 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 | |
exec vim --startuptime ~/.cache/vim/"$(date -j -f "%a %b %d %T %Z %Y" "$(date)" "+%s")".log "$@" |
OlderNewer