2017-01-01から1年間の記事一覧
Lispはいろんなのがあるけど、sbclにした。 Common LispのWebサーバ「Woo」がだから。 依存系のインストール(面倒なのでbrew) brew install libev brew install sbcl パッケージ管理?QuickLispのインストール quicklisp.lisp がDLされ、それがあるフォル…
from django.shortcuts import render ## 略 return render_to_response('mysite/home_u.html', my_context, context_instance=RequestContext(request )) これが動かなくなってた。 stackoverflow.com render_to_responseとかcontext_instanceとかいらなく…
普段無いが、 using UnityEditor; using UnityEditor.Animations; using UnityEngine; [CustomEditor(typeof(AnimatorController))] public class AnimatorControllerInspector : Editor { public override void OnInspectorGUI() { } } これでいける。
iOS 9.0, Xamarin Studio, "waiting for debugger to connect..." - Stack Overflow 実はiPhone設定
qiita.com https://forums.xamarin.com/discussion/30207/whats-the-deal-with-xamarin-forms-label-font-is-obsolete https://developer.xamarin.com/guides/xamarin-forms/user-interface/text/fonts/
int[] hoge = {}; Debug.Log(hoge.Length); hoge.Last (); InvalidOperationException: Operation is not valid due to the current state of the object System.Linq.Enumerable.Last[Int32] (IEnumerable`1 source)
XamlFilePathAttribute' does not exist in the namespace のエラーが出た。 https://forums.xamarin.com/discussion/86352/i-keep-getting-xamlfilepathattribute-class-not-found-error-when-modifying-xaml-files を見る。 Cleanをする、その後でbinとobj…
/Users/shinriyo/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- tk (LoadError) from /Users/shinriyo/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb…
<W> fish: An error occurred while redirecting file '/Users/shinriyo/.rbenv/version' open: No such file or directory rbenv global 2.4.1 のコマンド。 それで消えた。</w>
// Update and persist objects with a thread-safe transaction realm.Write(() => { realm.Add(new Dog { Name = "Rex", Age = 1 }); }); https://realm.io/docs/xamarin/latest/#class-subsets
gamedev.stackexchange.com .Load Text Assetsの代わり
GitHub - rakkarage/Flop: Unity 4.6 uGUI 'Cover Flow' Test
普通にApplicationsのフォルダをcommand + deleteしてもダメだった・・。 The item “Dropbox” can’t be moved to the Trash because some of its extensions are in use. こんなエラー。 仕方ないので、調べる。 https://discussions.apple.com/thread/70034…
ここの設定をYESにしないとだめっぽい いや、してもだめ? Add to?が必要? 【Unity】iOS向けビルドで必要なframeworkのインポートやビルド設定の変更を自動化する - naichi's lab いや、FrameWorkのSearch Pathっぽい? $(SRCROOT)追加。 matsu-chara.haten…
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: No installed provisioning profiles match the installed iOS signing identities. (アプリ名.iOS) こんなの出る。 実機ビルドにいちいちDeveloper登…
stdio.hがないといわれる c - Where is my "stdio.h" in Mac? - Stack Overflow find /Applications/Xcode.app -path '*/usr/include/stdio.h' しかし、 https://developer.apple.com/download/more/ からCommand Line Toolsインストールでいけた Architectu…
https://pewpewthespells.com/blog/convert_static_to_dynamic.html https://pewpewthespells.com/blog/convert_static_to_dynamic.html
http://howtocodethings.tumblr.com/post/146094967283/the-device-cannot-run-executables-for-arm64howtocodethings.tumblr.com を見た。
Google Analyticsの設定 https://docs.unity3d.com/Manual/AssetStoreAnalytics.html
http://stackoverflow.com/questions/11507239/linq-query-result-with-string-manipulation-and-regex string source = @"\354\202\254\354\232\251\354\236\220\354\203\201\354\204" + @"\270\354\240\225\353\263\264\354\236\205\353\240\245"; var r =…
c# - I have a string of octal escapes that I need to convert to Korean text - not sure how - Stack Overflow string source =@"\343\201\213\343\201\247\343\201\260"; こんなやつを変換
/Users/ユーザ名/Library/Developer/Xamarin/android-sdk-macosx ここにある。
UnityでDLLを使う UnityでDLLを使う | TVML
error: unknown type name '__declspec' のエラー。 本の虫: attributeは難しい Macというかgccでは__attribute__なの? __declspec(dllexport) を単純に __attribute__(dllexport) 置き換え。 すると error: expected '(' after '(' (を二重にしたw __attr…
mrubyをダウンロードした。 mruby-1.2.0.tar.gz 展開 tar zxvf mruby-1.2.0.tar.gz ビルド cd mruby ruby minirake mrubyでコンパイル sample.cpp作る #include <stdlib.h> #include <stdio.h> #include "mruby.h" #include "mruby/compile.h" int main() { auto mrb = mrb_open</stdio.h></stdlib.h>…
Google グループ IEではDeleteキーだけで今までの検索の履歴を簡単に消せたけど、 MacのChromeでDeleteキーで消えないと思ってた。 [Shift]+[fn]+[Delete]で消せる。 Windowsは[Shift]+[Delete]のみ。
$ which clang++ /usr/bin/clang++ $ which g++ /usr/bin/g++ $ which llvm-g++ /usr/bin/llvm-g++ $ which llvm-gcc /usr/bin/llvm-gcc $ which gcc /usr/bin/gcc Comparing clang to other open source compilers バージョンを見る $ clang -v Apple LLVM …
#inclideで相対パスにしないといけなさそうでいちいちfile not foundになった。 clang++ -std=c++11 -I ./ sample.cpp のように-Iオプションで./を指定した。 ヘルプはclang++ --helpで見られた。
blog.remora.cx Setting the cursor to a vertical thin line in vim - Stack Overflow
NSTextFieldで定義したやつはコピペできない・・・。 例えばこんなコード。 let urlField = NSTextField() urlField.frame = NSRect(x: 0, y: 0, width: 300, height: 20) urlField.lineBreakMode = NSLineBreakMode.byTruncatingHead urlField.usesSingleLi…