| 動画 | セミナー | 書籍 | 仕事としてやる | ガルこれ
--- | --- | --- | --- | --- | ---
とっつきやすさ | ○ | × | × | ○ | △
最初の一行を書くまでの敷居が低いか | △ | ○ *1 | × | ○ | ○
文法や基本的な関数の習得に向いているか | × *2 | ○ | × | ○ | ○
モチベーションを保ちやすいか | △ | ○ | × | ○ | ○
プログラミング以外のことを学べるか
(デザイン、ディレクション、マネジメント、テストの仕方、ライブラリのこと、などなど) | △ | ○ | ○ | ○ | ×
お金がかからない | ○ | × | △ | ○ *3 | ○
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
var host = location.host; | |
var protocol = location.protocol; | |
$(function() { | |
$(window).hashchange(function() { | |
// ここらへんで、現在の状態を location.hash から引けるように保存する。 | |
// 次に、 location.hash から依然に保存されたものがあれば、取得する(リフレッシュするかも) | |
$('title').text(location.hash); | |
$('#log').text($('#log').text() + 'push ' + location.hash + "\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
#import <UIKit/UIKit.h> | |
@interface TESTStreamDelegate : NSObject <NSStreamDelegate> | |
@property (strong, nonatomic) NSInputStream *inputStream; | |
@property (strong, nonatomic) NSOutputStream *outputStream; | |
- (void) request; | |
@end |
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
+ (NSString*) stringEncodedPercentWithString:(NSString*)source | |
{ | |
NSString *encodedString = (NSString *)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)source, NULL, (CFStringRef)@"!*'();:@&=+$,/?%#[]", kCFStringEncodingUTF8); | |
[encodedString autorelease]; | |
// Show target's memory address. | |
NSLog(@"encodedString address = 0x%p", encodedString); | |
// Show target's autorelease count | |
[NSAutoReleasePool showPools]; |
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
sudo apt-get -y install ack-grep vim | |
cat << BASH_ALIASES_EOS > ~/.bash_aliases 2>&1 | |
alias ack=ack-grep | |
BASH_ALIASES_EOS | |
cat << VIMRC_EOS > ~/.vimrc 2>&1 | |
syntax on | |
set number | |
set expandtab |
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
<?php | |
$phoneNumber = '+818012345678'; | |
$dbus = new DBus(); | |
$n = $dbus->createProxy('com.Skype.API', '/com/Skype', 'com.Skype.API'); | |
if ($n->Invoke('NAME test') !== 'OK') die(); | |
if ($n->Invoke('PROTOCOL 7') !== 'PROTOCOL 7') die(); |
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 up xvfb.conf like https://gist.github.com/1934754 | |
# as a prerequisite for this configuration. | |
description "Skype" | |
start on (net-device-up | |
and local-filesystems | |
and started dbus | |
and started xvfb | |
and runlevel [2345]) |
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
syntax on | |
set number | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=0 | |
set smartindent |
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
contents of foo |
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
contents of bar |
OlderNewer