Author Archives: lookingup

Proxying through a proxy to access the Internet

Motivation You are stuck in a location that has no access to the Internet. But you are able to access the organization network from your laptop, wanderlust. And some privileged machines in the org network have unfettered access to the … Continue reading

Posted in proxy | Tagged , , | Leave a comment

Branching an SVN repository

Branches are required in the following scenarios: When you want to work parallelly on two separate versions of the code, both of which might undergo separate development. Or, when you are not sure about the current experimental changes that you’re … Continue reading

Posted in dev | Tagged , , | 1 Comment

How to create a symlink in Windows

Open cmd as administrator and use the following command. mklink /D shortpath path\to\folder\deep\inside\fs\tree This gives a shortcut that can be used from the command line as well as from the GUI. The usual shortcuts (created from the GUI) do not … Continue reading

Posted in windows | Tagged , | Leave a comment

Connecting to an intranet website from a remote location

Scenario: I need to connect to an institute/corporate intranet web site (not accessible from an outside network) using my web browser, from a remote location (for e.g., my home). My organization has a server, say gw (for gateway) that runs … Continue reading

Posted in linux, proxy | Tagged , , | Leave a comment

Workaround for a partly damaged LCD/LED screen (with lines appearing on the screen)

My dad’s laptop screen (LED) developed a fault due to which it started showing translucent vertical lines that occupied the bottom 20% of the screen. Soon they became completely opaque. The service engineers to whom he took it said that … Continue reading

Posted in windows | Tagged | 5 Comments

Assigning a static IP to a VMware Workstation VM

Assumption: the VM is running a DHCP client and is assigned a dynamic IP by the DHCP service running on the host. My host machine is runs on Windows 7 Ultimate x64 with VMware Workstation 8. Open C:\ProgramData\VMware\vmnetdhcp.conf as Administrator. … Continue reading

Posted in vmware | 7 Comments

Fixing shared folders issue on Oneiric VM (VMWare Workstation 7) [notes]

Fixing VMWare Tools for Oneiric 32-bit guest running on Windows 7 Ultimate x64 in VMWare Workstation 7. On executing vmware-tools-config.pl after installing the necessary pre-requisites (gcc, kernel headers etc.), I get an error like this: Error: ….vmhgfs-only/filesystem.c: missing linux/smp_lock.h Reason: … Continue reading

Posted in linux, notes, vmware | Tagged , , | Leave a comment

Quick-start guide: Using SVN

If there is an SVN repo to which you have access (or have created using svnadmin), here’s how to start coding using this repo: apt-get install subversion mkdir svn cd svn svn checkout https://svn.somesite.com/repo_name/path cd path # make changes to code svn commit A … Continue reading

Posted in dev | Tagged | Leave a comment

Avoid results from .svn folders while grepping

A common problem while running grep in a path that is an SVN working copy is that the search results include those from the hidden .svn folder. The results also include binary files that have similar strings embedded within. Here’s … Continue reading

Posted in dev, linux | Tagged | Leave a comment

Proxifying Windows [notes]

Aim: get a system-wide SOCKS proxified Windows (like proxychains on Linux). First, create a dynamic tunnel (to a machine with unfettered Internet access) using PuTTY. Here are the applications I tried or read about. None of them worked. sockschain – … Continue reading

Posted in proxy, windows | Leave a comment