View gist:6201094
View t2study-6.md

t2study #6

  • もくもく会

やったことそれぞれ発表

  • @fukayatsu
    • chrome extension - fukayatsuのgithubにたくさんある - js-yaml…yamlをjsでパース
View cocoapods-update.md

いつも忘れるのでメモ

$ sudo gem update --system
$ sudo gem update cocoapods
$ pod --version
0.16.4 # バージョン番号が表示される
View t2study-5.md
View Better_NSLog.mm
#ifdef DEBUG
# define LOG(fmt, ...) {NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);}
# define ELOG(err) {if(err) DLog(@"%@", err)}
#else
# define LOG(...)
# define ELOG(err)
#endif
View s3-add-cache-header.rb
#!/usr/bin/env ruby
# -*- encoding: utf-8 -*-
require 'rubygems'
require 'aws/s3'
# コネクションを作成
AWS::S3::Base.establish_connection!(
:access_key_id => ACCESS_KEY_ID,
:secret_access_key => SECRET_ACCESS_KEY
View gist:3846662
$.post("https://github.com/users/follow?target=organizationName");
View gist:3300256
if (window.location.hash === '#_=_') {
window.location.hash = '';
}
View run.php
<?php
error_reporting(-1);
set_time_limit(0);
require_once "./twitteroauth/twitteroauth/twitteroauth.php";
$twitter = new TwitterOAuth(
{Consumer key},
{Consumer secret},
{Access token},
{Access token secret}
View SampleWindow.js
function SampleWindow(_title) {
var self = Ti.UI.createWindow({
title : _title,
backgroundColor : 'white'
});
return self;
}
module.exports = SampleWindow;