Categories
tips work

Life changing traffic tips

Hi
Morning traffic jams can really bum you out on some days, and most people try to avoid them. But actually doing it takes a bit of practice and a lot of time, so it took me just 3 years to perfect my morning route to work. I think I am now able to shave off between 5 and 20 minutes of traffic every day, depends on how crowded the roads are that day.
On a “light” day these tips aren’t worth much, but on a crowded day (like today) it can really save time and gas. Also, since this is my route to work, and I live in Israel and work in Ramat Ha’hayal Tel-Aviv, the example images are in Hebrew and they help people who need to get to Habarzel street. But the tips are genuine, and can help anyone optimize thier morning route.
OK, so on to the point.

Categories
Recommended Software

Dropbox – access important files from anywhere

Lots of people own several computers. Not to mention different operating systems.
Don’t you wish you had a folder with some files that will be accessible from every single one of your PCs ?
A friend of mine recommended Dropbox (www.getdropbox.com)
dropbox
This is a software, compatible with Windows, Linux and Mac, which creates a folder on your PC(/mac), that is linked to your account, and with every computer that runs the program (with the specific account) – This folder will be in complete sync.
If you need it from a shared pc – you also have a web interface to download your files.
Also,  a public folder is created which you can just send a direct link for your file to a friend
You get 2GB of online storage for this matter – completely for free from Dropbox, and you can also revert to earlier versions of your files.
Dropbox claims to be encrypted – but I can’t guarantee it, so I wouldn’t recommend using it for sensitive data (passwords, etc.)
I started using it. Definately recommend it!

Categories
.net Networking programming Solutions

Scanning your entire LAN for MAC Addresses

Not too long ago, I wrote a network administration utility with specific needs.
One of the needs was to scan all the LAN pool for MAC addresses.
The code will look at your active network adapters, calculate start and end IP according to your address and netmask,
and query all the IPs within that range for their MAC address.
The code is written in C#, and it’s basically going over the whole range in a nested loop.
If you find this useful, you are welcome to use the code:

Categories
programming

So you're trying to get your homemade app on your pwned iPhone

Recently I was working on an iPhone app for work, for demo purposes, but my company cheaped out on the Apple iPhone Developers registration. 

More accurately, the process of binding a multi-million-$-a-year company with Apple Inc. takes a very long time, so we took the back-door and just pwned our test iPhone devices (firmware 2.1).
iphone
“How hard can it possibly be to install apps on a jail-broken iPhone?” we thought, Well as it turns out, it’s pretty difficult, especially for Mac-first-timers like myself. 
In the end, I overcame this obstacle – but not before compiling a compiler, installing a gazillion support apps, compiling my app with at least 6 different compilers, doing it on WinXP, Ubuntu, on the iPhone itself, and on the Mac.
So I thought why not share with you the way that actually produced the working result.
Categories
Recommended Software

Recommended Software: Digsby

logo

 I’m the kind of guy who likes to be online. When I decide to be available for chat – the more the merrier.
Messenger, GTalk, GMail, Skype- you name it. digsby

I found about Digsby when I looked for a Facebook Chat client. Surfing the net brought me to Digsby’s website
and I must say I was impressed.

Digsby allows you to be online with all common IM clients all together as one contact list.

More than that – It also functions as email notifier and social network client (All of your facebook events for
example)

If you are “chat groupie” – I would really recommend you try this software

Categories
Solutions Windows scripting

A Creative way to restart your PC, and autorun a program

Last week, a friend of mine needed a solution that will auto-restart his PC at a specific time and run a specific task.

Normally, this wouldn’t be a big deal, but his problem was that the PC was inside a domain and required auto-login.

So I dug a bit inside the Windows registry and found a way to do that:

Windows Scripting
Windows Scripting

1. I backup all the registry keys in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
2. I remove “legal notice” registry keys, to ensure that it won’t stop the PC from logging in by forcing to press Enter
3. Adding the username, password and domain as default registry keys, setting AdminLogon to True
4. Adding a shortcut in the Startup folder for my Post-Startup script
5. Restarting the PC
after the pc has been restarted, i delete all my added registry keys, and restore the backup. At my post-Restart script I also call the required script he wanted to run (in the attached example it is Windows Calculator)
This solution should only work on Windows 2000/XP Pro
 All you need to do is edit postStartup.cmd to run your specific task, and schedule a run for preStartup.cmd with Windows Scheduled tasks (Start -> All Programs -> Accessories -> System Tools -> Scheduled Tasks)
Download Restart Script
 

Categories
Funny Clips

Arnold's Clone

Hilarious!
You gotta go see my new movie! yaaay, because stolen identity movies make so much money at the box office… yaaay!

Categories
Website

PokeTalk – Call your friends for free

I recently came across this website www.poketalk.com.
poketalk
This website allows you to place international phone calls for free!
What’s the catch? Well… a single phonecall is limited to 10 minutes, and you have 50 phonecalls per month (Tip- you can re-register with a different e-mail address to get extra 50 calls).
Once you place a call, the phone will ring at your house, and when you pick up, the phone will ring at the destination. That way both of you are having incoming calls and won’t be charged.
The main difference between this service and www.Jajah.com (another phone-to-phone service), is that you don’t have to register a specific number on either side to get the call for free.
So, this is definitely a website I recommend adding to your favorites.

Categories
programming

OpenGL for AviSynth [Update: now w/code]

Hi
I had a little project at work recently, that involved creating movie clips using AviSynth.
And I was appalled by the shabbiness of existing transition plugins available freely for AviSynth, they always reminded me of 80s-like video editing…
So I set out to integrate AviSynth with OpenGL to create a nice 3D transition effect for our movie clips.
I had 2 major bases to cover:

  • AviSynth plugin API
  • OpenGL rendering

AviSynth API is not so well documented, but they have very good ground-up examples on how to DIY plugin. Here is the one I used, that basically does nothing but copy the input frame to the output frame.
Open GL on the other hand is very well documented and “tutorialed”. I based my code on this example from NeHe.
So basically what I wanted to achive is:

  1. Read input frame (AviSynth)
  2. Paint frame as texture over 3D model (OpenGL)
  3. Draw rendered 3D image to output frame (OpenGL+AviSynth)

Reading the frame is pretty straightforward. Frames come encoded as RGB 24bit, with a little twist: rows size in bytes is not width*3 as you’d expect it be, but AviSynth use a parameter called “Pitch” to determine row size in bytes.
Update (14/9/09): source is now available in the repo: browse download

Categories
comics

Lay-off badges


The Israeli hi-tech market inspired me…