GLSL Sandbox Gallery

February 18th, 2013 Alex Posted in 3D, media, programming, web Comments Off on GLSL Sandbox Gallery

GLSL Sandbox Gallery.

AddThis Social Bookmark Button

Web Developer Checklist

January 7th, 2013 Alex Posted in web Comments Off on Web Developer Checklist

Web Developer Checklist

Best practices








Code quality



AddThis Social Bookmark Button

How to Disable Facebook Messenger in Firefox 17

November 28th, 2012 Alex Posted in firefox, internet, web Comments Off on How to Disable Facebook Messenger in Firefox 17

To disable Facebook Messenger for Firefox, simply right-click the blue F button in the top-right corner of your Firefox window and then select the option to remove it.

“The new Facebook Messenger integration, which is the first new service to come out of Mozilla’s new Social API project, is optional and must be turned on by the user, according to a Nov. 20 post on The Mozilla Blog. So far, the Facebook integration is a preview into the fledgling service, and more capabilities and features will be added.”

AddThis Social Bookmark Button

3D Object File Viewer in Browser

October 11th, 2012 Alex Posted in 3D, cad, web Comments Off on 3D Object File Viewer in Browser

3d object file viewer in browser

via My Applications: 3d object file viewer in browser.

AddThis Social Bookmark Button

Common Crawl – Open Spider Crawl

July 18th, 2012 Alex Posted in programming, web Comments Off on Common Crawl – Open Spider Crawl

Common Crawl is a non-profit foundation dedicated to building and maintaining an open crawl of the web, thereby enabling a new wave of innovation, education and research.

via Common Crawl.

AddThis Social Bookmark Button

Adblock Plus – Block Sharethis, Addthis, Addtoany Popups

December 27th, 2011 Alex Posted in internet, web Comments Off on Adblock Plus – Block Sharethis, Addthis, Addtoany Popups

Add these custom filters to Adblockplus:

  • ||^$third-party
  • ||^$third-party
  • ||^$third-party

via Adblock Plus – View topic – Share/Save pop-ups.

AddThis Social Bookmark Button

YaCy – The Peer to Peer Search Engine: Home

November 30th, 2011 Alex Posted in web Comments Off on YaCy – The Peer to Peer Search Engine: Home

Web Search by the people, for the people

via YaCy – The Peer to Peer Search Engine: Home.

AddThis Social Bookmark Button

Car Steering Wheel Cellphone Mount

April 25th, 2011 Alex Posted in phone, productivity, web Comments Off on Car Steering Wheel Cellphone Mount

Gosmart Clip – A Cell Phone Holder That Mounts Your Smartphone, iPhone, Blackberry, Droid onto Your Car’s Steering Wheel for GPS Navigation and easy access.

Technical Details

  • Safely and securely holds your smartphone or cell phone on the steering wheel
  • Simple to use with no tools required
  • Compact and portable design makes it easy to take wherever you go!
AddThis Social Bookmark Button

Google Search Exact Terms

March 21st, 2011 Alex Posted in web Comments Off on Google Search Exact Terms


Download annoyinggoogle.xml, extract and save this file to ~/.mozilla/firefox/yourprofile/searchplugins/ in Linux or “%PROGRAM_FILES%\Mozilla Firefox\searchplugins” or “%APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\searchplugins”  in Windows and restart Firefox.


Or you can add &nfpr=1 to the address bar of your search query. Example: . Apparently, it removes links from the search results that Google think are good but that could possibly not contain any of your keywords.


AddThis Social Bookmark Button

3D Web

February 7th, 2011 Alex Posted in 3D, web Comments Off on 3D Web


Open Source

3D Modeler

Sandy is an intuitive and user-friendly 3D open-source library developed in Actionscript 2.0 and now Actionscript 3.0 for Adobe Flash.

PaperVision3D – Open Source realtime 3D engine for Flash

Away3D – Open Source realtime 3D engine for Flash


Kaon’s vSpace™ – From lightweight web 3D product tours, to stills and videos for Flash applications, extraordinary PowerPoint presentations, and now 3D PDFs, vSpace tools make interactive solutions possible for everyone.

Google Earth Extension for AutoCAD (publish your 3D models from AutoCAD directly into Google Earth)

Content creation programs which support Collada
Where to find Collada plugins:
SketchUp (you’ll have to unzip the .kmz file to find the .dae inside)
Blender 3D
DX studio
Photoshop CS3 Plugin
AutoCAD 2008
3D Studio Max

Swift3D (Flash only)


AddThis Social Bookmark Button

Flash Vs HTML5

November 2nd, 2010 Alex Posted in flash, web Comments Off on Flash Vs HTML5

The Flash Vs HTML5 debate has caused much discussion over the recent months and it certainly got us thinking here at Code. We believe the two technologies are not in competition and each have their purpose, but thought it might be amusing to actually put them in direct competition.

via Flash Vs HTML5.

AddThis Social Bookmark Button

Using Tables In HTML

October 18th, 2010 Alex Posted in excel, programming, web Comments Off on Using Tables In HTML

Although you should not use tables for layouts (CSS should be used for this purpose), you should definitely use tables if you need to display tabular data (Excel file data, database data or CSV file for example).

Concrete example:

Mon Tue Wed Thu Fri
8:00-9:00 Meet Sam
9:00-10:00 Dr Williams Sam again Leave for CA
AddThis Social Bookmark Button

Locking down Firefox

October 17th, 2010 Alex Posted in firefox, Privacy, web Comments Off on Locking down Firefox

    Edit prefs.js file located in Firefox’s profile directory to:

  • Stop Referrers
  • Stop all known communication with Google
  • Disable SafeBrowsing
  • Disable cache. (If you want a few cookies for your favourite sites, set browser.cache.disk.enable to true and then back to false when done).
  • Stop writing to disk and instead only write to memory.
    *Accepts no Third party cookies and will not accept any new ones while browser.cache.disk.enable is false
  • Turn off geolocation.
  • Turn off DNS prefetching
  • Turn off content prefetching
  • Remove all application handlers
  • Remove address bar searching and url making
  • Remove google as default keyword search and disables that search
  • Disable Download manager and form retention.
  • Turn of javascript

Disabling javascript, referers and cookies completely is probably a bad idea (many trusted website can become unusable), one should probably use NoScript, ModifyHeaders or CookieSafe add-ons insteads.

[code]# Mozilla User Preferences

/* Do not edit this file.
* If you make changes to this file while the application is running,
* the changes will be overwritten when the application exits.
* To make a manual change to preferences, you can visit the URL about:config
* For more information, see

user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1287207323);
user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1287207586);
user_pref("app.update.lastUpdateTime.microsummary-generator-update-timer", 1287207396);
user_pref("app.update.lastUpdateTime.places-maintenance-timer", 1287206929);
user_pref("", 1287287126);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.offline.enable", false);
user_pref("browser.contentHandlers.types.0.title", "");
user_pref("browser.contentHandlers.types.0.type", "");
user_pref("browser.contentHandlers.types.0.uri", "");
user_pref("browser.contentHandlers.types.1.title", "");
user_pref("browser.contentHandlers.types.1.type", "");
user_pref("browser.contentHandlers.types.1.uri", "");
user_pref("browser.contentHandlers.types.2.title", "");
user_pref("browser.contentHandlers.types.2.type", "");
user_pref("browser.contentHandlers.types.2.uri", "");
user_pref("browser.contentHandlers.types.3.title", "");
user_pref("browser.contentHandlers.types.3.type", "");
user_pref("browser.contentHandlers.types.3.uri", "");
user_pref("browser.contentHandlers.types.4.title", "");
user_pref("browser.contentHandlers.types.4.type", "");
user_pref("browser.contentHandlers.types.4.uri", "");
user_pref("browser.contentHandlers.types.5.title", "");
user_pref("browser.contentHandlers.types.5.type", "");
user_pref("browser.contentHandlers.types.5.uri", "");
user_pref("", 0);
user_pref("browser.formfill.enable", false);
user_pref("browser.history_expire_days", 0);
user_pref("browser.history_expire_days.mirror", 0);
user_pref("browser.history_expire_days_min", 0);
user_pref("browser.history_expire_sites", 0);
user_pref("browser.migration.version", 1);
user_pref("browser.places.importBookmarksHTML", false);
user_pref("browser.places.smartBookmarksVersion", 2);
user_pref("browser.safebrowsing.enabled", false);
user_pref("browser.safebrowsing.malware.enabled", false);
user_pref("browser.safebrowsing.malware.reportURL", "");
user_pref("browser.safebrowsing.provider.0.gethashURL", "");
user_pref("browser.safebrowsing.provider.0.keyURL", "");
user_pref("browser.safebrowsing.provider.0.lookupURL", "");
user_pref("", "");
user_pref("browser.safebrowsing.provider.0.reportErrorURL", "");
user_pref("browser.safebrowsing.provider.0.reportGenericURL", "");
user_pref("browser.safebrowsing.provider.0.reportMalwareErrorURL", "");
user_pref("browser.safebrowsing.provider.0.reportMalwareURL", "");
user_pref("browser.safebrowsing.provider.0.reportPhishURL", "");
user_pref("browser.safebrowsing.provider.0.reportURL", "");
user_pref("browser.safebrowsing.provider.0.updateURL", "");
user_pref("browser.safebrowsing.warning.infoURL", "");
user_pref("", "");
user_pref("", "");
user_pref("", "");
user_pref("", true);
user_pref("browser.startup.homepage_override.mstone", "rv:");
user_pref("extensions.enabledItems", ",,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10");
user_pref("extensions.lastAppVersion", "3.6.10");
user_pref("gecko.handlerService.defaultHandlersVersion", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.irc.0.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.irc.1.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.irc.2.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.irc.3.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "");
user_pref("", "");
user_pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "");
user_pref("general.smoothScroll", true);
user_pref("general.useragent.extra.firefox", "Firefox");
user_pref("general.useragent.vendor", "Windows NT 6.1");
user_pref("general.useragent.vendorComment", "");
user_pref("general.useragent.vendorSub", "");
user_pref("general.warnOnAboutConfig", false);
user_pref("geo.enabled", false);
user_pref("geo.wifi.uri", "");
user_pref("idle.lastDailyNotification", 1287209609);
user_pref("intl.charsetmenu.browser.cache", "UTF-8");
user_pref("javascript.enabled", false);
user_pref("keyword.URL", "");
user_pref("keyword.enabled", false);
user_pref("layout.spellcheckDefault", 2);
user_pref("network.cookie.cookieBehavior", 1);
user_pref("network.cookie.prefsMigrated", true);
user_pref("network.dns.disablePrefetch", true);
user_pref("network.http.sendRefererHeader", 0);
user_pref("network.prefetch-next", false);
user_pref("places.last_vacuum", 1287209609);
user_pref("privacy.clearOnShutdown.cache", false);
user_pref("privacy.clearOnShutdown.cookies", false);
user_pref("privacy.clearOnShutdown.sessions", false);
user_pref("privacy.sanitize.didShutdownSanitize", true);
user_pref("privacy.sanitize.migrateFx3Prefs", true);
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
user_pref("urlclassifier.gethashnoise", 0);
user_pref("urlclassifier.gethashtables", "");
user_pref("urlclassifier.updatecachemax", 0);

Sources: Lock Down Firefox & #1227136 – Pastie.

AddThis Social Bookmark Button

Perl CGI

October 12th, 2010 Alex Posted in perl, web Comments Off on Perl CGI




AddThis Social Bookmark Button

Google Instant

September 15th, 2010 Alex Posted in web Comments Off on Google Instant

Now get “instantly” bad results with Google Instant, since 9/08/2010.

I’d rather not have this distraction (so I turned it off). Plus, if they really wanted you to save time, they would give you more then 10 results per page (as the default setting).

AddThis Social Bookmark Button

.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

August 22nd, 2010 Alex Posted in web Comments Off on .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

I had this error:

Permission denied: .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

I fixed it by changing all directories (and sub-directories) permissions using this command:

-bash-3.00$ find ./ -type d -exec chmod 755 {} \;

Warning: This command changes all sub-folders permissions.

AddThis Social Bookmark Button

Blocking Annoying Sharing Popup “Addthis”

July 11th, 2010 Alex Posted in web Comments Off on Blocking Annoying Sharing Popup “Addthis”

While “Addthis” is supposed to be an helper, it is an annoyance for me because when you hover the mouse over it, a window popups and stays there until you manually close it.

An easy way to block it if you use Adblock plus, is to add the following filter (Tools – Adblock Plus Preferences – Filters – Add Filter..):*

AddThis Social Bookmark Button

Privacy Online

May 16th, 2010 Alex Posted in internet, security, web Comments Off on Privacy Online

A few programs:

  • Tor: “enabling Internet anonymity by thwarting network traffic analysis”
  • Privoxy: “It has filtering capabilities for protecting privacy, modifying web page data, managing cookies, controlling access, and selectively removing content such as ads, banners and pop-ups.”
  • Enigmail: “It enables you to write and receive email messages signed and/or encrypted with the OpenPGP standard.”
  • Off-the-Record Messaging (OTR): “cryptographic protocol that provides strong encryption for instant messaging conversations”

An interesting talk on Youtube: (Part 1) (Part 2)

AddThis Social Bookmark Button

Block Facebook Malware “Features”

May 10th, 2010 Alex Posted in internet, web Comments Off on Block Facebook Malware “Features”

Using Firefox and Adblock Plus, you can block some unwanted “features” of Facebook: For example, it should prevent Facebook from sharing information with other websites.

Or if you want, you can completely delete your account, thanks to the The Consumerist. You could also just deactivate your account if you plan on re-using it.

AddThis Social Bookmark Button

Three Best Firefox Extensions / Add-ons

August 11th, 2009 Alex Posted in firefox, internet, web Comments Off on Three Best Firefox Extensions / Add-ons

I tried many other add-ons and extensions, but these are the ones I can’t live without:

  1. Adblock Plus
  2. No Script
  3. Firebug (mostly for web development)


  1. ShareMeNot
  2. HTTPS Everywhere
AddThis Social Bookmark Button

DiggBar Killer for Greasemonkey

April 14th, 2009 Alex Posted in web Comments Off on DiggBar Killer for Greasemonkey

Best way I found to get rid of the digg bar:

Greasemonkey’s DiggBar Killer script.

Pre-requisites: Greasemonkey for Firefox.

AddThis Social Bookmark Button

Flash crashes/hangs Firefox when switching to fullscreen

February 8th, 2009 Alex Posted in flash, linux, video, web Comments Off on Flash crashes/hangs Firefox when switching to fullscreen

The best solution/workaround I found is to create an executable script (eg: start_firefox) with the following lines (1, 2):

export LD_PRELOAD="/usr/lib/"

chmod +x start_firefox

Another solution is to disable the hardware acceleration in Flash (probably a bad solution):

  1. Right click on the embedded Flash window inside Firefox (flash video)
  2. Settings…
  3. go to the first tab
  4. un-check “Enable hardware acceleration”

Now you should be able to go full screen…

Here is the version of the software I was using.

  • Flash v10,0,15,3
  • Firefox 3.0.5 and 3.5.2
  • NVIDIA video driver 180.22
  • Kernel
AddThis Social Bookmark Button

Backup your Firefox Passwords

December 5th, 2008 Alex Posted in linux, web, windows Comments Off on Backup your Firefox Passwords

There are only 2 files you need to backup:

  • signons.sqlite
  • key3.db

You can find those in your Firefox profile:




  1. Click the Windows Start button, and select Run….
  2. Type in %APPDATA%\Mozilla\Firefox\Profiles\ then click OK.

You can then copy those file to another computer in your Firefox profile to use them.

AddThis Social Bookmark Button

You know Flash is inefficient when ..

November 25th, 2008 Alex Posted in flash, games, web Comments Off on You know Flash is inefficient when ..

DOOM 1, a 15 year old game converted to flash, is jerky on a fairly recent computer.

It’s still worth a try, play now.

AddThis Social Bookmark Button

Stream Internet video content directly to your TV w/ VuNow

November 16th, 2008 Alex Posted in hardware, video, web Comments Off on Stream Internet video content directly to your TV w/ VuNow

Verismo’s VuNow allows you to stream Internet video content directly to your TV. The MediaMVP was a similar device, but was used to get content off your computer (unless you use something like MVPMC). According to Verismo, it’s simple to use and easy to install. We can find out on December 15th for $99.

VuNow™ Features

Verismo’s VuNow is the only solution that provides everything a consumer wants. Access to the broadest online content, simple to use, easy to install, and compact in size — all at an affordable price.

  • A Standard Definition and a High Definition model of the VuNow PoD that can connect to any TV

  • Support for wired or wireless connectivity
  • Navigation using a TV-friendly and intuitive User Interface
  • Watch YouTube™ videos on TV by categories
  • Search for videos with the powerful built-in video search engine
  • Choose from a large selection of movies and download from CinemaNow™
  • Download videos using BitTorrent™ protocol
  • Watch videos directly from popular websites by categories
  • Watch Live TV Channels from around the world
  • Access to Personal Media such as video, music, and photos from the home network stored on a PC, Networked Attached Storage device, or even on a connected USB storage device

Verismo’s VuNow

AddThis Social Bookmark Button

Set Firefox Scroll-wheel Speed

September 23rd, 2008 Alex Posted in productivity, web Comments Off on Set Firefox Scroll-wheel Speed

  1. Type about:config<ENTER> in firefox address bar
  2. *Optional* Type: mousewheel.withnokey<ENTER> in the filter box
  3. Set mousewheel.withnokey.sysnumlines to false

    This makes Firefox use its own setting instead of the system-wide setting.

  4. Change mousewheel.withnokey.numlines to how many lines you want to scroll at a time.
  5. I use 8


AddThis Social Bookmark Button

Print Only What You Need From a Web Page

September 21st, 2008 Alex Posted in productivity, web Comments Off on Print Only What You Need From a Web Page

The following resources allow you to edit any web page and print only what you need to save paper and/or ink.

  • Bookmarklets

    To use a bookmarklet, you need to bookmark it; either drag it to your bookmark toolbar or right click the link and choose bookmark this. Next, when you visit a web page you would like to edit, click on that new bookmark. My favorite one is PrintWhatYouLike, there is no extension to install and it is a very easy and efficient.

    1. PrintWhatYouLike Bookmarklet
    2. EditThis Bookmarklet (Demo)
    3. List of bookmarklets to remove (zap) annoyances from web pages
  • Firefox Extension
    1. Aardvark
AddThis Social Bookmark Button

Finding webcams

July 12th, 2008 Alex Posted in web Comments Off on Finding webcams

Google for:

Find more queries.

AddThis Social Bookmark Button

Zap bookmarklet

February 17th, 2008 Alex Posted in web Comments Off on Zap bookmarklet

You can find many different bookmarklets to clean un-readable web pages at: They are all compatible with Firefox and most of them are compatible with Internet Explorer and Opera.

For example, you can remove java, flash, background music, third-party iframes, plugins, colors, cheap effects, event handlers, or timers.

AddThis Social Bookmark Button

Firefox: How to customize your UserAgent

December 19th, 2007 Alex Posted in web Comments Off on Firefox: How to customize your UserAgent

Firefox: How to edit the User Agent string

To change the User Agent string, just enter about:config as an address in the address bar of FireFox, the location where you normally enter a URL (link). I recommend to preserve the original value, which you can get when you enter just about: in the address bar.

Now press the right mouse button to get the context menu and select “String” from the menu entry “New”. Enter the preference name “general.useragent.override”, without the quotes. Next, enter the new User Agent value you want Mozilla Firefox to use. I added my name and a link to my web site to the original value. You can also pick one from the list of User Agent strings. Check the new value by entering about: in the address bar.


AddThis Social Bookmark Button