Skip to content

Instantly share code, notes, and snippets.

View ryugoo's full-sized avatar

Ryutaro Miyashita ryugoo

View GitHub Profile
@ryugoo
ryugoo / Qiita_MUGENUP.md
Created May 16, 2014 01:43
Qiitaの中の人とQiita:Teamを使う人と共に理想のチームについて考えてみませんか?

イベントメモ

登壇者

  • 海野 弘成
    • Increments
  • 伊藤 勝悟
    • MUGENUP

話題

Untitled Slide

Welcome to Glide.

Glide is the easiest way to create useful slide for all of your Gists.

  • input key <- to go backward.
  • input key -> to go forward.

Publishing

@ryugoo
ryugoo / app.js
Created February 9, 2014 13:15
Emulate resumed / paused event
(function () {
'use strict';
// OS の判定
var OS_IOS = Ti.Platform.osname === 'iphone' || Ti.Platform.osname === 'ipad',
OS_ANDROID = Ti.Platform.osname === 'android';
// resumed / paused イベント
Ti.App.addEventListener('resumed', function () {
console.debug('resumed');
@ryugoo
ryugoo / nucon.md
Created February 4, 2014 09:34
Technical Track memo

Nulab のカンファレンス NUCON (2014/02/04)

始まる前に

  • CodeIQ が飲み物とおやつを提供
    • 専用のコラボドーナツを作ってる!
  • 意外とラップトップを開いている人は多くない
  • やっぱり Mac が多い
  • スーツ姿の人も多い
  • 雨天決行でも、人の入りは良い感じ
  • スタッフは Nulab パーカー着てる
@ryugoo
ryugoo / tiapp.xml
Created October 29, 2013 06:46
Titanium Mobile 3.1.3.GA / Enable iOS 7 Launch Image settings for tiapp.xml (snippet)
<ios><plist><dict>
<key>UILaunchImages</key>
<array>
<dict>
<key>UILaunchImageMinimumOSVersion</key>
<string>7.0</string>
<key>UILaunchImageName</key>
<string>Default7</string>
<key>UILaunchImageOrientation</key>
<string>Portrait</string>
@ryugoo
ryugoo / iOS7Yahoo.md
Created October 7, 2013 12:40
iOS 7 エンジニア勉強会 @yahoo - 2013/10/07
  • Yahoo! 株式会社
  • 2013/10/07
  • 資料は後ほどシェア

iOS 7 でアプリ開発はどう変わる (佐野さん)

  • iOS 7 のデザイン原則
    • UI はコンテンツに従順 * Safari が分かりやすい
  • ナビゲーションバーが殆ど消える
// 1 / 1000 [ms] (3rd argument, true, The ready-to-run in the first call.)
var func = _.debounce(function () {
console.log('Debounced function.');
}, 1000, true);
func(); // Debounced function.
func(); // nop
func(); // nop
func(); // nop
var core, Model, model;
core = Object.create(Backbone.Events);
Model = Backbone.Model.extend();
model = new Model();
core.listenTo(model, 'myEvent', function () {
console.log('Hello, World');
});
@ryugoo
ryugoo / app.js
Created March 28, 2013 02:46
Titanium Mobile ScrollableView minimal apps sample.
/*jslint devel:true */
/*global Titanium */
(function (Ti) {
"use strict";
var tabGroup, tab, win, sview;
tabGroup = Ti.UI.createTabGroup();
win = Ti.UI.createWindow({
backgroundColor: "#FFFFFF",
title: "Photo Gallery",
tabBarHidden: true
@ryugoo
ryugoo / build.py
Created February 18, 2013 02:41
Modified TiCordova build.py
#!/usr/bin/env python
#
# Appcelerator Titanium Module Packager
#
#
import os
import subprocess
import sys
import glob
import string