The VPS info I have is listed in VPS Setup Record - Basics, and I have talked about how to install LAMP at VPS Setup Record - LAMP. This is a follow-up post that targets at making our VPS more secure. Remember, to use vim to edit files, you need to press i to start inserting. When you… Continue reading VPS Setup Record - SSH Security
Month: October 2015
Project Fi Phone Number Tip
This is a tip for people who don't care about $3. I got the Project Fi sim card a while ago, but I got a very stupid number that I don't like. So I figured, since we could port our number to Project Fi, we should be able to find us a good number somewhere,… Continue reading Project Fi Phone Number Tip
Strongly suggest Google Drive to include the following functionalities:
- The ability to sync subfolders rather than the main folder
This has been discussed widely on the web. One workaround is to leverage Google Drive's multiple folder feature, but that is very inconvenient and can get messy easily. - The ability to recovery files in a batch
If multiple files were removed by Google Driver's bug for example (yes, I have been through that pain in a**), there is no other way but right clicking files one by one to recovery the files. There should exist a recovery function that says "recovery the files being removed xxx minutes ago." - Fix the bugs in Google Drive
There are two major bugs that exist in today's Google Drive product. One is the uplink. The transmission is based on UDP and there's not much guarantee that packets are delivered correctly (well, there is a "guarantee" but a very loose one). The large file transmission can go wrong, causing a packet sending storm that our router thinks as an attack. The Internet would be totally shut down for protection in this case. But guess what, it's just Google Drive goes wrong.
Another is a bug that deletes the files "randomly." If there is a sync error and it is not resolved before I restart the computer, there is a chance that Google Drive thinks I personally and manually removed the un-synced folder. In this case, the folder is then marked as "deleted" and the Google Drive app tells the server to remove that folder online! WTH!
In fact if anyone searches online, there are many complaints about the issues I've mentioned above. It's been years and Google Drive isn't any better. I'm guessing this is because Google is such a big company and Google Drive team doesn't quite care about users due to the large base number of existed users.
Brief on Synthetic Aperture Radar Imaging Resolution
I assume readers already know the definitions of: Frequency of a wave \(\): number of periods per unit time Wavelength \(\): distance between each period Propagation velocity \(\): wave traveling speed, here assuming the speed of light \(\) in the air Beam width \(\): the angular spread of the radar beam, approximated by \(\) in radian,… Continue reading Brief on Synthetic Aperture Radar Imaging Resolution
UnwiredLab and The Fun
Never thought crawling data from a company will be found out so fast. Background The thing is UnwiredLab has extensive dataset that allows them to derive the cell tower location. And they sell the number of queries for the service. Similar services include Google Map, OpencellID, Combain, CellIDFinder, etc. UnwiredLab provides a trial/free account that allows 50… Continue reading UnwiredLab and The Fun
Install Scapy for Mac OS Yosemite
It's not painful but it still requires a few steps. Here I log them. First thing is to make sure you installed Python 2.x. Not sure about whether Python 3 has similar steps. Also, here I assume Homebrew is installed too. If any of the following codes result in a Permission denied error, append sudo in… Continue reading Install Scapy for Mac OS Yosemite
Brief Review about Protocol Security
There are many application-level protocols in networks. There are File Transfer Protocols like ftp, scp, and sftp. There are Mail Protocols like smtp, pop, and imap. There are Web Protocols like http 1.0, 1.1, and 2.0. And there are many more. But they are not that secure.
Without root access:
ps | grep keywords | grep -v grep | head -1 | awk '{print $2}'
With rooted phone and busybox:
su -c busybox ps | grep keywords | grep -v grep | head -1 | awk '{print $1}'