Thursday, September 8, 2011

Eminem & Royce Da 5’9 � Lighters Lyrics

Found a good music!

Eminem & Royce Da 5'9 � Lighters Lyrics

[Bruno Mars]
This one's for you and me, living out our dreams
We're all right where we should be
Lift my arms out wide I open my eyes
And now all I wanna see
Is a sky full of lighters
A sky full of lighters

[Eminem]
By the time you hear this I will have already spiralled up
I would never do nothing to let you cowards fuck my world up
If I was you, I would duck, or get struck like lightening,
Fighters keep fighting, put your lighters up, point em' skyward uh
Had a dream I was king, I woke up, still king…
This rap game's nipple is mine for the milking,
Till nobody else even fucking feels me, till' it kills me
I swear to god I'll be the fucking illest in this music
There is or there ever will be, disagree?
Feel free, but from now on I'm refusing to ever give up
The only thing I ever gave up is using. No more excuses.
Excuse me if my head is too big for this building
And pardon me if I'm a cocky prick but you cocks are slick
Poppin shit on how you flipped ya life around, crock-of-shit
Who you dicks try to kid, flipped dick, you did the opposite
You stayed the same, cause cock backwards is still cock you pricks
I love it when I tell em shove it
Cause it wasn't that long ago when Marshall sat, luster lacked, flustered
Cuz he couldn't cut mustard, muster up nothing
Brain fuzzy, cause he's buzzin', woke up from that buzz
Now you wonder why he does it, how he does it
Wasn't cause he had buzzards circle around his head
Waiting for him to drop dead, was it?
Or was it, cause them bitches wrote him off
Little hussy ass fusses, cause f-ck it, guess it doesn't matter now, does it
What difference it make?
What it take to get it through your thick skulls
As if this aint some bullshit
People don't usually come back this way
From a place that was dark as I was in
Just to get to this place
Now let these words be like a switch blade to a haters rib cage
And let it be known from this day forward
I wanna just say thanks cause your hate is what gave me the strength
So let em bic's raise cause I came with 5'9′ but I feel like I'm 6'8″

[Bruno Mars]
This one's for you and me, living out our dreams
We're all right where we should be
Lift my arms out wide I open my eyes
And now all I wanna see
Is a sky full of lighters
A sky full of lighters

[Royce Da 5'9"]
By the time you hear this I'll probably already be outtie
I advance like going from toting iron to going and buying 4 or 5 of the homies the iron man Audi
My daddy told me slow down, boy, you goin to blow it
And I aint gotta stop the beat a minute
To tell Shady I love him the same way that he did Dr Dre on the Chronic
Tell him how real he is or how high I am
Or how I would kill for him for him to know it
I cried plenty tears, my daddy got a bad back
So it's only right that I right till he can march right into that post office and tell em to hang it up
Now his career's Lebron's jersey in 20 years
I'll stop when I'm at the very top
You shitted on me on your way up
It's 'bout to be a scary drop
Cause what goes up must come down
You going down on something you don't wanna see like a hairy box
Every hour, happy hour now
Life is wacky now
Used to have to eat the cat to get the pussy
Now I'm just the cats meoww, ow
lyrics courtesy of www.killerhiphop.com
Classic now, always down for the catch weight like Pacquiao
Ya'll are doomed
I remember when T-Pain aint wanna work with me
My car starts itself, parks itself and autotunes
Cause now I'm in the Aston
I went from having my city locked up
To getting treated like Kwame Kilpatrick
And now I'm fantastic
Compared to a weed high
And y'all niggas just gossipin' like bitches on a radio and TV
See me, we fly
Y'all buggin out like Wendy Williams staring at a bee-hive
And how real is that
I remember signing my first deal and now I'm the second best I can deal with that
Now Bruno can show his ass, without the MTV awards gag

[Bruno Mars]
You and I know what it's like to be kicked down
Forced to fight
But tonight we're alright
So hold up your light
Let it shine
Cause this one's for you and me, living out our dreams
We're all right where we should be
Lift my arms out wide I open my eyes
And now all I wanna see
Is a sky full of lighters
A sky full of lighters

Drop any corrections in the comments and let me know what you think of the Eminem Lighters Lyrics.



Friday, December 3, 2010

iPhone/iPad向けWebアプリ開発時のローカルファイルキャッシュ

最初理解できなかった。しかし、よく読んだらHTML5manifest機能を利用しているとわかった。
なるほどという感想だね。

iPhone/iPad向けWebアプリ開発時のローカルファイルキャッシュ
http://cloudcodedev.blogspot.com/2010/08/iphoneipadweb.html

iPhone/iPad向けのWebアプリケーションを開発する際、SenchaやjQTouchなどの
ライブラリーを活用してWebアプリケーションをあたかもネイティブアプリのように
振舞わせるわけだが、その際に避けて通れないのが
「ライブラリ・CSSなどのロード時の速度低下」です。

ライブラリやCSSなどのファイルのロードがかなり時間を食ってしまい、
利用者に「このページ遅いな」と思われてしまいます。

それを防ぐためには
「iPhone/iPadのフラッシュメモリ内にJavaScriptやCSSなどのファイルを保存させる」
という設定を行ないます。

この設定には「manifest」ファイルをサーバ側で用意し、manifestファイルには、
「どのファイルをローカルキャッシュさせるか」を記述してあげる必要があります。


以下に記述例を記載します。

使用するファイルの構成は以下の通りとなります。

【プロジェクトフォルダ内】
CSSファイル
/css/js/sencha_icons/mystyle.css
(元々app.yamlに以下の
- url: /css
  static_dir: css
という静的ファイルディレクトリ指定の設定をしています。)

JavaScirptファイル
/css/js/sencha_icons/ext-touch.js
/css/js/sencha_icons/index.js

作成したmanifestファイル
/css/js/sencha_icons/sitefile.manifest


1.まずはじめに、使用するHTMLファイル内のソースに



と記述します。
(example.manifestはexampleという名前のマニフェストファイルとなります。)


2.app.yamlに以下の内容を記述します。





- url: /css/js/sencha_icons/sitefile.manifest                        →所在URL
  static_files: /css/js/sencha_icons/sitefile.manifest          →ファイルの在処
  mime_type: text/cache-manifest                                        →mime_typeの指定
(↑これがないとマニフェストファイルとして認識されません。)
  upload: /css/js/sencha_icons/sitefile.manifest                →ファイルのアップロード先



3.sitefile.manifestファイル(ファイル名はsitefileでなくてもOK)を作成し、以下の内容を記述します。

CACHE:
mystyle.css
ext-touch.js
index.js

4.デプロイしてiPhone/iPadのブラウザで再読込する。


これで上記の3つのファイルがiPhone/iPadのローカルに保存され、
ページのロードが高速になります。




参考URL: http://www.html5rocks.com/tutorials/appcache/beginner/

Wednesday, November 17, 2010

Fixed positioning in Mobile Safari

Found a good site for fixed position on iPhone/iPad/iPod

There are several method to implement it. The best way is the new feature of iPhone OS 2.0.

"Fixed positioning in Mobile Safari
August 5, 2008

11/16/2010: It's been a long time since my fixed positioning script was released. I'm very pleased that it was the precursor for much more robust solutions to this problem. Please continue on if you'd like to read through the history of this hack. If you're looking for a real-world solution please take a look at one of the following, ranked (subjectively) in order of scroll performance:

Sencha Touch – A complete framework with fixed scrolling, custom widgets, and more.
YUI Scrollview – Standalone solution built on YUI3
iScroll – Completely standalone, no library dependencies

Update: An anonymous genius in the comments suggested using translateY instead of top for the animation. After some edits I've updated my demo, and it flies! The scrolling animation is smooth as silk. Apparently Webkit transforms are the only hardware-accelerated animations at this point. Thanks, random dude on the internet!

Update 2: This code is released to the public domain. You can use, modify, remix as you see fit.

Behold, fixed positioning on iPhone! http://doctyper.com/stuff/iphone/fixed/

Here's a video for those without iPhones. This is running in the iPhone Simulator bundled with the SDK. Note that the animation is much choppier on an actual iPhone.

With the release of iPhone OS 2.0 came some great improvements over previous Mobile Safari versions. CSS animations are in (though buggy), as well as native touch events like touchstart, touchend, gesturechange, etc.

I played around with these new goodies while hunting for improvements to build into Pickleview. The most fascinating change to me was that you can now prevent the default behavior of elements with a simple preventDefault() call. It allows a user to drag an element around the screen without having to worry about the viewport wobbling about.

I grew curious as to what I could specifically call this on, and started testing out several elements. Turns out you can preventDefault on everything in the DOM, including the body element. This seemed incredibly useless for no other reason than the terrible usability it would bring if you couldn't scroll the viewport. Then the proverbial light bulb went off: fixed positioning!

First, let's recap why fixed positioning does not work off-the-bat. Mobile Safari uses a viewport to show you websites. Imagine a book in front of you. Take a piece of paper, cut a 320×416 square in it, and lay it over the book. To read the book, move the paper around and position the hole over the words you want to see. This is exactly what Mobile Safari's viewport is doing. When you flick and scroll, you're moving the viewport around while the website behind it stays static.

This renders fixed positioning null and void on iPhone. An element that has its position fixed is affixed to the body, not the viewport. So it is actually working as intended, though most people would prefer it attached to the viewport.

There are workarounds in the wild, but these are inelegant. You can reposition an element onscroll, but a scroll event in Mobile Safari is only fired after scrolling has stopped. This results in an evident "glitch" since you have to a) flick to your desired position, throwing the element off-screen, and b) wait for the element to reappear in the viewport after scrolling has stopped.

By disabling the default scroll behavior on the body element, you essentially glue the viewport down to its initial starting point, where it's unable to go anywhere. This limits the viewport to exactly 320×416 pixels of space to show you. In this state, you have a perfectly useless experience.

This is where it gets interesting. In order to re-enable scrolling, I needed to only make the content area scrollable (think iframe, with header and footer above and below it). The touch and gesture events gives access to X/Y values, as well as timers and offset values. So by logging these and incrementing the top offset of the content area, we can create a scrollable block that does not affect the header or footer elements. A little spit and polish later: voila!

It's pretty evident from my proof-of-concept that CSS animations need a lot of work. They're promised to be "hardware-accelerated", but there's little proof of this. Most animations glitch, some to the point of non-use. The scrolling isn't particularly smooth and even something as simple as animating a 'top' CSS property takes its toll. Still it's usable, though I hope later Mobile Safari builds will address these issues.

If you're interested, I've bundled together the source files for my proof-of-concept. Grab 'em here."

Monday, November 8, 2010

テレビ会議の比較サイト

http://agtjapan.net/comparison.html

http://tvkaigi.hp2.jp/category/comparison

iPhone Snags 60% of Japanese Smartphone Market

iPhone Snags 60% of Japanese Smartphone Market

http://www.m2ri.jp/newsreleases/main.php?id=010120101026500

<<114849-japan_smartphones_apr_sep_2010.jpg>>

MobileCrunch reports on a new report from Japanese research firm MMRI claiming that Apple held a 60% share of the Japanese smartphone market for the period of April through September, easily outdistancing second-place Sony Ericsson's 20.6% share.

According to MMRI, a total of 2.23 million smartphones (Android/Windows Mobile/Blackberry/iOS/Palm) were sold in Japan between April and September this year, and 1.34 million (or 60.1%) of those were iPhones.

The report notes that smartphone sales more than doubled over the year-ago period, despite the fact that overall mobile phone sales in Japan grew by only 12%. With smartphones now approaching 12% of Japan's overall smartphone sales, Apple's dominant position in that rapidly-growing smartphone market has enabled it to grab 7% of the total mobile phone market there.

ARM��のリソ�ス

ARM Cortex-M3 システム��ガイド
http://www.cqpub.co.jp/hanbai/books/36/36491.htm
http://www.cqpub.co.jp/hanbai/books/36/36491/Contents/index.htm
μCOSII在Cortex-M3核ARM处理器上的移植
http://hi.baidu.com/comyboy/blog/item/968651095a5046a72eddd4bc.html


Monday, November 1, 2010

iPhone开发书籍

http://download.csdn.net/source/1120690 The Objective-C Programming Language-2006
http://download.csdn.net/source/1120832 Beginning iPhone Development Exploring the iPhone SDK 
http://download.csdn.net/source/1120883 Professional Iphone And Ipod Touch Programming,Building Applications For Mobile Safari

http://download.csdn.net/source/1120856 The iPhone Developer's Cookbook    
http://download.csdn.net/source/1121171 iPhone in Action Introduction to Web and SDK Development     
http://download.csdn.net/source/1121189 (开发iPhone程序必学的)O'Reilly.Objective-C Pocket Reference (2002)
http://download.csdn.net/source/1121193 O'Reilly.iPhone SDK Application Development
http://download.csdn.net/source/1121219 O'Reilly - Learning Cocoa with Objective-C, 2nd
http://download.csdn.net/source/1121264 (学习Objective-C最新最好的稀缺图书,配示例代码)Learn Objective-C On The Mac, 2009
http://download.csdn.net/source/1121268 (iPhone开发技术图书) OReilly.iPhone.Open.Application.Development.Mar.2008
http://download.csdn.net/source/1121269 (珍贵资源)Object-Oriented Programming And The Objective-C Language
http://download.csdn.net/source/1121692 (iPhone程序开发)Oreilly.iPhone.Forensics.chm
http://download.csdn.net/source/1121661 (iPhone开发C)The Objective-C 2.0 Programming.pdf
http://download.csdn.net/source/1121639 (开发iPhone必学图书)Sams.Programming.in.C.Jul.2003.pdf