Saturday, December 31, 2016

How to delete all the Google+ posts by one click

Delete your Google Plus profile and restart it:
1. http://plus.google.com/downgrade
    click on that link, log in
2. Follow the instructions to delete your account(make sure you check "I understand ...")
3. After deleting your account, you can restart it by visiting plus.google.com and follow their instructions to explore and start

Monday, December 19, 2016

Charter Spectrum bill misteriously increased from 39.99 to 44.51

You have to call them to ask them to fix it.

If your increase in price is due to end of promotion, use this protocol:
http://troubleshoo.blogspot.com/2016/01/charter-bill-reprogramming-bring-down.html

Tuesday, December 13, 2016

Drug naming: -umab -zumab and -ximab

Chimeric -xi Abciximab, Rituximab, Infliximab, Cetuximab
Humanized -zu Palivizumab, Trastuzumab, Bevacizumab, Natalizumab
Human -u Adalimumab, Panitumumab Golimumab, Ipilimumab

reference:
https://en.wikipedia.org/wiki/Nomenclature_of_monoclonal_antibodies
http://www.antibodysociety.org/wordpress/wp-content/uploads/2015/12/Carter-IBC-INN-talk-Dec-2015-FINAL.pdf

New type of phishing email

Dear phe,

Sorry for mistakes in the invoice. The number is 362, the amount came to $289.26.
Please check out the details in the attachment.



--
Best Regards,
Lilia Bailey

Monday, December 12, 2016

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Please contact your system administrator
Offending RSA key in /Users/Yourname/.ssh/known_hosts:4




Solution: open that file to deleted saved info for that server and reconnect, to update the server info to the current one.

Sunday, December 11, 2016

linux bash: How to remove the first line of each file

sed -i -e "1d" $FILE

or


tail -n +2 "$FILE"

check http://stackoverflow.com/questions/339483/how-can-i-remove-the-first-line-of-a-text-file-using-bash-sed-script

Friday, December 9, 2016

Matlab R2016b increase java heap memory

Gear button(Default) -> General -> Java heap memory -> drag the bar to increase memory -> restart

Thursday, December 8, 2016

Matlab R2016b show command history window

on the Home tab, in the Environment section, click Layout. Then, under Show, click Command History and select either Docked or Popup.

Tuesday, December 6, 2016

The relationship between FPKM and TPM in one formulum

\begin{aligned}  \text{TPM}_i &= \left( \dfrac{\text{FPKM}_i}{\sum_j \text{FPKM}_j } \right) \cdot 10^6  \end{aligned}

How to access Caltech Glee Club's hidden collections of recordings

Caltech Glee Club main page -> Links -> click on the treble clef to enter the members.html
--> Full Recordings ...

Alternatively, click this:
http://www.music.caltech.edu/gleeclub/recordings.html

New phishing email

Hi

Thank you for your payment, please find attached your card receipt and
invoice.

Your order has been sent for process.

Kind Regards

JAROD BURKHALTER
Phoenix Specialist Products
0127 171 1686

how to find recycle bin folder for the file you just deleted on Windows 8 system

"On your Desktop App...when you right-click > Personalize then click the Change Desktop Icons link at the upper left, isn't it listed there?"

reference:
https://answers.microsoft.com/en-us/windows/forum/windows_8-desktop/i-cant-find-my-recycle-in-windows-8-can-anyone/ca247777-c09b-4771-8e07-d2244e961d95

Monday, December 5, 2016

how to add your downloaded/custom-written matlab functions to default paths

addpath('directory')
addpath(genpath('directory'));

reference:

http://matlab.izmiran.ru/help/techdoc/ref/addpath.html

Monday, November 28, 2016

San Gabriel Valley Chinese Restaurants associated with ICON UNION 2013

ICON Union 會員申請專線

T-mobile Exclusive Kit Chan
(626)548-1638 Or WeChat 188408092
a). Waive $35 Activation Fee
b). Monthly Fee Discount
c). Free 4 Months 2.5GB of 4G LTE data
d). Student referrals, Up to $250 rebate

USC Area
Stuho Student Housing
2905 S Vermont Ave #201, Los Angeles, CA 90004
a). Waive $40 Application Fee
b). $50 instantly cash back when sign lease
c). rent discount

Cup O' Joy
3016 S figueroa St, Los Angeles, CA
10% OFF

Mikoshi
3010 S Figueroa st, Los Angeles, CA
15% OFF

Alhambra
Tea Station
560 W Main St, Alhambra, CA 91804
10% OFF (Dine-in Only)

Chengdu Taste  (滋味成都)
828 W Valley Blvd, Alhambra, CA
10% OFF and(送涼粉或涼麪一份)

Ozero 啡茶道
406 E Valley Blvd, Alhambra, CA 91801
10% OFF    

New Tasty 新潮
301 E Valley Blvd, Alhambra, CA 91801
10% OFF

Mama's Kitchen 梁媽媽家
1308 E Valley Blvd, Alhambra, CA 91801
10% OFF

Zoe Café (酌意)
1412 E Valley Blvd, Alhambra CA
10% OFF

New Bay Seafood
203 N Valley Blvd, Alhambra, CA 91801
10% OFF (Dine-in Only)

Monterey Park
Boiling Point 沸點臭臭鍋
153 W. Garvey Ave, Monterey Park, CA
10% OFF

Ten Ren's Tea Time 天仁輕鬆小站
500 N Altantic Blvd Ste #179,Monterey Park
10% OFF (Cannot combine with other coupon)

Yun Chuan Garden 雲南過橋園
301 N Garfield Ave #D, Monterey Park, CA
5% OFF

Hunan Restaurant 湖南小館
423 N Atlantic Blvd, Monterey Park, CA
10% OFF

Tasty Garden (稻香)
500 N Altantic Blvd Ste #100, Monterey Park
10% OFF (after 12am)

Ding's Restaurant (丁胖子重慶江湖菜)
117 N Lincoln Ave  Monterey Park CA
10% OFF

San Gabriel
Boiling Point (沸點臭臭鍋)
250 W Valley BLVD, #J, San Gabriel, CA
10% OFF

Tea Station
158 W. Valley Blvd., San Gabriel, CA 91776
10% OFF (Dine-in Only)

Indian Beer House 印第安啤酒屋
633 S San Gabriel Blvd, San Gabriel, CA
10% OFF (Sun-Thurs; exclude Alcohol & Beverages)

AU 79 Tea House 黃金地 (San Gabriel)
1635 S San Gabriel Blvd, San Gabriel, CA
20% Off per Card for Regular Priced Beverage; can't combine with other special or coupons

Haige Star Boulevard 海哥星光大道
172 E Valley Blvd, San Gabriel, CA 91776
15% OFF

New Kingswood Teppan Steak House上林鐵板燒
250 W Valley Blvd #Ste L, San Gabriel, CA
10% OFF (Cash only)

Dong Ting Chun 洞庭春
140 W Valley Blvd #206-207, San Gabriel
10% OFF

同順居          
250 W Valley Blvd #B2, San Gabriel          
10% OFF (Cash Only)

Yue Lai Restaurant (悦来小籠包)
107 E Valley Blvd, San Gabriel, CA 91776
10% OFF (Cash Only)

Spicy City 麻辣城
140 W Valley Blvd #208, San Gabriel, CA
10% OFF (Cash Only)

ID Cha House    
425 W Valley Blvd #101, San Gabriel
10% OFF

Wang Xing Ji 王興記
140 W Valley Blvd #211, San Gabriel, CA
10% OFF (Cannot combine with other coupon)

MVP BBQ Seafood Restaurant 新順景
545 W Valley Blvd, San Gabriel, CA 91776
10% OFF

永和豆漿      
533 W Valley Blvd, San Gabriel              
Everything 10% off      

Lu Gi  (廬記火鍋)      
539 W Valley Blvd, San Gabriel            
Free plum juice

Lu Gi  (廬記火鍋)      
708 E Las Tunas Drive #B, San Gabriel, CA
Free plum juice

Boba Ave 8090
140 W Valley Blvd, Ste 112B, San Gabriel, CA 91776
10% OFF on Food, 20% OFF on Drink

Mei Long Village (梅隴鎮)
301 W Valley Blvd, Ste 112, San Gabriel
10% OFF

Hong Kong Kitchen (香港小廚)
301 W Valley Blvd, Ste 115, San Gabriel
10% OFF

Hunan Style Restaurant 湖南酒家
529 E. Valley Blvd, Ste 108A, San Gabriel
10% OFF

Imperial Autoworks 軒 車藝 (修車/改車)
1706 New Ave, San Gabriel, CA 91776
$80 Off Every $1000 Purchase;
Free HID Kit when purchase new set of wheels and tires

Amrose 沸騰魚鄉
529 E Valley Blvd #168, San Gabriel, CA
10% Off Per card; Can't be used or combined with any other coupons ; Only apply to All-you-can-eat

Oh My Pan 胖胖屋
801 E Valley Blvd #106, San Gabriel
10% Off Per card;
Can't be used or combined with any other coupons

J.Z. Restaurant 江浙小吃
727 E Valley Blvd, San Gabriel, CA
15%

Hong Yei Restaurant 紅葉食府
288 S San Gabriel Blvd, #103-104, San Gabriel, CA 91776
10% Off Per card;
Can't be used or combined with any other coupons

辣椒王            
534 E Valley Blvd Ste 2, San Gabriel            
10% off for everything

水煮魚一號          
120 N San Gabriel Blvd, San Gabriel        
15% off

168 Garden 雲南橋香園
1530 S San Gabriel Blvd, San Gabriel, CA 91776
10% Off Cash Only 不包括凉菜, 打折卡和送東西只選一樣; $30 送凉粉, $40 以上用米線

Hunan Restaurant 湖南小館
127 S San Gabriel Blvd, San Gabriel, CA 91776
10% off

El Monte
DTM Auto Body (DTM 改裝修理廠)
2501 Tyler Ave, South El Monte, CA 91733
Up to $200 deductible reduce

Arcadia
Boiling Point (沸點臭臭鍋)
206 S. First Ave, Arcadia, CA 91006
10% OFF

Ten Ren's Tea Time (輕鬆小站)
846 W Duarte Rd, Arcadia, CA                  
Everything 10% off but not combining other discounts or promotions

Tea Bar Starry
1108 S. Baldwin Ave #6, Arcadia, CA
10% OFF on Drink
         
Temple City
Tea Station
9578 Las Tunas Dr. Temple City, CA
Everything 10% off but not combining other discounts or promotions

Beijing Duck House 蓬萊閣
6450 Rosemead Blvd, Temple City,CA                                                                                      
10% OFF

Tenju Tea House 天九
5817 Rosemead Blvd, Temple City CA 91780
15% OFF

Rosemead
AJ Hot Point 熱點火鍋
8508 Rosemead Blvd, Ste 102, Rosemead,CA
10% OFF

AJ Hot Point 熱點火鍋
222 S. Citrus St, West Covina, CA 91791
10% OFF

Monja Taike 艋舺
8150 E. Garvey Ave, Ste 101, Rosemead,CA
10% OFF

EZ Tea Station
8522 Valley Blvd, #106, Rosemead,CA 91770
20% OFF

Rowland Heights/City of Industry/Walnut
Ten Ren's Tea Time (輕鬆小站;ALL STORES)
1330 S. Fullerton Rd, City of Industry  
Everything 10% off but not  combining other discounts or promotions

18423 E Colima Rd,Rowland Heights  
Everything 10% off but not combining other discounts or promotions

515 N Grand Ave,Walnut                      
Everything 10% off but not  combining other discounts or promotions

20311 Valley Blvd, Ste E, Walnut, CA 91789    
Everything 10% off but not  combining other discounts or promotions

18912 A Gale Ave, Rowland Heights
Everything 10% off but not  combining other discounts or promotions

Yami Tea Time
368 N Lemon Ave Ste #B, Walnut, CA 91789
Everything 10% off but not  combining other discounts or promotions

MJ Cafe and Tea House
17521 Colima Rd,Rowland Heights            
10% off on total bill
One card one discount

高島(Takashima)      
18461 E Colima Rd, Rowland Heights    
Everything 10% off

TTK Japanese Food 通天閣
18438 Colima Rd, #107, Rowland Height, CA 91748
10% OFF

Tea Bar Jungle
18178 Colima Rd, Rowland Heights, CA 91748
10% OFF Drink

Music Box          
18558 Gale Ave, Ste 228, City of Industry
1 Free Refill during Happy Hour,
10% off for night time

Cashbox KTV   (錢櫃KTV)
18015 Gale Ave,City of Industry, CA 91748
10% OFF everything at anytime

綠豆苗 (Little Green Bean)      
18415 E Colima Rd, Rowland Heights    
Everything 15% off

La Kaffa                  
17883 #D Colima Rd, City of Industry      
Everything 10% off

D2 Hair Design      
18558 E Gale Ave #180, City of Industry
10% OFF

Tea Station
18558 Gale Ave, #186, City of Industry CA 91748
Everything 10% off Dine-in

Monja Taike 艋舺
18558 E Gale Ave #108, City of Industry CA
10% OFF

Fongling Cafe 楓林小館
1241 S. Diamond Bar Blvd, Diamond Bar CA 91765
10% OFF

Zheng's Fusion 華府家宴
17515 COlima Rd #A, City of Industry CA 91748
10% OFF exclude VIP room

IFT Bakery
17861 A Colima Rd, City of Industry, CA 91748
10% Off on all purchase; 15% Off on purchases over $20; Can't combine with any other coupon

Polar Land 極地
16025 Gale Ave #3, City of Industry ,CA 91745
10% OFF

Beijing Pavilion Restaurant 京味軒
1390 Fullerton Rd, City of Industry CA 91748
10% OFF & Free Desert

Four Seasons Seafood Restaurants
18558 Gale Ave, Ste 128 City of Industry CA 91748
10% OFF

Hunan Restaurant 湖南小館
1015 S Nogales St, Rowland Heights CA 91748
10% OFF

Riverside
Ten Ren's Tea Time (輕鬆小站)
1400 University Ave, Riverside, CA 92507
Everything 10% off but not  combining other discounts or promotions

Mandarin Garden Restaurant 七福
1445 University Ave Riverside, CA 92507
10% OFF

Irvine
Tea Station
15333 Culver Dr, Irvine, CA 92604
Everything 10% off Dine-in

Boiling Point (沸點臭臭鍋)
14140 Culver Dr #A, Irvine, CA 92604
10% OFF

MJ Cafe Express
4535 Campus Dr, Irvine, CA 92612        
10% off on total bill One card one discount

高島(Takashima)      
2710 Alton Pkway #109, Irvine, CA 92606
Everything 10% off

Laodong Beef Noodles 老董牛肉麪
5414 Walnut Ave, Irvine, CA 92604
10% OFF

Koba TOfu Grill
4501 Campus Dr, Irvine, CA 92604
10% OFF

San Diego
Tea Station
6061 El Cajon Blvd, Ste 4, San Diego, CA 92115
Everything 10% off Dine-in

Tea Station
7315 Clairemont Mesa Blvd, San Diego, CA 92111
Everything 10% off Dine-in

Tea Station
9003 Mira Mesa Blvd, San Diego, CA 92126
Everything 10% off Dine-in

Los Angeles / Korean Town
Ozero Tea & Desserts
131 S. Central Ave Los Angeles, CA 90012
15% OFF

Ondal 2
4566 W. Washington Blvd, Los Angeles, CA 90016
10% OFF

Gardena/Artesia/Las Vegas/Neward/Chino Hills
Boiling Point (沸點臭臭鍋)
15488 S. Western Ave #112, Gardena, CA 91709
10% OFF

Boiling Point (沸點臭臭鍋)
13089 Peyton Dr, #F, Chino Hills, CA 91709
10% OFF

Tea Station (ALL STORES)
11688 South St. #101, Artesia, CA 90701
Everything 10% off Dine-in

1610 W. Redondo Beach Blvd, #3, Gardena, CA 90247
Everything 10% off Dine-in

Saturday, November 26, 2016

[Solved]DeepTools error: argument --beforeRegionStartLength/-b/--upstream: invalid int value: 'l'

This is generated by -bl argument for earlier versions which didn't enable blacklist feature. So it mistook that for -b argument.
Please use a newer version or remove -bl setting
Take care.

Friday, November 25, 2016

How to activate/show/distinguish colors for your Mac Terminal

This quick tutorial shows how we enable different colors to be revealed to distinguish different file types etc on your Mac Terminal.
1. nano ~/.bash_profile
    or using any other texteditor to open it
2. add a line into that file:
    export CLICOLOR=1
3. save and restart the terminal




reference: http://www.marinamele.com/2014/05/customize-colors-of-your-terminal-in-mac-os-x.html

Thursday, November 24, 2016

Crane humidifier cannot produce fog and has noisy sound


Solutions:
1. clean the humidifier if you haven't done so.
2. Now let's fix the problem, which comes from the round thingy at the bottom left of the picture below. Make sure you adjust its position so that it's not stuck and hanging there.
3. Now run the humidifier.

Tuesday, November 22, 2016

matlab clustergram tricks for gene analysis

1. use view(clgm1) to open a clustergram so that you can mine the data instead of just getting an image
2. move cursor over tree structures and right click to export subclustergrams
3. tools -> options -> vertical zoom / horizontal zoom

Saturday, November 19, 2016

How to set python environment

export PYTHONPATH=$PYTHONPATH:/home/dev/python-files

reference: http://askubuntu.com/questions/250929/pythonpath-environment-variable

Notepad++ can't find/replace a character that exists in the file

clear all the highlights
check whether there are other char like spaces in your search box

Importantly, please uncheck the "Match whole word only"

Friday, November 18, 2016

linux join two tables based on two columns

join -j 2 -o 1.1,1.2,1.3,2.3 file1 file2
Important: this assumes your files are sorted (as in your example) according to the SNP name. If they are not, sort them first:
join -j 2 -o 1.1,1.2,1.3,2.3 <(sort -k2 file1) <(sort -k2 file2)


reference:
http://unix.stackexchange.com/questions/113898/how-to-merge-two-files-based-on-the-matching-of-two-columns

Thursday, November 17, 2016

[solved] “-bash: ls: command not found”

PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
export PATH



reference: http://apple.stackexchange.com/questions/22859/bash-ls-command-not-found

[solved]Matlab round() error: too many arguments

round(pi,3)
is an example given by mathwork, which doesn't always work because older versions (probably before 2014b) don't support two digits.

But that's fine, a way to work around that is:

round(pi*1000)/1000

Wednesday, November 9, 2016

matlab find a string in a cell array

strmatch('element_name', cell_array_name)

A quick way to get the structure of a set of powerpoint(ppt) slides

Press ctrl+shift+tab, the left panel will be the titles for each slide

how to concentrate on work rather than facebooking/any low-energy-consuming activity

Solution:

listen to NewAge/choral music
I recommend this guy's:
https://soundcloud.com/peng-he1

linux nano doesn't recognize linebreaks created on Notepad++ after EXCEL pasting

If you open a pre-created .txt on Notepad it may happen.
However, if you File-> New to create a new file and paste excel data columns, linux nano will recognize it.

Tuesday, November 8, 2016

tutuapp suddenly doesn't work; can't download pokemon go

Everytime pokemon go releases an official update, tutuapp will crash.

You have to wait for the Chinese programmers to update their version. Once they are ready, you will find the date of their pokemon go release has been updated. At that time, you can reinstall everything and it should work.

Sunday, November 6, 2016

Time Machine can't back up

two things you can do:
1. system preferences -> search for time machines -> switch on it and select backup disk
2. get you mac charged

Friday, November 4, 2016

FuncAssociate 3.0: GO term not showing up in the Attribute Table

Solution:
Change the parameters for the p-value cutoff and simulation size to make it more stringent, thus getting a smaller list.
Do this until you can ctrl-f your GO term

Thursday, November 3, 2016

"This Bill represents the co-insurance, deductible or co-pay amount due "

This is a bill I received from the company LabCorp asking for paying a bill.

Quick facts:
1. I did a blood test at Dr. Iwata
2. I used my insurance
3. I paid ~$30. According to them, that's the remaining amount I need to pay after subtracting what my insurance pays.
4. They sent my blood sample to a company(probably LabCorp) and mailed me the results a month later.


But now LabCorp sent me a bill asking for $21. Hasn't my insurance covered that already?


The answer is: yes but not the co-pay.

Dr. Iwata's office says that what I paid them was for the blood sample taking. But that's different from what the company charges me for

It's definitely worthwhile to know how some of the terms:

"Let's say your plan's deductible is $1,500. That means for most services, you'll pay 100 percent of your medical and pharmacy bills until the amount you pay reaches $1,500. After that, you share the cost with your plan by paying coinsurance and copays.
Lisa has allergies, so she sees a doctor regularly. She just paid her $1,500 deductible. Now her plan will cover 70 percent of the cost of her allergy shots. Lisa pays the other 30 percent; that's her coinsurance. If her treatment costs $150, her plan will pay $105 and she'll pay $45.
  • A copay is a fixed amount you pay for a health care service, usually when you receive the service. The amount can vary by the type of service. You may also have a copay when you get a prescription filled.
For example, a doctor’s office visit might have a copay of $30. The copay for an emergency room visit will usually cost more, such as $250. For some services, you may have both a copay and coinsurance."

reference:http://www.bcbsm.com/index/health-insurance-help/faqs/topics/how-health-insurance-works/deductibles-coinsurance-copays.html

Wednesday, November 2, 2016

Thursday, October 20, 2016

Matlab cell2mat: empty matrix 0-by-152

When I read a matrix using textscan and then tried converting it to a matrix, I got an empty matrix.

No solutions provided by Google when I searched.


My solution:
The input file had an extra empty line. Remove that line/linebreak char, and then repeat the importing process.

Now it works.


Wednesday, October 19, 2016

[solved] linux join : “File 2 not in sorted order”

Solution:
using LANG=en_EN sort -k 1,1 <myfile> ... then LANG=en_EN join ...

Note:
Don't use -k 1d,1 for sorting strings such as gene names.
Always join using ENSEMBL IDs'

Cause:
sort -k 1d,1 and join probably have different default orders especially when dealing with strings containing special charaters, like '-'

Monday, October 17, 2016

Friday, October 14, 2016

[solved]Credit card pending activity: Circle K 09453. What is that?

It means the Mobil Gas Station.


Circle K is just the convenience store at the station.
the five digit number is the ID of that location.

Thursday, October 13, 2016

What is Aleppo?

In the beginning of our USC mixed reality tour, the speaker asked everyone what is Aleppo?

The fact is even if you have google, you probably still can't know what is Aleppo because you don't even know how it is spelled.

If Google associated the key word "Aleppo" with "Presidential Debate" and "Middle East", things would be easier to be figured out.

https://www.google.com/search?q=what+is+elipo+president+debate&oq=what+is+elipo+president+debate&aqs=chrome..69i57.4911j0j7&sourceid=chrome&ie=UTF-8#q=aleppo



Other abbreviatiosn:
EPA: US Environmental Protection Agency 

Tuesday, October 11, 2016

how to calculate cosine correlation coefficient using Excel

=power(SUMPRODUCT(A1:A3,B1:B3),2)/SUMSQ(A1:A3)/SUMSQ(B1:B3)

reference: http://stackoverflow.com/questions/22715120/excel-scalar-product-of-two-ranges

How to apply for Caltech Low-Emission Vehicle parking permit discount

The discount is 20% off
1. check whether your vehicle is qualified here
2. print out this form
3. complete the form and submit to the parking office on Wilson

Note: If you haven't got a permit yet, you may apply for one

Matlab Clustergram Image increase resolution

I read multiple official and non-official solutions but none worked as mine:

1. plug in your computer to a second screen which is much bigger
2. drag to enlarge the plot area
3. if the dendrogram tree partially disappears, the solution is: edit -> axis property, to open the property window, and then close it.

4. save to bmp file. I got a bmp image of 50MB

Monday, October 10, 2016

[something not about debugging] Rediscovering Justin Bois

Today I discovered something new from my old memory.

One of the most popular lecturers at Caltech, Justin Bois, is actually not someone new to me, although I thought taking his programming bootcamp this summer was our first meet.
Justin Bois

The fact is, I've already seen him 5 years before , in Prof. Quinlan's physical biochem class at UCLA. She asked him to cover one lecture. He impressed me with his extremely clear Baritone voice. He broke down the concepts and equations to something very easy to understand, so easy that I felt it was a little bit boring to listen to him to repeat.

Now fastfoward to the year of 2016, I just realized that Caltech is really a magnetic bar, with different people around the world spinning around it, and finally some of them may meet again here.

So whenever I come across some one familiar or unfamiliar, I should be prepared to know the fact that actually we've met before.

Sunday, October 9, 2016

new phishing email : We could not deliver your parcel, #00693494

from: arnold.jensen@ventagroup.ru

Dear Customer,

Courier was unable to deliver the parcel to you.
Delivery Label is attached to this email.

Thank you for choosing FedEx,
Arnold Jensen,
Sr. Support Manager.

Saturday, October 8, 2016

New Phishing email: Problem with parcel shipping, ID:0000292901



jeffery.peterson@sristamford.com

Dear Customer,

We could not deliver your item.
Delivery Label is attached to this email.

Yours sincerely,
Jeffery Peterson,
Station Manager.

Thursday, October 6, 2016

mm10 v.s. mm9 chromosome sizes

some chromosomes became larger while others smaller.
Note that Y chromosome got significantly larger in mm10 annotation

Tuesday, October 4, 2016

wget: 403 forbidden

try:
1.
use https:// instead of http://

2.
specify username and password if the website needs them

Friday, September 30, 2016

End coordinate 195481851 bigger than chr1 size of 195471971 line 13952 of test.bed

This error can be a serious one. Don't simply use the clipping solution suggested by some online threads.

Possible causes and solutions:
1. You mapped your reads to mm9 but used mm10 sizes to feed the bigBed generation script

Solution: use mm9 size file to redo the generation or map your reads to mm10

2. The program you used upstream extended the fragments and they exceeded the end

Solution: use bedClip for bed files and use -clip option for bedgraph files

Wednesday, September 28, 2016

How to turn off ios update reminder and especially automatic downloading

Settings -> General -> Storage & iCloud Usage -> Manage Storage -> tap on the ios update you want to skip and select delete

However, Apple will still try to find time to bring new ios update back to your phone again.
In order to stop them, you have to fill you phone with music or photos and leave less space than enough for the new update, so that they won't download any more.
reference:
http://osxdaily.com/2016/01/04/stop-ios-software-update-notification/

HOMER bug cannot create DNase/C2Dif: Is a directory

This occurs when you happen to have a folder with the same name as your bam file's name without the ".bam"

Solution: rename

Monday, September 26, 2016

Caltech Swimming Class Journal

160926: Syllabus Rundown
Swimming suits needed:
swimoutlet.com
brief, jammer etc

160928: Water Safety
To float on water:
lay back onto water, relaxed
put head horizontal, facing the sky
Never look at the foot because that will make the head sink

To get off the floating state
move arms in the water closer to the body and push water upward
the body will get straight up

160930: move the legs
1. when floating on the back, do this practice:
put arms next to the body, head supported by a partner, whip the water with legs
always imagine the legs as whips. i.e. always move from the upper part of legs

2. use the kickboard
with back up, use two hands (2X4 fingers) to grab the front end of the board
use the legs to whip water
     make sure the toes are balley 'ed straight
     the highest point should be above water
     high frequency, small amplitude

3. kick the wall
put dominant hand and the corresponding foot on the side of wall, the other hand on kickboard
Kick against the wall and move the hand on the wall up and onto the kickboard

161003: breathing
Back facing up
legs whiping: could bend knees to make sure laps are also moving
arms: upper arms and shoulders are stable, move forearms in the front  < - -> and -> <-
hands: scoop water in and out
When moving arms out, you could take a breath by moving head gentle up and breathe in
When head in water, breathe out bubbles gently like playing a flute.

161005:breathing
Use kick boards to practice breathing
blow more bubbles in water

161010: backstroke
Practice 1: lay down in water with hands on the side, feet move like bicycling.
the highest point of the feet should be above water

Practice 2: lay down and move feet like Practice 1. Use palms to move back and forth. <- /  \-> and     \-> <- /   Use palms to push water towards feet and body towards head.

Practice 3: lay down and move fee like Practice 1. put arms next to body, then move them along your body toward the shoulders, extend them to the right and left, and push water towards the feet till they reach your body. In this whole process the hands should be always below water.

161012:breaststroke
Legs:
put feet balley flat and move towards the chest, then extend bend feet to 90 degree to suddenly push water back and apart. The two legs shouldn't be close to the body when moving towards the chest.
Breath:
breath in air after the sudden push

Backstroke practice again:
When starting backstroke, slowly lay down to water and immediately start using arms to push water to avoid drowning at the first place

161017: backstroke kicking practice
put arms next to the body, the legs shouldn't be cycling but whiping using the force on hips. i.e., the knees shouldn't bend too much.

161019:backstroke and breaststroke
backstroke: this time, lift your straight arm up out of the water and get into water to push water towards the feet. One arm at a time.
When lifting, palms face inside. But when scooping water, palm facing outside.
Don't forget to move legs.

breaststroke: pay attention to the snap finish of feet

161021:backstroke
When starting backstroke, establish the kicks first.
The trick to keep floating: keep back straight and let the back of the neck press the water

161024:backstroke and breaststroke 
backstroke: when putting down shoulders, remember to use neck to horizontally lift head up a little bit so that the face is above water.
breast stroke arm practice: put palms together like a buddhist, stick forward, open palms to push water backward, stop at the shoulder level and close the palms to finish the cycle; feet flutter kick

161026: free style
Flutter kick. Arms rotate and push water back

161028 and 161030: free style

It's important to keep the leading arm steady
Before taking down the leading arm, the other arm should have already been coming up.
When pulling down the arm, the body should be on its side

Practice swimming on the sides:
     swimming on the side:
           the leading arm is always straight.
           it's very important to lay down the head to the leading arm so that we are able to get above the water when breathing in water, similar to Backstroke's principle.

When pulling out head to breath in air, we could breathe out the air/water from nose then breathe in air through mouth

161102: full backstroke and freestyle:
backstroke: make sure the body is on the water surface. Kicking should be stablized and use minimal knees bending
Try swimming a full 25 meters. When reaching the other end, grab the balloon.
freestyle: make sure the arms are always on opposite positions
when breathing in, swim on the side

161107: kick on the wall
practice kicking on the back and side and stomach, practice full backstroke
practice full free style (I can only breathe on my left side), every other stroke.
    two arms always in opposite position
    when breathing in, turn the head to look left-back-down, instead of just looking left and lifting it too much above water.

kicking on the wall:
     1. use dominant hand to grab on the wall, two feet on the wall
     2. dominant hand join the other hand, ventral on dorsal
     3. kick against the wall
     4. turn the body to stomach-down position

swim to the wall, grab up and kick and swim back.

161109: more about freestyle
opposite positions for two arms
Swim all the way to the other end!
     breathe to the left side
Breathe more to better estimate lung storage
while in deep water and grabbing on the floating plastic, use legs to whip to balance

161114:continue working on freestyle
When breathing in, put head down onto the leading arm; look to the side of the pool instead of the feet.
Don't try to lift head up away from the leading arm.

161116:endurance training and backstroke
swim full 25 a couple times, with focus on body flipping training
Think of the arms as wings instead of wheels. push water towards the feet.
train kicking with boards for 25

161118: freestyle and breaststroke
freestyle: practice flipping body by using pull buoy
             focus on sidebreath training
breastroke: different from backstroke and freestyle where bodyline should be straight, breaststroke and butterfly requires the body to swing front and back.
                 The feet are doing what hands would do in backstroke swim: bend through knees to lift feet, extend to the side and use the ventral/bottom of the feet to push water towards the posterior direction FROM the side, like wings instead of wheels or hand fan.
                 the two knees shouldn't be far from each other
                While lifting the feet and extend to the sides, use arms to push water back and down and breathe
                after arms' movement, do the sudden pushing of feet, and then bodyline becomes straight to glide without moving

161121: breaststroke
don't bend knees forward but lift legs backward while using the arms.

161128: freestyle and water safety
Freestyle: basic practice for scooping
Water safety:
1. treading water: feet flutter kick, arms scooping down water. Relax.
                             An easier way is to use feet to take turns to do breaststroke kick.
2. Flipping body: practice swim with freestyle, when swim on the side, flip to backstroke.
                            And practice flipping from backstroke to freestyle

161130: backstroke practice
practice grabbing water and pushing by doing chicken-soldier drill
Swim 100 yards by backstroke
Kickboard flutter kicking for 100 yards
Relaxing, going gentle and swinging like a fish really helps improve efficiency

161202: Swimming test
float on water for 3 min (on back)
backstroke 50 yards

Thursday, September 22, 2016

how to unsubscribe from Amazon Kindle unlimited [bug fixed]

I'm posting this not because the answer is hard to find, but because the official online answer is not quite right due to browser issues.

  1. Go to Manage your Kindle Unlimited Membership.
  2. Under Manage Membership select Cancel Kindle Unlimited Membership.
  3. Select End Membership on [DATE].

You would get stuck at Step 2 because the page you open will be blank.

The solution: use a cell phone, e.g. iphone safari browser works on that page.

Tuesday, September 20, 2016

What is DNA gel loading buffer?

Glycerol(dense and sticky) and bromophenol blue (dye for visualization)

more:
https://www.reference.com/science/function-loading-dye-electrophoresis-6527fb153da36b02#
http://openwetware.org/wiki/Agarose_gel_loading_dye

Monday, September 19, 2016

[linux]how to list/ls the hidden files in a folder

ls -A for all the files
ls .* for all the files starting with a .  that ls can't show

Tuesday, September 13, 2016

what is .io domain?

"""
British Indian Ocean Territory

he ccTLD (country code top level domain) and the internet country code for British Indian Ocean Territory

.IO can be used to substitute for the acronym i/o, or input/output

About the British Indian Ocean Territory

Located in the Indian Ocean, the British Indian Ocean Territory is an archipelago south of India, about halfway between Africa and Indonesia. This area includes the entire Chagos Archipelago of 55 islands. The combined area of these islands is 21,004 square miles, about one third the size of Washington D.C. Currently there are no indigenous habitats on these islands. In the 1960's and 70's, approximately 1,200 former agricultural workers in the Chagos Archipelago were relocated to Mauritius and the Seychelles. In November 2000 they were granted the right of return by a British High Court ruling. However, this ruling was overturned in 2008, finding no right for the natives to return. By November 2004, approximately 4,000 United Kingdom and United States military personnel and civilian contractors were living on the island of Diego Garcia in a joint naval support facility.

There are no restrictions on .IO registrations

Anyone can register a .IO domain name, similar to .COM, .NET, or .ORG. To register a third-level .IO domain name you must be a resident of the British Indian Ocean Territory.

"""


reference: https://www.name.com/domains/io

Sunday, September 11, 2016

The mystery of the number 42

import iphone contacts to Gmail/Google account on computer

1. log on iCloud using your computer
2. Go to contacts and select all of them
3. click the gear sign on the bottom left and export vCard and save
4. log onto google contacts (from google voice or gmail or calendar)
5. more -> import -> upload the contacts
6. Now go to your google voice/gmail, you will see the contacts updated

What does BASH shell mean

BASH: Bourne-again-shell

Check out the wiki

[Solved] Anaconda installed but can't simlink ; command not found

solution:
Close and reopen the terminal!

Friday, September 9, 2016

How to replace iphone 5c screen

0. I highly recommend you watch this video, although it's not perfect
1. I bought this screen repair kit 
2. Don't lock your broken iphone 5c. Let the battery die over time
3. Take out the two screws here:

4. Use a tiny screw driver to insert in to the power hole and lift up the screen a little bit.



 5. so that you could insert your guitar pick

6. and open the front plate
7. Now, you need to take off the screws holding the top right metal and take out the top right metal
8. Use the blue tool to unplug the front plate

9.Now you've taken the broken screen off.
10. put the new one back following the reverse order of this protocol.


New type of Phishing email targeting Caltech

From:  Morgan719@caltech.edu

Dear phe,

Please find attached documents as requested.

Best Regards,
Morgan


(Attached was a "Quarantined attachment")

Thursday, September 8, 2016

reorder two display screens on windows 7 / windows 8

1. right-click in a blank area on desktop
2. screen resolution
3. drag the two rectangle screens, click apply
4. click OK

Wednesday, September 7, 2016

[imagej]how to count dots on an image

Two steps:
1. using a threshold to convert your image into binary form (positive + negative)

 Image  ▶ Adjust  ▶ Threshold
check "dark background"
Drag the bars so that the thresholds let the particles/dots stand out while leaving no background smears there

2. If your dots have overlapping groups, force them to separate:
Process  ▶ Binary  ▶ Watershed.

3. Analyze Particles
size: 0-infinity or leave blank
More stringent: 10-infinity 
Analyze  ▶ Analyze particles
Show:  -> Eclipse
check display results and summarize




reference:
http://imagej.net/Particle_Analysis