Skip to content

Instantly share code, notes, and snippets.

View 53ningen's full-sized avatar
🐰
Is the Order a Rabbit?

gomi_ningen 53ningen

🐰
Is the Order a Rabbit?
View GitHub Profile

夏のアレ

アドリア海周辺都市(ベネツィア・ドブロブニク)+アルザス(ストラスブール・コルマール)コース

概要

日次 日付 国・地域 行程
1 8/19(FRI) 東京〜フランクフルト〜ミュンヘン〜インスブルック インスブルック泊
/// `* -> *`
public class K1<A> { public init() {} }
public protocol Functor {
associatedtype A
associatedtype B
associatedtype FB = K1<B>
func fmap(f : A -> B) -> FB
}
indirect enum TailRec<T> {
case Done(T)
case More(() -> TailRec<T>)
func run() -> T {
var tailRec = self
while true {
switch tailRec {
case .More(let next): tailRec = next()
case .Done(let t): return t
@53ningen
53ningen / 20161107.sh
Last active November 7, 2016 05:41
佐倉綾音さんの音声を保存するシェルスクリプト
#!/bin/sh
wget http://www.morinaga.co.jp/cocoa/milk/message.ogg
wget http://nbcuni-audio.edgesuite.net/20161107.mp3

この資料はラビットハウス社内で開催される、iOSアプリ開発未経験者向けのハンズオン会向けに作成されたものです。このハンズオンを一通り行うことにより、iOS開発において以下のことができるようになります。

  • 基本的なUIKitコンポーネントの利用
    • UILabel: テキストの表示
    • UIButton: ボタンの表示
    • UIImage: 画像の表示
    • UITableView: テーブルの表示
    • StoryboardとAuto Layoutの利用: UIをデザインベースで構成する仕組み
    • プッシュ遷移とモーダル遷移: iOSの大きな2つの画面遷移パターン
  • 非同期処理: ユーザーの操作感を妨げずに、裏側で処理を走らせるなど
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{080A956E-17EC-444C-9716-205E11D7B4D9}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Mastodon.API.Tests</RootNamespace>
<AssemblyName>Mastodon.API.Tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{080A956E-17EC-444C-9716-205E11D7B4D9}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Mastodon.API.Tests</RootNamespace>
<AssemblyName>Mastodon.API.Tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
namespace NcmbAsObservables
{
/// <summary>
/// NCMBObjectの拡張
/// </summary>
public static class NcmbObjectExtensions
{
/// <summary>
/// 非同期処理でオブジェクトの取得を行います。
/// </summary>
@53ningen
53ningen / twipla.js
Last active January 17, 2019 11:08
twipla の参加者名とtwitter ID を CSV 形式で引っこ抜くスクリプト
// twipla のイベントページを開いて、Chrome Developer Tool より以下を実行
console.log(j$(".float_left.member_list.round_border li").toArray().map((e) => [e.textContent.trim(), e.lastChild['href'].slice(24, e.lastChild['href'].length)].join(',')).join("\n"))
// 出力を CSV 形式で保存してエクセルで開く