GLSL Sandbox Gallery

February 18th, 2013 Alex Posted in 3D, media, programming, web Comments Off

GLSL Sandbox Gallery.

AddThis Social Bookmark Button

Web Developer Checklist

January 7th, 2013 Alex Posted in web Comments Off

Web Developer Checklist

Best practices

Mobile

Analytics

Accessibility

Usability

SEO

Performance

Security

Code quality

Semantics

Source

AddThis Social Bookmark Button

How to Disable Facebook Messenger in Firefox 17

November 28th, 2012 Alex Posted in firefox, internet, web Comments Off

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

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

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

Add these custom filters to Adblockplus:

  • ||addthis.com^$third-party
  • ||addtoany.com^$third-party
  • ||sharethis.com^$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

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

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

Source http://ask.metafilter.com/181167/Google-is-driving-me-nuts

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: https://www.google.com/search?q=term1+term2+term3&nfpr=1 . Apparently, it removes links from the search results that Google think are good but that could possibly not contain any of your keywords.

Via http://ask.metafilter.com/181167/Google-is-driving-me-nuts

AddThis Social Bookmark Button

3D Web

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

Flash

Open Source

3D Modeler

http://www.19.5degs.com/3d.php

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

http://www.flashsandy.org/blog/

PaperVision3D – Open Source realtime 3D engine for Flash

http://blog.papervision3d.org/

Tutorial: http://rozengain.com/?postid=28&replyto=2296

Away3D – Open Source realtime 3D engine for Flash

http://www.away3d.com/

Commercial

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.

http://www.kaon.com/software/swindex.html

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

http://labs.autodesk.com/utilities/google_earth_extension_beta/

Content creation programs which support Collada

https://collada.org/mediawiki/index.php/Portal:Products_directory

Where to find Collada plugins: http://www.terathon.com/wiki/index.php?title=Collada_Plugins
SketchUp (you’ll have to unzip the .kmz file to find the .dae inside)
Blender 3D
Truespace
DX studio
Photoshop CS3 Plugin
AutoCAD 2008
3D Studio Max
Maya

Swift3D (Flash only)

http://www.terathon.com/wiki/index.php?title=Collada_Plugins

tag:3d&cad&animation

AddThis Social Bookmark Button

Flash Vs HTML5

November 2nd, 2010 Alex Posted in flash, web Comments Off

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

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

    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 http://www.mozilla.org/unix/customizing.html#prefs
*/

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("app.update.lastUpdateTime.search-engine-update-timer", 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("browser.download.manager.retention", 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("browser.safebrowsing.provider.0.name", "");
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("browser.search.defaultenginename", "");
user_pref("browser.search.order.1", "");
user_pref("browser.search.order.2", "");
user_pref("browser.search.suggest.enabled", true);
user_pref("browser.startup.homepage_override.mstone", "rv:1.9.2.10");
user_pref("extensions.enabledItems", "langpack-en-GB@firefox-3.6.ubuntu.com:3.6,ubufox@ubuntu.com:0.9rc2,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10");
user_pref("extensions.lastAppVersion", "3.6.10");
user_pref("gecko.handlerService.defaultHandlersVersion", "");https://addons.mozilla.org/en-US/firefox/addon/967/
user_pref("gecko.handlerService.schemes.irc.0.name", "");
user_pref("gecko.handlerService.schemes.irc.0.uriTemplate", "");
user_pref("gecko.handlerService.schemes.irc.1.name", "");
user_pref("gecko.handlerService.schemes.irc.1.uriTemplate", "");
user_pref("gecko.handlerService.schemes.irc.2.name", "");
user_pref("gecko.handlerService.schemes.irc.2.uriTemplate", "");
user_pref("gecko.handlerService.schemes.irc.3.name", "");
user_pref("gecko.handlerService.schemes.irc.3.uriTemplate", "");
user_pref("gecko.handlerService.schemes.ircs.0.name", "");
user_pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "");
user_pref("gecko.handlerService.schemes.ircs.1.name", "");
user_pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "");
user_pref("gecko.handlerService.schemes.ircs.2.name", "");
user_pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "");
user_pref("gecko.handlerService.schemes.ircs.3.name", "");
user_pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "");
user_pref("gecko.handlerService.schemes.mailto.0.name", "");
user_pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "");
user_pref("gecko.handlerService.schemes.mailto.1.name", "");
user_pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "");
user_pref("gecko.handlerService.schemes.mailto.2.name", "");
user_pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "");
user_pref("gecko.handlerService.schemes.mailto.3.name", "");
user_pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "");
user_pref("gecko.handlerService.schemes.webcal.0.name", "");
user_pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "");
user_pref("gecko.handlerService.schemes.webcal.1.name", "");
user_pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "");
user_pref("gecko.handlerService.schemes.webcal.2.name", "");
user_pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "");
user_pref("gecko.handlerService.schemes.webcal.3.name", "");
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);
[/code]

Sources: Lock Down Firefox & #1227136 – Pastie.

AddThis Social Bookmark Button

Perl CGI

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

PSGI

Plack

Plack::Middleware::StackTrace

AddThis Social Bookmark Button

Google Instant

September 15th, 2010 Alex Posted in web Comments Off

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

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

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.com/*

AddThis Social Bookmark Button

Privacy Online

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

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:

http://www.youtube.com/watch?v=kpHWnHxmnXg (Part 1)

http://www.youtube.com/watch?v=QOEMv0S8AcA (Part 2)

AddThis Social Bookmark Button

Block Facebook Malware “Features”

May 10th, 2010 Alex Posted in internet, web Comments Off

Using Firefox and Adblock Plus, you can block some unwanted “features” of Facebook: http://blog.makezine.com/archive/2010/05/how-to_avoid_facebook_malware.html. 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

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)

Bonus:

  1. ShareMeNot
  2. HTTPS Everywhere
AddThis Social Bookmark Button

DiggBar Killer for Greasemonkey

April 14th, 2009 Alex Posted in web Comments Off

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

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

#!/bin/sh
export LD_PRELOAD="/usr/lib/libGL.so.1"
/home/alexb/apps/firefox/firefox

chmod +x start_firefox
./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 2.6.27.7-smp
AddThis Social Bookmark Button

Backup your Firefox Passwords

December 5th, 2008 Alex Posted in linux, web, windows Comments Off

There are only 2 files you need to backup:

  • signons.sqlite
  • key3.db

You can find those in your Firefox profile:

Linux

~/.mozilla/firefox/xxxxxxxx.default/

Windows

  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

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

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

TN-483943_pod-kit.jpg
AddThis Social Bookmark Button

Set Firefox Scroll-wheel Speed

September 23rd, 2008 Alex Posted in productivity, web Comments Off

  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

Source: http://episteme.arstechnica.com/groupee/forums/a/tpc/f/99609816/m/480004345731

AddThis Social Bookmark Button

Print Only What You Need From a Web Page

September 21st, 2008 Alex Posted in productivity, web Comments Off

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

Google for:
inurl:/view/index.shtml
inurl:/view/view.shtml
inurl:/view/indexFrame.shtml
inurl:/viewerframe?mode=
inurl:/axis-cgi/jpg
inurl:/axis-cgi/mjpg
liveapplet

Find more queries.

AddThis Social Bookmark Button

Zap bookmarklet

February 17th, 2008 Alex Posted in web Comments Off

You can find many different bookmarklets to clean un-readable web pages at:
https://www.squarefree.com/bookmarklets/zap.html. 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

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.

Source: http://johnbokma.com/mexit/2004/04/24/changinguseragent.html

AddThis Social Bookmark Button