# cat file.txt > /dev/null # ./shell-script.sh > /dev/null'via Blog this'
Blog Archive
-
▼
2015
(226)
-
▼
May
(15)
- Hack 19. Suppress Standard Output and Error Message
- OnlineConversion.com - Cholesterol Converter
- Please Change Your LinkedIn Headline Now.. Here's ...
- U.S. charges 15 Chinese nationals in college exam ...
- Fake and Overused Weather Photos: Avoid Sharing Th...
- Secret python code in Ex Machina : movie
- Convert M4A to WAV in Ubuntu
- Yu's Coding Garden : leetcode Question 76: Regular...
- 心绞痛_百度百科
- [FullHD 60 FPS] Russian Army Parade Victory Day, 2...
- Room Acoustics Modelling
- 闯大祸了,公司有人把很重要的数据删掉了 (转载) - 未名空间(mitbbs.com)
- 国际游客在离开美国之前如何办理购物退税?
- Room Acoustics Modelling
- 人工智能火了 高端人才成了香饽饽 - 未名空间(mitbbs.com) - 海外华人第一门户
-
▼
May
(15)
Sunday, May 31, 2015
Hack 19. Suppress Standard Output and Error Message
Hack 19. Suppress Standard Output and Error Message:
Friday, May 29, 2015
Thursday, May 28, 2015
Wednesday, May 27, 2015
Secret python code in Ex Machina : movie
#BlueBook code decryption
import sys
def sieve(n):
x = [1] * n
x[1] = 0
for i in range(2,n/2):
j = 2 * i
while j < n:
x[j]=0
j = j+i
return x
def prime(n,x):
i = 1
j = 1
while j <= n:
if x[i] == 1:
j = j + 1
i = i + 1
return i - 1
x=sieve(10000)
code = [1206,301,384,5]
key =[1,1,2,2,]
sys.stdout.write("".join(chr(i) for i in [73,83,66,78,32,61,32]))
for i in range (0,4):
sys.stdout.write(str(prime(code[i],x)-key[i]))
print
Which when you run with python2.7 you get the following:
Which is Embodiment and the inner life: Cognition and Consciousness in the Space of Possible Minds. and so now I have a lot more respect for the Director."ISBN = 9780199226559
'via Blog this'
Tuesday, May 26, 2015
Convert M4A to WAV in Ubuntu
Step 1:
sudo apt-get install mplayer
Step 2:
mplayer -ao pcm:file=targetfile.wav sourcefile.m4a
Background info:
tested on Ubuntu 14.04
sudo apt-get install mplayer
Step 2:
mplayer -ao pcm:file=targetfile.wav sourcefile.m4a
Background info:
tested on Ubuntu 14.04
Tuesday, May 19, 2015
Saturday, May 9, 2015
Friday, May 8, 2015
国际游客在离开美国之前如何办理购物退税?
国际游客在离开美国之前, 如何得到购物所付销售税的退税?
HOW CAN I GET SALES TAX REFUND IN TEXAS OF AMERICA?
国际旅客请注意,在你离开德克萨斯州和美国之前, 您可以得到您在德克萨斯州购物所付销售税的返还, 让您节省开销。 为使您能够具备返还的条件, 您在任何一个德克萨斯州免税购物地点办理退税时必需出示如下相关文件:
• 护照.
• I-94卡(白或绿色的卡, 入境时附在护照上的).
• 美国入境签证 (若是美国对您所在国有签证要求), 或是您居住国颁发的附有照片的有效身份证件。
• 登机牌/航班信息(电子机票有效), 它们显示您的旅程是从德克萨斯州前往您原居住国,(中间可以有任何经停); 若是您驾车离开德克萨斯州或美国, 则不需要出示登机牌。
• 原始的购物收据和所购商品以备核查。 * 除了网上购物, 任何电子邮件,重印件,复印件收据均不会被接受。若是您有其它疑问, 请参考我们网站上的相关问题解答. *提示: 有些重要物品, 建议您向店家索要双份的收据以备个人所需。办理退税手续必须要有原始收据。
• 所有商品必需是在您离境前30天内在德克萨斯州购买的。我们建议您最好在离境前的两个星期将所需商品买好, 以便有充裕的时间来办理退税。
• 您必须携带您所购商品一起离开德克萨斯州和美国。
• 在每个商店所购物品的税金至少要有$10以上才可以办理退税。 *提示: 在同一家商店的多张收据, 税金可以累加而达到和超过$10的最低限制。在同一购物中心的不同商店的购物金额累加起来, 也可以帮助您最大限度地得到相应的退税。请预先将您所有的收据整理好, 以帮助加快办理退税手续。
美国公民和具有永久居住权的居民将所购商品带出德克萨斯州和美国也可以享受德克萨斯州销售税的退税待遇, 但所需要的相关文件可能不同。请参考我们网站中的相关问题解答部分, 或是直接和我们联系, 了解最新的情况。
退税地点:免税购物有限公司–德克萨斯州的海关代理商, 将收
NORTHPARK CENTER
(inside the Management Office, next to Dillard’s)
8687 North Central Expressway, Suite 1030, Dallas, Texas 75225
(Monday – Saturday, 10:00 am – 6:00 pm & Sunday, 12:00pm – 6:00pm)
DFW INTERNATIONAL AIRPORT
International Terminal D, Departure Level outside the security area, near Gate 30
(Monday -Friday, 6:00am – 7:00pm)
(Saturday – Sunday, 10:00am – 6:00pm)
HIGHLAND PARK VILLAGE
47 Highland Park Village, Suite 200, Dallas, Texas, 75205
(Monday – Friday, 9:00am – 5:00pm)
HOUSTON – IAH GEORGE BUSH INTERCONTINENTAL AIRPORT
Terminal D, Departure Level outside the security area
(Open daily, 6:00am – 10:00pm)
HOUSTON – IAH GEORGE BUSH INTERCONTINENTAL AIRPORT
Terminal E, Departure Level outside the security area
(Open daily, 6:00am – 10:00pm)
OUTLETS AT CONROE
1111 League Line Road, Conroe, Texas 77303
(Monday – Saturday, 10:00am – 8:00pm & Sunday, 11:00am – 6:00pm)
OUTLETS AT HILLSBORO
104 Interstate Highway, Hillsboro, Texas 76645
(Monday – Saturday, 10:00am – 8:00pm & Sunday, 11:00am – 6:00pm)
TANGER OUTLETS
4015 I-35 South, San Marcos, Texas 78666
RIDGMAR MALL
1888 Green Oaks Road, Fort Worth, Texas 76116
BEST BUY GALLERIA (STORE #291)
5133 Richmond Ave, Houston, Texas 77056
BEST BUY SAN MARCOS (STORE #828)
1050 McKinley Place Dr, Suite 280 San Marcos, TX 78666
** NEW ** KATY MILLS MALL
5000 Katy Mills Circle Katy, TX 774946
Copied from www.taxfreetexas.com
国际旅客请注意,在你离开德克萨斯州和美国之前, 您可以得到您在德克萨斯州购物所付销售税的返还, 让您节省开销。 为使您能够具备返还的条件, 您在任何一个德克萨斯州免税购物地点办理退税时必需出示如下相关文件:
• 护照.
• I-94卡(白或绿色的卡, 入境时附在护照上的).
• 美国入境签证 (若是美国对您所在国有签证要求), 或是您居住国颁发的附有照片的有效身份证件。
• 登机牌/航班信息(电子机票有效), 它们显示您的旅程是从德克萨斯州前往您原居住国,(中间可以有任何经停); 若是您驾车离开德克萨斯州或美国, 则不需要出示登机牌。
• 原始的购物收据和所购商品以备核查。 * 除了网上购物, 任何电子邮件,重印件,复印件收据均不会被接受。若是您有其它疑问, 请参考我们网站上的相关问题解答. *提示: 有些重要物品, 建议您向店家索要双份的收据以备个人所需。办理退税手续必须要有原始收据。
• 所有商品必需是在您离境前30天内在德克萨斯州购买的。我们建议您最好在离境前的两个星期将所需商品买好, 以便有充裕的时间来办理退税。
• 您必须携带您所购商品一起离开德克萨斯州和美国。
• 在每个商店所购物品的税金至少要有$10以上才可以办理退税。 *提示: 在同一家商店的多张收据, 税金可以累加而达到和超过$10的最低限制。在同一购物中心的不同商店的购物金额累加起来, 也可以帮助您最大限度地得到相应的退税。请预先将您所有的收据整理好, 以帮助加快办理退税手续。
美国公民和具有永久居住权的居民将所购商品带出德克萨斯州和美国也可以享受德克萨斯州销售税的退税待遇, 但所需要的相关文件可能不同。请参考我们网站中的相关问题解答部分, 或是直接和我们联系, 了解最新的情况。
退税地点:免税购物有限公司–德克萨斯州的海关代理商, 将收
NORTHPARK CENTER
(inside the Management Office, next to Dillard’s)
8687 North Central Expressway, Suite 1030, Dallas, Texas 75225
(Monday – Saturday, 10:00 am – 6:00 pm & Sunday, 12:00pm – 6:00pm)
DFW INTERNATIONAL AIRPORT
International Terminal D, Departure Level outside the security area, near Gate 30
(Monday -Friday, 6:00am – 7:00pm)
(Saturday – Sunday, 10:00am – 6:00pm)
HIGHLAND PARK VILLAGE
47 Highland Park Village, Suite 200, Dallas, Texas, 75205
(Monday – Friday, 9:00am – 5:00pm)
HOUSTON – IAH GEORGE BUSH INTERCONTINENTAL AIRPORT
Terminal D, Departure Level outside the security area
(Open daily, 6:00am – 10:00pm)
HOUSTON – IAH GEORGE BUSH INTERCONTINENTAL AIRPORT
Terminal E, Departure Level outside the security area
(Open daily, 6:00am – 10:00pm)
OUTLETS AT CONROE
1111 League Line Road, Conroe, Texas 77303
(Monday – Saturday, 10:00am – 8:00pm & Sunday, 11:00am – 6:00pm)
OUTLETS AT HILLSBORO
104 Interstate Highway, Hillsboro, Texas 76645
(Monday – Saturday, 10:00am – 8:00pm & Sunday, 11:00am – 6:00pm)
TANGER OUTLETS
4015 I-35 South, San Marcos, Texas 78666
RIDGMAR MALL
1888 Green Oaks Road, Fort Worth, Texas 76116
BEST BUY GALLERIA (STORE #291)
5133 Richmond Ave, Houston, Texas 77056
BEST BUY SAN MARCOS (STORE #828)
1050 McKinley Place Dr, Suite 280 San Marcos, TX 78666
** NEW ** KATY MILLS MALL
5000 Katy Mills Circle Katy, TX 774946
Copied from www.taxfreetexas.com
Wednesday, May 6, 2015
Room Acoustics Modelling
Room Acoustics Modelling:
code:
http://www.mathworks.com/matlabcentral/fileexchange/25965-fast-simulation-of-acoustic-room-impulse-responses--image-source-method-
'via Blog this'
code:
http://www.mathworks.com/matlabcentral/fileexchange/25965-fast-simulation-of-acoustic-room-impulse-responses--image-source-method-
'via Blog this'
Subscribe to:
Posts (Atom)