2017-01-01から1ヶ月間の記事一覧
色替え set_color green 色見本 fish doesn't understand the color white · Issue #3176 · fish-shell/fish-shell · GitHub 元の色 set_color normal vim用シンタックスハイライト fish-syntax - fish syntax based on sh : vim online
よくわかってないが、関数hogeを作るときに functions/hoge.fishを作って、 その中に funcstions hoge # do something end を書くのが面倒くさい。 これをうまくヒアドキュメントで出来ないのか? fish Tips: string trimで疑似ヒアドキュメントを実現する …
コンストラクタで呼べない、 FindObjectsOfType is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. デストラクでやると? FindObjectsOfType can only be called from th…
history | nl | less これで出る。 https://github.com/fish-shell/fish-shell/issues/2200 標準コマンドをオーバーライド .config/fish/config.fishをいじる。 function history builtin history | nl | less end builtinを書くのはデフォルトのhistoryコマ…
GitHub - mroth/scmpuff: :1234: add numbered shortcuts to common git commands こっちに移行する。 scmpuff。
oh-my-zはオワコンなので消す。 oh-my-zshを消す uninstall_oh_my_zsh fishを入れる brew install fish fishをデフォルトのシェルにする which fish chsh -s /usr/local/bin/fish このエラーがでるとき chsh: /usr/local/bin/fish: non-standard shell /etc/…
libpng warning: Application built with libpng-1.4.12 but running with 1.6.28 /Users/shinriyo/torch/install/bin/luajit: /Users/shinriyo/torch/install/share/lua/5.1/image/init.lua:176: [write_png_file] png_create_write_struct failed stack tr…
neural-styleは画像をDeep Learningでピカソ風にしたりとかのやつ。 Torch7,loadcaffeが必要だ。 thコマンドはTorch7のコマンドだ。 インストール 人工知能で画像合成させる「ostagram」実行環境の作り方 - Hacking My Way 〜 itogのhack日記 が参考になる。…
qiita.com qiita.com これらを見た。 ハマったのは 無線LANパスワード設定 GUIで設定しようとしたけどWifiが日本語名なのかパスワードをOKしてくれない・・。 /etc/network/interfaces 自体に/etc/wpa_supplicant/wpa_supplicant.confの設定ファイルを参照し…
https://forum.unity3d.com/threads/set-state-to-last-frame-of-animation-save-position-of-animation.276437/ animationならいくらでも情報があるが、Animatorにはあまりない。 animatorがインスタンス変数 int hash = Animator.StringToHash("ステートマ…
AssetDatabase.SaveAssets ();の動作は「Save Project」と同じ。 なのでショートカット作成しよう。 using UnityEditor; using UnityEngine; public class MyEditorWindow : EditorWindow { [MenuItem("File/Save Project %&s")] static void SaveProject() …
qiita.com これ見たが ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the…
https://developer.nvidia.com/cuda-downloads ドライバを入れる wget https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_linux-run みたいにいれる。 ブラックリスト編集 /etc/modprobe.d/blacklist-nouveau.confをいじる…
はじめての深層学習(ディープラーニング)プログラミング Kindle版 のためにVagrantの環境 はじめての深層学習(ディープラーニング)プログラミング作者: 清水亮出版社/メーカー: 技術評論社発売日: 2016/12/07メディア: Kindle版この商品を含むブログ (2…
なぜBottleにしたかって? 1ファイルのサーバだからな。 brumpyはgit cloneしたあとに make export GOPATH=$PWD/build export PYTHONPATH=$PWD/build/lib/python2.7/site-packages これでいけた。 2.7対応なのでそれしないとだめっぽい。 ↓このエラー。 Trac…
VirtualBoxでUbuntu系OSを入れていた。 grumpyとはこれ。 GitHub - google/grumpy: Grumpy is a Python to Go source code transcompiler and runtime. ssh vagrant でsshで入ったあとに、 まず、以下のコマンドでgccgo-goを入れてみると sudo apt-get insta…
Peppermint 5 gist.github.com ・アクセス vagrant ssh ・git入ってないのでいれる sudo apt-get install git
12ページのコピペメモ cd ~ git clone https://github.com/blynkkk/blynk-library.git cd blynk-library/linux make clean all target=raspberry sudo ./blynk --token=AUTH TOKEN Lチカ 指南書のLチカはチカチカしないでつけるだけ・・・ コピペでLチカ!ラ…
玄人志向、自作IoTが楽しめるRaspberry Pi 3の組み立てキットと拡張キット | マイナビニュース コレを買った。 必要なもの このキット買えば全部できると思ったが・・ ↓これら必要 ・USBキーボード ・USBマウス ・HDMI対応のモニタ ・SDカードリーダ 必要な…