- Activity: http://developer.android.com/reference/android/app/Activity.html
- Intent: http://developer.android.com/reference/android/content/Intent.html
- Directory structure
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python -i | |
import objc | |
import os | |
DVTFoundation = objc.loadBundle('DVTFoundation', globals(), "/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework") | |
CSServiceClient = objc.loadBundle("CSServiceClient", globals(), "/Applications/Xcode.app/Contents/SharedFrameworks/CSServiceClient.framework") | |
IDEFoundation = objc.loadBundle("IDEFoundation", globals(), "/Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework") | |
Xcode3Core = objc.loadBundle('Xcode3Core', globals(), "/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin") |
// | |
// Foo.h | |
// InternCheck | |
// | |
// Created by Andrew Toulouse on 5/23/14. | |
// Copyright (c) 2014 Andrew Toulouse. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
""" Settings | |
imap \ymd <C-R>=strftime("%Y.%m.%d") | |
imap \date <C-R>=strftime("%c") | |
imap \vimss :s/\s\+$//<CR>i | |
set nocompatible " Don't care about vi compatibility | |
set backupdir=~/.vim/backup " Backup - specify directory | |
set directory=~/.vim/backup | |
set backup |
#include <iostream> | |
class BlahClass { | |
public: | |
BlahClass() { | |
std::cout << "BlahClass()" << std::endl; | |
} | |
~BlahClass() { | |
std::cout << "~BlahClass()" << std::endl; | |
} |
class action_disabler { | |
BOOL previousValue; | |
action_disabler(){ | |
previousValue = [CATransaction disableActions]; | |
[CATransaction setDisableActions:YES]; | |
} | |
~action_disabler() { | |
[CATransaction setDisableActions:previousValue]; |
@class X | |
@interface Y : NSObject | |
@property (nonatomic, assign) int z; | |
- (int)times:(int)other; | |
- (int)timesX:(X *)xObject; | |
@end | |
@implementation Y |
// Created by Andrew Toulouse on 5/6/13. | |
// Copyright (c) 2013 Andrew Toulouse. All rights reserved. | |
#import <Foundation/Foundation.h> | |
typedef NS_ENUM(NSUInteger, ATScrollDirection) { | |
ATScrollDirectionUp, | |
ATScrollDirectionDown | |
}; |
I noticed some people were typing a lot just to ssh. This can be a pain, so for those who don't already know, here's how you use SSH fast and effectively. These instructions primarily apply to *nix systems. Specifically, I saw Angie was typing more than she needed and I offered to email helpful instructions.
In your home directory, there will be a .ssh directory. This directory is where most of our magic will happen.
If you don't have one, go to your home directory and make the directory. Go ahead and cd into it.
[toulouse@myhomecomputer:~]% cd ~
[toulouse@myhomecomputer:~]% mkdir .ssh
[toulouse@myhomecomputer:~]% cd ~/.ssh