長旅なので、初日はちょっと良い温泉でまったり
- 9:00 出発
- ドライブ
- 12:00 富山でランチ
- ドライブ
- 16:00 山中温泉: かがり吉祥寺着(1日目宿)
- まったり過ごす
#! /usr/bin/env ruby | |
require 'net/https' | |
require 'cgi' | |
require 'json' | |
require 'time' | |
require 'thor' | |
class GitTickets < Thor |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <dispatch/dispatch.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
#define NUMBER_OF_LOOP 10000000 | |
#define BUFFER_SIZE 1000 |
/* http://gps.ayapani.com 参考 */ | |
[ | |
{ | |
"name": "群馬県", | |
"cities": [ | |
{ | |
"name": "前橋市", | |
"latitude": "36.2322", | |
"longitude": "139.0347" | |
}, |
// navigation bar の背景画像を設定 | |
[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"navigationbar.png"] | |
forBarMetrics:UIBarMetricsDefault]; | |
UIImage *backButtonImage = [[UIImage imageNamed:@"back.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 28, 0, 0)]; | |
[[UIBarButtonItem appearance] setBackButtonBackgroundImage:backButtonImage | |
forState:UIControlStateNormal | |
barMetrics:UIBarMetricsDefault]; | |
[[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(-100, 0) |
@interface NSOperationQueue (Block) | |
- (void)addOperationWithBlock:(void (^)(void))block; | |
@end | |
@implementation NSOperationQueue (Block) | |
- (void)addOperationWithBlock:(void (^)(void))block | |
{ | |
NSInvocationOperation *op; | |
op = [[NSInvocationOperation alloc] initWithTarget:self | |
selector: @selector(doBlock:) |
長旅なので、初日はちょっと良い温泉でまったり
package main | |
import ( | |
"fmt" | |
"github.com/PuerkitoBio/goquery" | |
"strings" | |
) | |
func main() { | |
url := "http://connpass.com/event/6370/participation/" |
module ::Guard | |
class Selenium < Guard | |
def start | |
puts "Starting Selenium on port TODO" | |
IO.popen(executable) | |
puts "Selenium is running with PID #{pid}" | |
$?.success? | |
end | |
def stop |
package main | |
import ( | |
"fmt" | |
) | |
type Any interface{} | |
type Incrementer interface { | |
increment() Any |
#! /Applications/Xcode6-Beta2.app/Contents/Developer/usr/bin/xcrun swift -i | |
println("Hello, Swift!") |