Skip to content

Instantly share code, notes, and snippets.

#import <Foundation/Foundation.h>
@interface NSDictionary (QueryStringBuilder)
- (NSString *)queryString;
@end
@uzzu
uzzu / 00_Case.cs.md
Last active August 29, 2015 14:11
C#でパターンマッチング
@uzzu
uzzu / SyncVsOnlyCSharp.cs
Last active August 29, 2015 14:14
*-csharp.slnなソリューションを開くUnityEditor拡張
using System;
using System.Reflection;
using System.Linq;
using UnityEditor;
public static class SyncVsOnlyCSharp
{
[MenuItem("Assets/Sync MonoDevelop Project (CSharp-Only)")]
public static void SyncMonoDevelopProject()
{

4.6.7p1

  • (705724) - iOS/IL2CPP: Allow Type.GetType(string) to return a proper value on 32-bit ARMv7 builds.
  • (696745) - iOS/IL2CPP: Generate correct C++ code for the IL add opcode with pointers in unsafe C# code.
  • (702203) - iOS/IL2CPP: Prevent a C++ compiler error in generated code which happens when a pointer is assigned a value which is a uintptr_t in converted unsafe C# code.
  • (693259) - iOS/IL2CPP: Prevent AES encryption types from being incorrectly stripped when they are used.
  • (695319) - iOS/IL2CPP: Prevent an intermittent crash on ARM64 when an live object is incorrectly reclaimed but the garbage collector.
  • (705860) - iOS/IL2CPP: The Preserve attribute can now be used in the managed code for an assembly to preserve all of the code in an assembly.
  • (705860) - iOS/IL2CPP: The preserve attribute can now be used with the assembly element in a link.xml file to preserve all of the code in an assembly.

4.6.6p4

@uzzu
uzzu / rmnonasciichars.sh
Created October 4, 2012 10:26
ファイル中のASCII文字以外の文字を消す ref: http://qiita.com/items/fd0b89955d18fb21a3ae
#!/bin/sh
usage() {
echo Usage: $0 [OPTIONS] DIRECTORY FILEPATTERN
echo;
echo "\t\tOPTIONS equivalent to OPTIONS of sed"
}
case "$#" in
2) find $1 -name $2 | xargs sed -e 's/[^\x00-\x7E]//g' | less;;
3) find $2 -name $3 | xargs sed $1 's/[^\x00-\x7E]//g';;
*) usage;;
@uzzu
uzzu / 00_stage_reference_in FlexUnit4_methodA.md
Last active December 10, 2015 20:58
Stage reference in FlexUnit4 method A.
We couldn’t find that file to show.
@uzzu
uzzu / 00_stage_reference_in_FlexUnit4_methodB.md
Last active December 10, 2015 20:58
Stage reference in FlexUnit4 method B.
We couldn’t find that file to show.
@uzzu
uzzu / dotlink.bat
Last active December 11, 2015 04:28
windows7でdotfilesに対するシンボリックリンクを貼る時に使えそうなソース
@uzzu
uzzu / fuga.ts
Created March 25, 2013 01:08
こっちだと通る
module A {
module B {
class Fuga {
}
}
}
@uzzu
uzzu / Hoge.cs
Last active December 17, 2015 10:39
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Hoge : MonoBehaviour
{
public List<Vector3> Points;
// Use this for initialization
void Start()