Monday, May 30, 2016

[solved] iphone4S can't save photos taken from camera

When I wanted to check the photos I took earlier, I couldn't find them.
This happened today and I searched online for solutions.
Some suggest settings -> privacy -> photo
some suggest settings -> general -> restricition.

Neither worked.

My solution:
1. restart your phone
2. take a picture, and view that picture.
3. Wait a little bit, the gray buttons for sharing will turn blue. Then all my previous "unsaved" photos showed up.


I hope Apple can fix this bug.

Sunday, May 29, 2016

[solved]Excel has too many empty rows/columns how to delete

1. go to your last row/column
2. press F5
3. Type the range you want to delete , in the reference box
      such as 38888:500000 for the rows
4. go to the range, right click and delete

Read more: http://support.microsoft.com/kb/244435

Friday, May 27, 2016

[solved]How to dissolve GENETICIN/G418 and what does it mean by 707ug/mg

707 ug/mg means the purity
5mg * 707ug/mg = 3.535 g pure geneticin = 3535 mg pure geneticin = 70.7 ml * 50mg/ml

In other words, add 70.7 ml H2O
and don't forget to filter it.

reference:
http://openwetware.org/wiki/McClean:_Geneticin/G418_Stock_Solution

Saturday, May 21, 2016

how to unlink google+ profile and blogger profile

1. go to the My Blogs Dashboard
2. click the gear button on topright
3, Edit user.....
4. choose the blogger profile as the default

[solved] How to use cheap ($1 per 3 months) Spotify premium forever

Registering a new account every three months and follow your previous account's lists doesn't sound so hard if you keep track. But what if Spotify has started tracking your behavior?

That's what happened to my account. But their tracking system only tracks your credit card information.

So the solution is : use a different card to pay the $0.99 when you use another account and enjoy cheap music!

Friday, May 20, 2016

[Solved]ATT unlock request approved. but no unlock code sent in the email

Actually, I unlocked my iphone4S without unlock code. I just directly inserted my SIM card two days after I received the approval email!!!

Monday, May 16, 2016

[solved] iphone5 USB can't charge. icon flash on and off.

When I was trying to charge my iphone5 by connecting to my Mac, it didn't work and the battery icon flashed on and off.

The solution:
I installed windows iTunes on my computer, get charged, but still flashing.
Then, I pressed "trust" on my phone and clicked allow access/continue on my windows computer and it worked.

There are other suggestions here:  https://discussions.apple.com/thread/4363206?start=15

What we know now is Apple is trying to disable non-Apple USB iphone cables. They keep updating their iOS/Mac system to add new types of cables to blacklists and eliminates the tricks to circumvent the Apple defense.

Take care

Thursday, May 12, 2016

[Solved] Application Blocked by Java Security

For security, applications must now meet the requirements for the Hig or very High security settings, or be part of the Exception Site List, to be allowed to run

Reasons: Your security settings have blocked a self-signed application from running

These were the Java messages I got when using IE on Windows 8.2

The solution:

Startmenu >>Java >>Configure Java >> Security >> Edit site list >> copy and paste your website link >> restart your browser

or

search the java configure, open it and add your website address to the exception list, restart your browser

Tuesday, May 10, 2016

El Monte 学车笔记 2013

档位
    P parking
    R reversed
    D forward
    刹车踩上再换档,换档时按住按钮

U turn
    一点点油门 左看有无车 向左打死 转过以后快速回方向盘
    如果距离不够,换倒档,方向盘向右转倒车,然后左转

启动和u turn要打左转灯

右转
     看到stop sign在路灯处就开始刹车,打转向灯,第一条白线停下。左看。向前溜,左手推转方向盘,右手接住再推方向盘,沿边儿转,转过一半的时候开始加速,往回滑方向盘

左转
     停车类似,打灯,向左看,向右看,方向盘一开始不用转太急,走出一点距离后开始转,但不能转太晚,转之前先目测左前方左转道距离,快回正的时候加速,方向盘自然滑回. 绿灯时先让对面直行车过,慢慢滑向正前马路中央,不能太前,无车时或黄灯转左。左前有行人时在马路中心停住等待。换入左转直道需要回头。双左转不能抢别人的道。绿箭头时不等对面车,此时对面为红灯

调整镜子
拨至左镜 按上下左右调整 再拨至右镜调

启动
放下手刹 换档D

路权
四面都是stop 先到先转, 无需停两次
直行> 左转
右转> 左转

右转 10m 速度
打灯 望镜 回头
靠右
减速看左 转
红灯黄灯: 必须停 没车可转
绿灯:没有违规车辆就可转

直行:
左边线于玻璃下方交点放在玻璃左下角和雨刷左端点之间

换道
打灯 回头 加速 换道

无指令则直行

油门轻踩
刹车先重后轻

停车:
右打灯 慢慢滑入 回方向盘 换档 手刹

倒车:
左手放在方向盘正上放
右手扶副驾驶座位
看右边后视镜 向左摆可往外滑, 向右摆可往里滑。 尽早调整歪的角度

入库 :
慢慢滑行不可停
左转入库不能早转
记得回打方向盘

开始考核
Key向右转on
转向灯左手处
方向盘中央按下去为喇叭
紧急灯
Defroster 按钮旋转到三道气流标志 右手按钮三道气流按钮
雨刷 右手棒向上拨
头灯: 转向灯向前拧两下
手刹: 拉上为关,放下为开车. 放不下的时候先向上拉一点,再按豆,同时放下

丁字路口及类丁字路口必须停

Bump字样用15速度

[Solved] Error reading _ebwt[] array

I was running Tophat2 which calls bowtie2
I got this error:
[2016-05-10 14:51:40] Reading known junctions from GTF file
[2016-05-10 14:51:51] Preparing reads
         left reads: min. length=34, max. length=34, 1745 kept reads (1 discarded)
        right reads: min. length=24, max. length=24, 1746 kept reads (0 discarded)
[2016-05-10 14:51:51] Using pre-built transcriptome data..
[2016-05-10 14:52:06] Mapping left_kept_reads to transcriptome Mus_musculus.NCBIM37.67.filtered with Bowtie2
[2016-05-10 14:52:18] Mapping right_kept_reads to transcriptome Mus_musculus.NCBIM37.67.filtered with Bowtie2
[2016-05-10 14:52:30] Resuming TopHat pipeline with unmapped reads
Warning: you have only one segment per read.
        If the read length is greater than or equal to 45bp,
        we strongly recommend that you decrease --segment-length to about half the read length because TopHat will work better with multiple segments
[2016-05-10 14:52:30] Mapping left_kept_reads.m2g_um to genome mm9-single-cell-NIST-fixed-spikes with Bowtie2
        [FAILED]
Error running bowtie:
Error reading _ebwt[] array: 278873280, 873486272
Error: Encountered internal Bowtie 2 exception (#1)
Command: /woldlab/castor/proj/programs/bowtie2-2.1.0/bowtie2-align --wrapper basic-0 -k 200 -D 15 -R 2 -N 0 -L 20 -i S,1,1.25 --gbar 4 --mp 6,2 --np 1 --rdg 5,3 --rfg 5,3 --score-min C,-14,0 -p 4 --sam-no-hd -x /woldlab/castor/proj/genome/bowtie2-indexes/mm9-single-cell-NIST-fixed-spikes -

bowtie2-align exited with value 1


I rebuilt the bowtie2 index in a separate folder and used the newly built index.

It worked!

Monday, May 9, 2016

7 Reasons you shouldn't choose China Eastern Airline

1. Delay.  Most of the flights stop at Shanghai, and thus get delayed. Experienced passengers usually try to avoid stopping in Mainland China because it's very easy to get delayed due to the need of the army

2. Bad customer service. If you dial the US customer service number, there usually won't be any reply.

3. Potential luggage delay. It happens occasionally that you get on board the airplane while your checked-in luggage hasn't. Although China Eastern will probably mail it to you, it may have a one to two day lag.

4. Bad website. Their website is very slow and usually the points/miles you're eligible to earn are missed by their algorithm. So you have to call the customer service, which leads you to Reason 2.

5. Hard-to-use points/miles. In order to purchase items using your points, you have to first set up a profile by taking a photo of yourself holding your ID card and then send it to the China Eastern in order to get approved. It's not known how they are going to use your information with your photo and ID number.

6. Not necessarily cheap. China Eastern usually has a low face value on its ticket, but considering how many bonus points you earn and how you can use it, overall it may not be a good deal.

7. Food not impressive. The food they provide can barely beat Panda Express, a famous chain restaurant featuring fake Chinese food.

However, if you love the cute Asian girls in their uniform and the chaos of this young country, i.e. PR China and you are always eager to embrace the new experience, you should choose it.


Sunday, May 8, 2016

[Solved]GitHub: fatal: Reference has invalid format: 'refs/remotes/origin/...''

I got this error when I tried to git push.

The cause: I got conflicted version files due to dropbox, in the repo I was working on.

When this happens you should :
cd ./.git

and see what files stored there have a duplicated file and remove it and do some renaming if necessary.


Kill all the processes by a user

pkill -u [username]

But this kills literally all the process including the one you are using to connect to the server from PUTTY

[Solved] fastuniq: "error in open left fastq file for read!"

The answer:

The input file list file shouldn't contain any white space characters or some other strange characters. Please remove them and rerun fastuniq

Thursday, May 5, 2016

Xtrafinder fails to work on Mac OS X El Capitan due to integrity protection | how to open folders in tabs

Two solutions to open folders in tabs:
1. disable the integrity protection:

1. Boot to Recovery OS by restarting your machine and holding down the Command and R keys at startup.
2. Launch Terminal from the Utilities menu.
3. Enter the following command: csrutil enable --without debug
Reboot your computer.
more : http://www.trankynam.com/xtrafinder/sip.html


2. Use Finder's tab feature:

Go to Finder:
Finder -> preferences --> check the box for "Open folders in tabs instead of new windows"

When you open a folder, please press command key and double click on the folder.