If you create a table with HTML, it’s static. It would be great if you could sort it by various columns. How to do that?
Check out the project’s home page for a demo.
You want to figure out whether your Windows is 32-bit or 64-bit.
Start the “DOS window” (
cmd.exe) and execute the following command:
C:\>wmic os get osarchitecture OSAsarchitecture 64-bit C:\>
Here I explain one possible way. Create a droplet at Digital Ocean (it costs $5 a month). When you create the droplet, select a US location.
Create the droplet, configure the SSH access.
Then, install squid, which is a full featured web proxy cache server.
To start using your proxy, install the FoxyProxy Firefox add-on and configure it.
Now, if you visit http://www.whatismyip.com/, you will notice that behind the proxy your real IP is still visible! You are not anonymous (yet).
To hide behind your proxy, we need some more configurations. Edit “
/etc/squid3/squid.conf” and add these lines:
via off forwarded_for off request_header_access Allow allow all request_header_access Authorization allow all request_header_access WWW-Authenticate allow all request_header_access Proxy-Authorization allow all request_header_access Proxy-Authenticate allow all request_header_access Cache-Control allow all request_header_access Content-Encoding allow all request_header_access Content-Length allow all request_header_access Content-Type allow all request_header_access Date allow all request_header_access Expires allow all request_header_access Host allow all request_header_access If-Modified-Since allow all request_header_access Last-Modified allow all request_header_access Location allow all request_header_access Pragma allow all request_header_access Accept allow all request_header_access Accept-Charset allow all request_header_access Accept-Encoding allow all request_header_access Accept-Language allow all request_header_access Content-Language allow all request_header_access Mime-Version allow all request_header_access Retry-After allow all request_header_access Title allow all request_header_access Connection allow all request_header_access Proxy-Connection allow all request_header_access User-Agent allow all request_header_access Cookie allow all request_header_access All deny all
Restart the squid server:
sudo service squid3 start
Visit http://www.whatismyip.com/ again. It will indicate your proxy’s IP, stating that no proxy is detected :) Cool.
At the moment anybody can use your proxy if they find out your
IP:port combination. I tried to add username / password HTTP authentication but it didn’t work. If someone has a step-by-step guide for that, let me know.
because it’s an easy way to infect thousands of users and collect their data”
When you download a page via a proxy server, there is no guarantee that you get the original page… There is a high risk that the proxy server sent you back a modified page. Read the article above for more details.
If you have Dropbox installed on several machines, sometimes one of the clients litter your Dropbox folder with conflicted copies. Their number can be up to hundred(s). How to get rid of them?
First, locate the conflicted copies:
$ cd ~/Dropbox # or wherever your Dropbox folder is $ find . | grep "conflicted copy"
Investigate the result and make sure they can be deleted.
# one more check: $ find . | grep "conflicted copy" | while read i; do echo $i; done # if you are absolutely sure, delete them: $ find . | grep "conflicted copy" | while read i; do echo $i; \rm "$i"; done
Notice that “
$i” is between quotes since these filenames contain spaces.
I have a desktop machine at home with a Windows 2007 virtual machine. I mainly have it because of Powerpoint. Recently I prefer to work on my laptop in the living room. Today I needed Powerpoint, so I decided to copy the whole Windows virtual machine and put it on my laptop. The only problem is that it was 67 GB and I didn’t have that much space on my external HDDs :(
Don’t panic. On my desktop machine I entered the folder that I wanted to copy and started a web server:
python -m SimpleHTTPServer
ifconfig” I checked the local IP address of the machine, it was
On my laptop I opened a browser and navigated to “
http://192.168.0.53:8000“. All the files I needed were there. Since I’m lazy and I didn’t want to click on each link one by one, I issued the following command (tip from here):
wget -r --no-parent http://192.168.0.53:8000
The download speed was about 10 MB/sec, so it took almost 2 hours.