Skip to content

Instantly share code, notes, and snippets.

@t-mat
t-mat / build-curl-7.27.0.md
Created October 5, 2012 02:36
curl-7.27.0 を VC++2012 でビルドする

curl-7.27.0 を VC++2012 でビルドする

全工程を行うと、30~60分程度かかります

前準備 : いろいろインストール

@cyrildiagne
cyrildiagne / (Patch) AppController.mm
Created November 1, 2012 16:44
iOS native video overlay inside a Unity3d app
/*
add this at the end of prepareRunLoop
*/
[_displayLink setPaused:YES];
/*
add this at the end of (void) applicationDidBecomeActive:
*/
video = [[InteractiveVideo alloc] initWithFrame:_window.bounds];
video.delegate = self;
@ecentinela
ecentinela / android_application_signature.java
Created December 5, 2012 20:11
Get Android application signature
PackageInfo info;
try {
info = getPackageManager().getPackageInfo("ecentinela.mercadotes", PackageManager.GET_SIGNATURES);
for (Signature signature : info.signatures) {
MessageDigest md;
md = MessageDigest.getInstance("SHA");
md.update(signature.toByteArray());
@taichi
taichi / testing_javascript.md
Last active February 7, 2018 00:09
javascript におけるユニットテストについて (2013/01)

javascript におけるユニットテストについて (2013/01)

ここの所、数か月おきにjsのユニットテストってどうやるのが良いのか悩んでいる気がするので、一つ情報集約の為にメモ書きをしておきます。

何かちゃんと文章書いておけば、それに対する反応が集まって、オレサマハッピー的な展開を望んでいます。

そもそも何を探しているのか

単体テストというか、ユニットテストというか、そういうアレを書く為のフレームワークを探しています。
覚える事が少なくて強力なやつ。

機能テストというか、e2eテストいうか、そういうアレの事は別途考える必要がありますので、今回はスコープ外とします。

@nakamura001
nakamura001 / Test.cs
Created January 22, 2013 05:38
UnityでHttpWebRequestを使う
using UnityEngine;
using System.IO;
using System.Net;
using System.Text;
public class Test : MonoBehaviour {
private string txt = "";
void OnGUI () {
if (GUI.Button(new Rect(10, 10, 200, 100), "テスト")) {
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 28, 2025 00:02
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@anchan828
anchan828 / gist:4697447
Created February 2, 2013 13:47
.assetファイル作成/保存ときのコード
public class Asset
{
public static void Save <T> (T asset) where T : ScriptableObject
{
Directory.CreateDirectory (DeployGateUtility.settingsFolderPath);
string assetPath = DeployGateUtility.settingsFolderPath + typeof(T).Name + ".asset";
T _asset = (T)AssetDatabase.LoadAssetAtPath (assetPath, typeof(T));
if (_asset == null)
AssetDatabase.CreateAsset (asset, assetPath);
AssetDatabase.SaveAssets ();
@brandenr
brandenr / gist:5118113
Last active March 10, 2020 18:57
iOS Unity Plugin
extern "C"
{
int _pow2(int x)
{
// Just a simple example of returning an int value
return x * x;
}
// Returns a char* (a string to Unity)
char* _helloWorldString()
@tsubaki
tsubaki / ScriptableObjectToAsset.cs
Last active October 30, 2024 14:13
ScriptableObjectをAssetsファイルとして出力する汎用スクリプト
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.IO;
/// <summary>
// ScriptableObjectをプレハブとして出力する汎用スクリプト
/// </summary>
// <remarks>
// 指定したScriptableObjectをプレハブに変換する。

2013 年の新卒研修メニュー

Rails Tutorial

目的

  • 2013 年にモダンな方法で一通り Web アプリケーションを自分一人で作れるようになってもらう
  • 作る過程で Web 開発で必要とされるアプリケーションレイヤのスキルセットを身につけてもらう

教科書