Filed under: Uncategorized
(long post title, but it describes it perfectly)
Background: I’ve run into the situation where I have multiple IP/DNS “profiles” that I want to switch between on my laptop, and find it an enormous pain to go into Network Settings again and again. One of my colleagues had a bigger problem when his office IP settings did not work at all between his home and office.
Solution: This is a Batch file (.bat) meant for Windows Vista that allows you to select from different profiles and set IP and DNS settings accordingly. You will have to click on the User Account Control prompt and select Continue.
Setup
- Copy the code below into a file: “IP-DNS-switch.bat”
- Change the contents to fit your requirements. Do NOT blindly copy paste this and expect it to work. It will NOT!
- Move the bat file into C:\Windows (not required to be there in particular, but it would be the safest location from accidental deletion)
- Create a shortcut to this file on your Desktop
- Edit the Properties of this shortcut and in Advanced, set “Run as administrator”
Notes
- This is meant for Windows Vista. It won’t work anywhere else.
- The settings are for your default wireless connection, you’ll need to modify the file appropriately if its anything else.
- Again, the IP and DNS settings are meant for MY connection ONLY, you MUST modify these. Don’t even THINK of using them as it is.
- To understand more about netsh, open up a Command Prompt in Windows Vista and type the following:
netsh int ipv4 set address /? netsh int ipv4 set dnsserver /? netsh int ipv4 add dnsserver /?
References
- http://en.kioskea.net/forum/affich-13513-how-to-change-ip-address-from-command-prompt
- Various sites on how to use the CHOICE and NETSH command
- Windows Vista command prompt with the /? operator
The main code
@echo off REM IP-DNS-switch.bat REM Copyright(c) 2009 Siddhant Bhansali REM VBScript to automatically switch between Home and Work IP and DNS configurations. REM Pre-configuration: REM 1. Change the IP and DNS settings to whatever is appropriate to your networks REM 2. Copy this file to C:\windows so that it is not accidentally deleted REM 3. Create a shortcut to it on the Desktop REM 4. Right click and select properties of the shortcut REM 5. In Advanced, set "Run as administrator" REM 6. Save these settings and you're done! REM -------------------------------------- echo. echo Switch to which configuration? echo. echo [H]-Home (All IP and DNS settings set to Automatic) echo [W]-Work (IP and DNS settings set to Work settings) echo [E]-Exit (No change) echo. CHOICE /C:HWE IF ERRORLEVEL 3 GOTO END IF ERRORLEVEL 2 GOTO WORK netsh int ipv4 set address "Wireless Network Connection" source=dhcp netsh int ipv4 set dnsserver "Wireless Network Connection" source=dhcp pause goto END :WORK netsh int ipv4 set address "Wireless Network Connection" static 192.168.1.XX 255.255.255.0 192.168.1.1 1 netsh int ipv4 set dnsserver "Wireless Network Connection" static 203.94.243.70 primary netsh int ipv4 add dnsserver "Wireless Network Connection" 203.94.227.70 pause :END
Filed under: Uncategorized | Tags: 20, 21, focus, hdr, lens, panasonic, sdr, sdr-h20, sdr-h21, zoom
Had borrowed a family friend’s digital camcorder, a Panasonic SDR-H21 and it recorded fine once or twice and then had a weird error wherein the lens / focus / zoom was completely unresponsive.
It was recording photos and videos, but the picture was at a fixed focus, and moving the thumb-tab to zoom in and out was completely unresponsive.
Tried a lot of things. Discharging the battery, reseting the camcorder, but nothing worked. The Panasonic website was collosally unhelpful (no support section, apparently nobody has any problems with this product, moreover the H21 model is not listed on their site). I talked to the family friend and we ran through the checklist again, but to no avail. Then, just as a joking aside, he suggested that I shake the camera. I did just that – shaking it from one end to another. Unexpectedly, the camcorder powered itself off.
I had to disconnect the battery to reset it, but when it did come back on, it was working fine!
Detailed notes:
- After the first test run, when it worked fine, the battery was removed and left on the charger. After the green light went off, I plugged it back in and switched on the camera. The lens cover was not taken off and I tried moving the dials through the modes, but it didn’t switch from the video display mode. When it came onto the photo record mode, it still displayed the video display mode.
- The camcorder was complaining a lot that it needed to reset itself when I was switching modes – which I did, but that didn’t help.
Filed under: Written works | Tags: company, how, india, outsource, outsourcing, required, resources, technology, US, why, work
The following is an anonymized version of a set of presentations I created for helping a US based company decide whether to outsource part of its work to India or not. It examines why it makes sense, how the company can go about doing it and what resources are required at both ends (this part is not that comprehensive).
ABC US – Outsourcing to India
- Overview
- ABC US – Vision
- Outsourcing – popular perceptions…
- Outsourcing – changing perceptions…
- What is outsourcing?
- Types of offshoring
- Outsourcing to India – Present reality
- Why Outsource Work?
- Why outsource (statistics)
- Outsourcing – Clear Advantages
- Who outsources work to India?
- Some more…
- Why should ABC US outsource?
- What can ABC outsource right away?
- Why India?
- Offshore location: India offers the best package
- Checklist for setting up in India
ABC US – Setting up ABC India
- Overview
- What is the vision for ABC India?
- Checklist for setting up in India
- Why Gurgaon?
- Why Jaipur?
- Proposed structure of the Indian company
- Critical assumptions / Financials
- Comparing US and Indian developers
- Challenges faced by firms outsourcing to India
- US Manager responsibilities
- Short Term Goals
- Long Term Goals?
- Information required from ABC US
- Immediate next steps for a captive unit…
- What will ABC India look like?
ABC US – Infrastructure setup
- Infrastructure setup
- Server / Hardware requirements in India
- Communication mechanisms
Filed under: Written works | Tags: ad, cricket, description, india, jam, nike, traffic
For an assignment in ISB’s “Marketing and Design Ethnography” course, we had to choose an ad to write about. I chose a Nike ad on TV (http://www.youtube.com/watch?v=Mpvuz8gg79Q) which featured ordinary folks playing cricket in a traffic jam. Here is the write-up for it (it is a description along with screen shots of key scenes – it is not the complete report).
Filed under: Uncategorized | Tags: bingo, calling, hindi, india, numbers, out, tambola
My sister recently organized a Tambola game (known as Bingo in other countries) for a large gathering of people. We looked online for a collection of names to call out for each number, but weren’t able to find any. So, she talked to one of our family friends and noted the names down in a document.
(without using any other programs)
Had to download a SWF file from the net and started looking around for something that would do the trick. Thought that a general purpose downloader would be useful (like DAP – Download Accelerator Pro), but am averse to installing a program only for a single use.
Hunted around the net for something and found a video that describes a very convenient way to do so in FF…
It’s a video, but the steps are described below:
http://www.metacafe.com/watch/765598/how_to_download_swf_files_using_firefox/
- Load up the page which has the SWF on it.
- Right click on the page somewhere so it shows “View Page Info” (NOTE: VIEW PAGE INFO) and select it.
- Select the Media tab.
- Select the row which says “Embed” under the Type column (that is most likely the one referencing the SWF file).
- Select the “Save As…” button to save it on the hard disk.
Filed under: BadDesign | Tags: Naukri, Naukri.com, remove, resume, unsubscribe
Not very surprisingly, but very unhelpfully, most sites make it extremely hard for you to unsubscribe or opt-out of their mailing lists. I had an old email account listed on Naukri and I occasionally get stupid notifications that “Your CV has been short-listed”… Ridiculous, if you consider that I have not even completed the profile properly.
So anyway, I tried looking at the email itself to see if there was a link that would let me opt out Naukri’s mailing list right away, but no no – not a chance. So, whats the way out? The email helpfully said at the end:
“If you consider the content of this email inappropriate or spam, you may:
1. Report abuse by forwarding this email to : abuse@naukri.com2. Block this company – IndiaMART InterMESH Ltd (ref no: 18735) from accessing your resume by logging into your naukri account and selecting Block Company in the Privacy Settings section“
Well, neither of those links used any special codes to recognize my account, so I *had* to login in order to opt out…
So, I logged in, and then looked around for a way out.
Nothing. Not even a way to disable my profile (or deactivate it).
Finally had to write an email to Customer Help (location of online form is on top-right corner).
Lets see if its effective.
Filed under: Written works
News report in Mint (financial paper by HT Media) about a collaborative video shot by B-School alumni.
http://www.livemint.com/2007/12/19180948/BSchool-alumni-shoot-a-10mt.html
B-School alumni shoot a 10-mt ‘virtual’ collaborative video
Filed under: Written works
BADM 346: Entrepreneurship
Spring 2002 semester
University of Illinois: Urbana-Champaign
Table of Contents
Executive Summary
1. The Company
2. Markets and Competition
3. The Product – The Service
4. Selling
5. Development
6. Financial Data
7. Investment
8. Appendices
Filed under: Written works
Written when part of Kritikal Solutions. A 20 page article on:
1. What is a Smart Card?
2. Why and where can we use a Smart Card?
3. Types of Smart Cards
4. Different types of Smart Card Interfaces
5. What is needed to build a Smart Card Application?
6. The Smart Card
- The Directory Structure
- SmartCard Authentication
- Files on a SmartCard
- PV Key file
- Calculation Key file
- File Permissions
- File Creation
7. Building a Smart Card Application
8. File Structure for Sample Application
9. The PCSC_WRAPPER Class
10. PCSC_WRAPPER Macros
11. Code for writing to the SmartCard
12. Psuedo-code for “gate reader”
13. For further information/Resources
