2016-01-01から1年間の記事一覧
Japanese here uchinoinu.hatenablog.jp Situation Rails 4.2 Ruby 2.3 Spring 1.3.5 direnv 2.8.1 Manage environment variables by direnv run rails command using Spring Problem Adding new environment variables, rails c cannot load any environmen…
English here uchinoinu.hatenablog.jp 状況 Rails 4.2 Ruby 2.3 Spring 1.3.5 direnv 2.8.1 direnvで環境変数を管理している Springを使ってrailsコマンドを動かしている 問題 環境変数を追加したら、rails sは通るけど、rails cでは環境変数を読み込めなく…
Japanese here. uchinoinu.hatenablog.jp sass: img width: 100% Write like above, <style type="text/css"> img { width: 100%; } </style> Output html like above. Reference マークアッパー的 Slim 入門21の手引き | e2esound.com業務日誌
English here uchinoinu.hatenablog.jp 簡単でした sass: img width: 100% と書くと <style type="text/css"> img { width: 100%; } </style> と出力されます。 Reference マークアッパー的 Slim 入門21の手引き | e2esound.com業務日誌
Japanese here uchinoinu.hatenablog.jp Standard Way Set title property in NavigationItem of NavigationController self.navigationItem.title = "title" Popular Failure self.navigationController.title = "title" Rapid Way Set title property of U…
English Here. uchinoinu.hatenablog.jp ちゃんとした方法 NavigationControllerのNavigationItemのtitleプロパティに設定する self.navigationItem.title = "title" よくある間違い self.navigationController.title = "title" 手っ取り早い方法 selfがUIVi…
Japanese version is here uchinoinu.hatenablog.jp Env Xcode 8.0 bata Swift 3 Situation Make UI using Storyboard Using IBOutlet Transition by Code Problem 遷移先でIBOutletさんがnilになります Reason I did wrong way to call ViewController to t…
English is here. uchinoinu.hatenablog.jp 環境 Xcode 8.0 bata Swift 3 状況 StoryboardでUIをつくちゃっている IBOutletを使っている せめて遷移にはSegueではなくコードを使う 問題点 遷移先でIBOutletさんがnilになります 原因 Segueを使わないので、遷…
Japanese version is here uchinoinu.hatenablog.jp Env Xcode 8.0 bata Swift 3 Principle to develop Make UI using Storyboard Using IBOutlet Transition by Code Problem 遷移先でIBOutletさんがnilになります Reason I did wrong way to call ViewCont…
状況 環境 Xcode 8.0 bata Swift 3 方針 StoryboardでUIをつくちゃっている IBOutletを使っている せめて遷移にはSegueではなくコードを使う 問題点 遷移先でIBOutletさんがnilになります 原因 Segueを使わないので、遷移にはコードを使っていました。 遷移…
Japanese is here uchinoinu.hatenablog.jp I watched this view often. Now make the manual to localiztion Flow This time, I made localization env like below. - Base is English - add Japanese. 1. Generate Localizable.strings 2. Set up show fil…
English is here uchinoinu.hatenablog.jp Webアプリではやったことあっても、iOSではなかったのですが、 ↓はよく目にしていました。 ちゃんと手順をおってみます。 手順 1. Localizable.stringsを作成 2. Localizeの設定 出来たファイルをinspector表示しま…
Related to uchinoinu.hatenablog.jp Warning “file xxx is missing from working copy” at project building How This time, warning against to deleted file. Maybe cache of git is problem. $ git rm -r --cached .
↓と関連してます uchinoinu.hatenablog.jp Warning(警告) “file xxx is missing from working copy” at project building 対応 実際に存在しないファイルについてこういう警告がでたときは、Gitのcacheを消したらうまくいきました。 $ git rm -r --cached .
Warning The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'. Dealing Remove Info.plist from Copy Bundle Resources in Build Phase Reference Technical Q&A QA1649: WARNING: The Copy Bundle Resources build…
概要 2016年も半年が過ぎて、早7/3。 本当は毎日、毎週、毎月ちゃんと振り返りたかったけど、 まずは今日から始めたいと思います。 簡単なまとめ 心の成長?復活?が出来ました 好きなことを思い出して、またやれるようになった 自分の性質について少し理解で…
これまでに書いたもの http://satomi.hatenablog.jp/entry/2016/06/26/104827satomi.hatenablog.jp http://satomi.hatenablog.jp/entry/2016/06/26/093734satomi.hatenablog.jp http://satomi.hatenablog.jp/entry/2016/06/25/213801satomi.hatenablog.jp 作…
これまでFacebook botを作った経緯や作り方を書きました。 http://satomi.hatenablog.jp/entry/2016/06/26/093734satomi.hatenablog.jp http://satomi.hatenablog.jp/entry/2016/06/25/213801satomi.hatenablog.jp 今回は LINE bot の作り方を書きます https…
前回、概要と昨日までの成果物を書きました↓ http://satomi.hatenablog.jp/entry/2016/06/25/213801satomi.hatenablog.jp 今回はFacebook botをどう作ったか書きます。 環境 Heroku Ralis 4.2 Ruby 2.2 Uchinoinu - MyDogはbotだけじゃなくウェブサービスも…
Uchinoinu - MyDog はこれまでTwitterでのうみちゃんの可愛いツイート垂れ流しbotしかサービスを持っていませんでしたが、 Facebookでうみちゃんと話せる機能が実装されました! とはいえ、まだオウム返しですがc(`Д´と⌒c)つ彡 実は、隠し機能としてtwitter…
こんなWarning(警告)がでました The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'. 対応はこんな感じ build phase の Copy Bundle Resources から Info.plistを削除 参考 Technical Q&A QA1649: WARNING: The Co…
日本語はこちら uchinoinu.hatenablog.jp What I want to do local --(git push origin master)--> bitbucket --> wercker --(passしたら)--> heroku Problems wercker is difficult to use for me Recently, wercker is really changeable. Free plan is wo…
English Version is here uchinoinu.hatenablog.jp やりたいこと Bitbucketにpushしたら、werckerが動いて、パスしたら、Herokuにデプロイされる local --(git push origin master)--> bitbucket --> wercker --(passしたら)--> heroku 問題 Werckerが変わり…
Key Points 以下のことをやったらUpload出来た Linked Frameworks and Libraries に同名のframeworkが複数存在したので、それぞれ1つにした Navigatorのとこも同名のframeworkが複数存在したので整理した ただ↑以外にもCartfileをいじったりしていたので、こ…
Outline $ brew rm carthage $ brew install carthage でもこれじゃバージョンが変わらなかった。ので $ brew link --overwrite --dry-run carthage Would remove: /usr/local/bin/carthage $ brew link --overwrite carthage Linking /usr/local/Cellar/car…