- Open the Firefox profiles folder, which normally located at %AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\, where xxxxxx is a random string. User should pick the profile folder (if inside Profiles folder there are multiple sub-folders) that are active, i.e. profile for user account to uninstall the extension.
- Open the extensions folder inside the profile folder.
- Each folder here inside the "extensions" folder corresponds to an extension. Some folders may have readable name that resembles the plugin, extension or toolbar, and can be easily recognized. Often the names of the folders are obscured. To identify which extension or plug-in the folder is representing, go to each folder and perform the following steps:
- Use a text editor to open the install.rdf file inside it.
- Search for the following text: em:name
- Locate the folder with install.rdf file with the name after the "em:name" corresponding to the extension intends to remove or delete.
- Delete the whole folder for the extension.
Force WordPress to use SSL (HTTPS) for Login
To easily enable (and enforce) administration over SSL, there are two constants that you can define in your blog's wp-config.php file.
To Force SSL Logins
The constant FORCE_SSL_LOGIN can be set to true to force all logins to happen over SSL.
define('FORCE_SSL_LOGIN', true);
To Force SSL Logins and SSL Admin Access
The constant FORCE_SSL_ADMIN can be set to true to force all logins and all admin sessions to happen over SSL.
define('FORCE_SSL_ADMIN', true);
Which Should I Use?
FORCE_SSL_LOGIN is for when you want to secure logins so that passwords are not sent in the clear, but you still want to allow non-SSL admin sessions (since SSL can be slow).
FORCE_SSL_ADMIN is for when you want to secure logins and the admin area so that both passwords and cookies are never sent in the clear. This is the most secure option.
Changing default MP3 encoding settings for 256 bit rate
Use the following command in the terminal to see values for lame encoder
gst-inspect-0.10 lame
I've added a bitrate parm in addition to lowering the vbr-quality to 0 from 6 for best quality
My Preferred format setings:
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc mode=0 bitrate=256 vbr-quality=0 ! id3v2mux
Copy / paste in gnome-terminal
Run the following two commands; however, I did not find the copy function did me much good, because I still had to highlight the text with the mouse. It was nice to have a paste feature though.
Paste Function
gconftool-2 -t str -s /apps/gnome-terminal/keybindings/paste "
Copy Function
gconftool-2 -t str -s /apps/gnome-terminal/keybindings/copy "
Add left hand navigation to Sharepoint
Site Actions, Site Settings, Modify Navigation
Add Heading
URL: /PH/SwineFlue/Forms/AllItems.aspx
Default Site Navigation Settings are:
Show subsites
Show pages
Sort manually, uncheck Sort pages automatically
Display the same navigation items as parent site
Display only the navigation items below the current site
Export / import sub-site
Date: Monday, May 04, 2009
Problem: Public Health site became out of synch on ships due to creation of new document library
Solution: Use stsadm to export sub-site, copy to ships, and import sub-site
STEP 1: Export sub-site Reference:\\halefleet01.flagship.hal.com\d$\Exports\PH\PHExport.bat
c:
cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
stsadm.exe -o export -url "http://efleet2/PH" -filename "D:\Exports\folder\PH" -includeusersecurity -versions 4 -cabsize 15
STEP 2: Copy export files and import batch to ships, refer to STEP 4
STEP 3: Sign onto ship, delete site
Site Actions, Site Settings, Modify All Site Settings
"Site Administration", "Delete this site"
STEP 4: Import sub-site Reference:\\halefleet01.flagship.hal.com\d$\Exports\PH\PHImport.bat
c:
cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
stsadm.exe -o import -url "http://staging/PH" -filename "D:\Exports\PH\PH.cmp" -includeusersecurity -updateversions 2
STEP 5: Replication Check, if necessary
Run replication, it should work with new structure
Enable / Disable Explorer Mode
This is a service that can be enabled or disabled.
- services.msc
- Service Name is "WebClient", start, stop, automatic, etc.
Compare Folders
Use the diff command with the -q switch for simple output, such as:
diff -q folder1 folder2 | sort > compare.txt
Play a sound with bash script “playsound”
At the time of this writing the package to install was the following:
sudo apt-get install libsdl-sound1.2
The command in the bash script to use is as follows:
playsound ding.wav
Change default startup location of gnome-terminal
In your home folder
gedit .bashrc
Add the following lines at the bottom of the file:
# CHANGE DEFAULT LOCATION OF STARTUP
cd ~/Desktop
