prinum note
Programing note.
2012年7月6日金曜日
Mr.zips
http://itunes.apple.com/us/app/mr.zips/id537089637?l=ja&ls=1&mt=8
新しいiphoneアプリを作りました。
カメラロールの画像をまとめてzipに保存します。
wifiで共有したりできます。
iphoneスクリーンショット
ipadスクリーンショット
2012年7月2日月曜日
arc対応のソースを混在させる。
http://program.station.ez-net.jp/special/objective-c/llvm/arc/enable-file.asp
http://d.hatena.ne.jp/shu223/20111229/1325141509
// ARC を有効化したい場合
-fobjc-arc
// ARC を無効化したい場合
-fno-objc-arc
ビルドするところを、ターゲット別に分ける
無料版と有料版で動作を変えるためにマクロを設定する。
Freeターゲットの
Build Settings
LLVM GCC 4.2 - Preprocessing
の項目で、
Preprocessor Macros に
_FREE_
を追加。
ソースコードで、
#ifdef _FREE_
#else
#endif
とする。
2012年7月1日日曜日
eveblo
Welcome
to
Eveblo
!
Do you think open your note more easily.
To put this idea in practice , I use
Evernote
and
blogger
in close cooperation with each other.
I write this entry used by Evernote .
This is the original
note
.
Examples are as follows.
Change Font .
color,
bold,
italic,
UNDERLINE
Hyper link .
ex)
Evernote
checkbox
left
center
right
horizon line
Insert image
List
(now using)
table
service
link
Evernote
http://evernote.com/
Blogger
http://www.blogger.com/
Do you want to publish your note easily ?
http://eveblo.com/
eveblo_jp
Welcome to
Eveblo
!
あなたは簡単にノートをブログに公開しようと考えたことはありませんか?
私は
Evernote
と
blogger
を連携することで、これを解決することにしました。
このblogのエントリーもEvernoteで書かれています。
その共有URLは
こちら
です。
Evernoteに書かれているものなら、そのままblogに公開されます。
以下にどのようなことができるのかを例示します。
Fontの変更。
color,
bold,
italic,
UNDERLINE
チェックボックス
left
center
right
水平線
画像の挿入
リストの表示。(現在使用中です)
表の表示。
service
link
Evernote
http://evernote.com/
Blogger
http://www.blogger.com/
皆さんもノートを広く公開しませんか?
http://eveblo.com/
2012年6月13日水曜日
mac lionで $ rvm install 1.9.1 が出来ない。
$ rvm get latest
$ rvm reload
$ rvm version
rvm 1.14.1 (latest) by Wayne E. Seguin <
wayneeseguin@gmail.com
>, Michal Papis <
mpapis@gmail.com
> [
https://rvm.io/
]
$ rvm install 1.9.1
The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`.
LLVMじゃコンパイルは出来ねーぞみたいなことが書いてある。
gccが入ってあるか探す。
$ ls /usr/bin/ | grep gcc
gcc
i686-apple-darwin11-llvm-gcc-4.2
llvm-gcc
llvm-gcc-4.2
コンパイルにgccを使うために環境変数を指定。
$ export CC=gcc
$ rvm install 1.9.1
Ruby 'ruby-1.9.1-p431' was build using clang - but it's not (fully) supported, expect errors.
Please be aware that you just installed a ruby that requires 2 patches just to be compiled on up to date linux system.
This may have known and unaccounted for security vulnerabilities.
Please consider upgrading to Ruby 1.9.3-194 which will have all of the latest security patches.
Ruby 1.9.3-194を使えよって警告がでたけど気にしない
$ rvm list
rvm rubies
ruby-1.9.1-p431 [ i386 ]
$ rvm install 1.9.1
できた!
2012年6月8日金曜日
herokuで複数アカウント、
一つのMacに会社と自分のherokuアカウントを使い分ける
$ heroku plugins:install git://github.com/ddollar/heroku-accounts.git
$ heroku accounts:add new_user --auto
Enter your Heroku credentials.
Email:
Password (typing will be hidden):
プロジェクト毎にアカウントを設定する。
各プロジェクト毎に利用するHerokuアカウントを設定するには、プロジェクトのディレクトリでaccounts:setサブコマンドを実行する。
$ cd $RAILS_APP
$ heroku accounts:set new_user
herokuのpush先を変更する
$ git remote add heroku git@
heroku.new_user:
app_name.git
ここのpush先のURLの指定に一番ハマりました。
masterをpush
$ git push heroku master
branch hugeをpush
$ git push heroku hoge:master
参考ページ
http://journal.sooey.com/162
https://github.com/ddollar/heroku-accounts
新しい投稿
前の投稿
ホーム
登録:
投稿 (Atom)