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.)
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).
"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.
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:
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)
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
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:
Read input frame (AviSynth)
Paint frame as texture over 3D model (OpenGL)
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.