miercuri, 30 septembrie 2009

Sync on Windows

Below is a way to do automatically sync on Windows using a tool and run a script before the Logoff operation.



- Microsoft has a tool called SyncToy (or other one: DirSyncPro)
* create a batch file with :
rem using DirSyncPro
rem Using SyncToy
echo "Starting sync: ">> c:\Sync.txt
date /t >> c:\Sync.txt
time /t >> c:\Sync.txt
"C:\Program Files\SyncToy 2.0\SyncToyCmd.exe" -R
echo "Ended sync: ">> c:\Sync.txt
time /t >> c:\Sync.txt

To run it before logoff:

-http://support.microsoft.com/kb/307882 :
* run gpedit.msc
* User Configuration > Windows Settings > Scripts (Logon/Logoff)
* double click on Logoff script and Add the batch file

marți, 29 septembrie 2009

jEdit

*Plugins

-ProjectViewer, SideKick, XML, FTP

*How to beautify other files?

- Global Options > Editing > Change settings for mode

-Note the "File name glob"

-Note the "First line glob"

Ex: to have on "v8_config.cfg" same beautify as on shell script, select it from modes list, add "cfg" in "File name glob" and remove the "First line glob" value (let it empty)

-activate Backup : Utilities > Global Settings > Saving & Backup :

* deactivate "Two-stage" ( since we work a lot on Unix)

* add numbers at suffix: remove the suffix character ; set the Max Number of Backups



*Macros->Misc->Hypersearch Result to Buffer.

vineri, 24 iulie 2009

Internet Connection speed

At work:
http://www.speedtest.net/result/524187989.png

marți, 14 iulie 2009

Cannot delete

"Cannot delete Folder: it is being used by another person or program.
Close any programs that might be using the file and try again"

Solution:
-Who lock me
-Unlocker

miercuri, 8 iulie 2009

Firefox Add-ons

*General
DownThemAll - download manager
FlagFox - shows the flag of the country where server is in
Forecastfox - weather
TACO - removes the advertising cookies
WOT - shows ranks of sites trust
ScrapBook+ - saves all your opened tabs pages

*Testing
Firebug
Selenium
XPather

*Photo
ExifViewer

miercuri, 24 iunie 2009

Open popup in a tab

Open popup in a tab

* in address bar enter: about:config

set the following prefs:
browser.link.open_external set to 3 (should already be)
browser.link.open_newwindow to 3
browser.link.open_newwindow.restriction to 0 (zero)
To avoid your window resizing you need to restrict javascript from resizing windows. This can be done via the normal Firefox preferences under Tools > Options > Content > Allow JavaScript > Press Advanced.

(source: http://forums.mozillazine.org/viewtopic.php?f=7&t=762235, thx to Euchre)

luni, 22 iunie 2009

Windows updates doesn't work

Try this gpupdate (among other usual checks)