万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

2016-06-01から1ヶ月間の記事一覧

Unity EditorでArrayのbool, string

面倒なので拡張 public static class Extends { /// <summary> /// Gets the bool array value. /// boolの配列を取得する. /// </summary> /// <returns>The bool array value.</returns> /// <param name="myProp">My property.</param> /// <param name="key">Key.</param> public static bool[] GetBoolArrayValue(this SerializedProp…

第9回これから始める人のためのNode.js,React.js勉強会

http://node.connpass.com/event/34498/ VS Code https://code.visualstudio.com/docs/setup/osx ⇧⌘Pを押下して、codeコマンドを入れる shell command サンプルを見る cd redux/examples/todos 動かす インストール npm install 起動 npm start ブラウザで見…

Happy Hacking KeyboardでたまにCapslockが

Happy Hacking Keyboard | Happy Hacking Keyboard Professional JP | PFU [Tab]キーと右の[Fn]キーとで発生した。

Scalatraいれる Mac OS X

前提 ・wget必須 brew install wget ・sbtいれる? Error: Unable to access jarfile /Users/shinsugita/.conscript/sbt-launch.jar 上のへんなエラー出るのでsbt-launch.jarが必須? sbt Reference Manual — 手動インストール ダウンロードしてきて cp ~/Do…

Unityで古いXamarin Studioを使う

Xamarin Studio がアップデートを促したので、 6にアップデートされてしまい、Unityのプロジェクトが上手く開かなくなった。 Outdated cask: xamarin-studio · Issue #17941 · caskroom/homebrew-cask · GitHub xamarin.ios - From where can I download xam…

ReduxのTodoを動かす

http://redux.js.org/docs/introduction/Examples.html git clone https://github.com/reactjs/redux.git cd redux/examples/todos npm install npm start open http://localhost:3000/ 解説 qiita.com

PhoenixとReactのよさ気な記事

https://medium.com/@diamondgfx/phoenix-v1-1-2-and-react-js-3dbd195a880a#.fuhd0fz65

VS CodeのUnityのVSCode.cs

https://msdn.microsoft.com/ja-jp/library/hh264221.aspx #if !UNITY_EDITOR_WIN // Make sure our reference framework is 4.0, still the base for Unity if (content.IndexOf("<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>") != -1) { content = Regex.Replace(content, "<TargetFrameworkVersion>v3.5</targetframeworkversion>

Xamarin プログラミングもくもく会 #2

Xamarin プログラミングもくもく会 #2 - dots. [ドッツ] 公式のサンプル public class Person : RealmObject { [ObjectId] public string SSN { get; set; } [Indexed] public string Name { get; set; } public RealmList<Dog> Dogs { get; } } SSN・・・アメリ</dog>…

NGUIのローカライズ(UILocalize.cs)でリフレッシュ

www.tcmobile.jp NGUIのローカライズ機能のUILocalizeは便利だが・・。 csv(拡張子は.txt)をいじるたびに再起動? そんな面倒なことしてられっか! UILocalizeEditor.csのOnInspectorGUIメソッドの中にこれを追加して if(GUILayout.Button(new GUIContent(…

VS Codeのメモ

command + P でインストール。 User Settingsはどこ?command + , codezine.jp 設定 VS Codeを使ったUnity開発 - Qiita

Specified cast is not valid.の解決策

https://msdn.microsoft.com/ja-jp/library/b95fkada(v=vs.90).aspx

Xamarin C# System.NotSupportedExceptionのエラー。

定義 // Define your models like regular C# classes public class Dog : RealmObject { [ObjectId] public string SSN { get; set; } public string Name { get; set; } public int Age { get; set; } public Person Owner { get; set; } } public class P…

XamarinでAndroidのRealmのファイルはどこ?

僕は/配下から検索 zsh find / -name \*.realm zshじゃなければ find / -name *.realm

VisualStudio CodeをUnityで

https://code.visualstudio.com/Docs/runtimes/unity

sbt-launch

ln -s /usr/local/Cellar/sbt/0.13.11/libexec/sbt-launch.jar ~/.conscript/sbt-launch.jar https://github.com/foundweekends/conscript/issues/47

Scalaスケーラブルプログラミング第2版 正誤表

book.impress.co.jp

Scala入門者向けハンズオン

6月5日 http://connpass.com/event/30007/ インストール手順はここが基本だが、まだ中途半端。 https://github.com/mike-neck/scala-study/wiki/%E6%BA%96%E5%82%99 ダウンロードから mv activator-dist-1.3.10 /usr/local/share/ zshrcにセット export PATH…

D言語インストール

ココ参照: http://blog.64p.org/entry/2012/07/10/082106 dmdはパッケージ管理ツール? brew install dmd ココをコピー import std.stdio; void main() { writeln("hello, world"); } mkdir d_study cd d_study # コンパイル(時間付き) time dmd foo.d # …

謎のエラーXamarin

Xamarin.Forms.Platform.Android.FormsApplicationActivity The type of namespace Platform does not exist in Xamarin.Forms - Stack Overflow public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity ココに関し…

Have an “'Resource.Attribute' does not contain a definition for 'actionBarSize'” error

c# - How to check the title bar height of Xamarin Android activity - Stack Overflow

MacでRealm入れる。Xamarin

nuget install Realm Attempting to resolve dependency 'Fody (≥ 1.29.4)'. Installing 'Fody 1.29.4'. Successfully installed 'Fody 1.29.4'. Installing 'Realm 0.75.0'. Successfully installed 'Realm 0.75.0'.

Xamarin プログラミングもくもく会

http://eventdots.jp/event/589512 参加しました。 Creating Mobile Apps with Xamarin.Forms Preview Edition 2 (Developer Reference)作者: Charles Petzold出版社/メーカー: Microsoft Press発売日: 2015/04/11メディア: Kindle版この商品を含むブログを…

納得行かないあいまい C# コンストラクタ

C#

class Hoge { public Hoge(Transform aho) { } public Hoge(bool aho, bool a=false) { } } こんなクラスでコンストラクタもある。 それに対して以下で初期化 var a = new Hoge (this,transform); 以下のエラーになる。 error CS0121: The call is ambiguous…

Unityでもうtrackしてないのに.metaが出来てしまい、いらないフォルダや.metaを消すコマンド

git ls-files --others --exclude-standard | grep .meta | sed -e 's/.meta//g' | xargs rmdir;git clean -f のコマンド。 解説 git ls-files --others --exclude-standard が、untrackの一覧が出る。 そして↓コマンドでその中から.metaのを抽出 grep .meta…