scrolling inside screen session

The problem with default configuration from “screen” is that we cannot scroll the text inside. I hate that, and found the simple solution

Add this to your ~/.screenrc.

# Enable mouse scrolling and scroll bar history scrolling

termcapinfo xterm* ti@:te@


pipe to ls command

 which mpv | xargs ls -n

lrwxr-xr-x  1 501  80  30 Jul 11 16:35 /usr/local/bin/mpv -> ../Cellar/mpv/0.18.0_2/bin/mpv


pipe to ls command does not work directly so the key here to use xargs

Why does Apple kills Adobe Flash from beginning?

From 2007, when the first iPhone appeared, Apple has not supported Flash. Everybody, includes Apple, said about technical flaws and problems of Flash as the main reasons to eliminate it. However, that is just half of the story. In my opinion, the killing point is: “Flash is the main competitor of AppStore”.

AppStore is the milk source of Apple and is the most sustainable one. Even Apple cannot sell any iOS devices to you, you still have to use App Store to download music, applications and movies and so on. You can check the financial report of Apple xx% of money, accounts for yy$B of total income.

But why Flash is the biggest thread to Apple? Well, if they support Flash, do you want to play free flash game from your favorite websites or download games from Apple? if you can make Flash games can run on iPhone and Android, why should you learn Objective-C and make a dedicated version for iOS? And if anything in flash works well, how could Apple has money from Advertising and comission (30% of any selling on AppStore)? Flash games will be cheaper at least 30% and can use advertising services from non-Apple agents.

So now you see my argument.

: )

Hava a nice day.

Saving whole facebook meassages

Facebook does not have the function to save all message alone so make by ourselves!

Luckily, smart guys are around and I found this:

Basically, we use javascript to click on the “show more message” button, after that can copy to any plance.

The interesting part is how a simple trick and knowledge in Javascript can be such that useful.

1.) Go to “
2.) Click on the conversation you want to load from day one
3.) Click “ctrl + shift + j” ==>  Open the developer tool of your web browsers, in the console part (javascript console), paste the code below and press Enter
4.) Then copy and paste this in there and let it load all of the message while you sit back and smile

setInterval(function () {
}, 500);