跳到主要內容

發表文章

Skype 撥分機失敗

之前用 desktop skype 打電話在輸入撥號音階段都會失敗(ex: enter conference code, 分機 etc...) 但是 MAC 筆電都沒有這個問題。 原本以為是 Windows 版的 skype 和 MAC 版 skype 的差異,後來發現是沒有麥克風裝置的問題。只要隨便在麥克風插孔插入一個裝置,讓 skype 偵測到有輸入裝置就可以了....

AWS Certified Solutions Architect - Professional Level beta exam

收到白老鼠實驗感謝卡了.... beta exam 是 120 題 185 分鐘 .... 希望正式版的考試題目數量可以少一點...一些太長的題目可以拿掉... 不然每題不到兩分鐘的答題時間,看完題目就過一半了.... 考三小時後面幾乎呈現腦死狀態.... <quote> Thank you again for taking the Beta AWS Certified Solutions Architect - Professional Level beta exam. Unfortunately, you were unsuccessful in this attempt. You will receive a voucher within the next 5 business days, for a free retake. </quote> 讀書去....

/ect/crontab not running

如果把 cronjob  寫在 /etc/crontab 下,那要注意格式 # Example of job definition: # .---------------- minute (0 - 59) # |  .------------- hour (0 - 23) # |  |  .---------- day of month (1 - 31) # |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ... # |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # |  |  |  |  | # *  *  *  *  * user-name command to be executed 在 "command to be executed" 前面, 要有 user-name... 如果用 crontab -e 的方式, 則不需要 user-name 那個欄位.... # *  *  *  *  *  command to be executed

Amazon EC2 Public IP Ranges

https://forums.aws.amazon.com/ann.jspa?annID=1701# <quote> Dear Amazon EC2 customer, We are pleased to announce that as part of our ongoing expansion, we have added new public IP ranges. The current Amazon EC2 public address ranges are:  US East (Northern Virginia):  72.44.32.0/19 (72.44.32.0 - 72.44.63.255)  67.202.0.0/18 (67.202.0.0 - 67.202.63.255)  75.101.128.0/17 (75.101.128.0 - 75.101.255.255)  174.129.0.0/16 (174.129.0.0 - 174.129.255.255)  204.236.192.0/18 (204.236.192.0 - 204.236.255.255)  184.73.0.0/16 (184.73.0.0 - 184.73.255.255)  184.72.128.0/17 (184.72.128.0 - 184.72.255.255) 184.72.64.0/18 (184.72.64.0 - 184.72.127.255)  50.16.0.0/15 (50.16.0.0 - 50.17.255.255) 50.19.0.0/16 (50.19.0.0 - 50.19.255.255) 107.20.0.0/14 (107.20.0.0 - 107.23.255.255) 23.20.0.0/14 (23.20.0.0 - 23.23.255.255) 54.242.0.0/15 (54.242.0.0 - 54.243.255.255) 54.234.0.0/15 (54.234.0.0 - 54.235.255.255) 54.236.0.0/15 (54.236.0.0 - ...

wildcard dns for everyone xip.io

Interesting... What is xip.io? xip.io is a magic domain name that provides wildcard DNS for any IP address. Say your LAN IP address is 10.0.0.1 . Using xip.io, 10.0.0.1 .xip.io resolves to 10.0.0.1 www. 10.0.0.1 .xip.io resolves to 10.0.0.1 mysite. 10.0.0.1 .xip.io resolves to 10.0.0.1 foo.bar. 10.0.0.1 .xip.io resolves to 10.0.0.1 ...and so on. You can use these domains to access virtual hosts on your development web server from devices on your local network, like iPads, iPhones, and other computers. No configuration required! Think about what can it do for you?

user specific sshd config

When ssh to some AWS EC2 AMI such as RedHat , Amazon Linux and Ubuntu, ssh will prompt some message like below: Please login as the user "ec2-user" rather than the user "root". The secret is here: # cat /root/.ssh/authorized_keys no-port-forwarding,no-agent-forwarding,no-X11-forwarding,command="echo 'Please login as the user \"ec2-user\" rather than the user \"root\".';echo;sleep 10" Summary: You can define user-specific sshd config in ~/.ssh/authorized_keys file

[Android] Trigger

This app Trigger formerly known as NFC Task Launcher. You can trigger tasks (change profile) not only by NFC by also Wifi, Bluetooth status....etc... So, give it a try, it's great! NFC Smart Tags! http://www.youtube.com/watch?v=LfkFgtoQtFQ