10pm.ca – Tidbits for the wandering Googler

web development

Enable Image Placeholders in Firefox for Linux

Cats: firefox, linux, web development

By PJ on August 1, 2013


I think it’s a nice feature when browsing, but when developing websites, it’s kind of nice to know when an image isn’t loading properly. Internet Explorer has that big ugly image placeholder box and frankly I miss it sometimes. The … Continued

Bash Script: Pull the Username from the Path, or Determining Whose Home Directory We’re In

Cats: bash, command line, linux, web development

By PJ on August 1, 2013


I needed a bash script to quickly update the ownership of a bunch of files, based on what directoy I’m currently in. The username is pulled from the present working directory (pwd): /home/SOMEUSER/the/rest/of/the/path

Kohana Modules – A strategy for including assets (.js, .css, images, etc.)

Cats: kohana, web development

By PJ on July 5, 2013


You’re writing a module that also has some necessary CSS or JS or images (or whatever) external media assets. How do you include them? Here’s a strategy that lets you package a module with default CSS/JS/images, but still lets you … Continued

Getting .htaccess rewrites working in subdirectories under WordPress

Cats: apache, web development, wordpress

By PJ on June 2, 2013


If you need to get redirects, or other htacccess directives, working in subdirectories under the WordPress installation, this may help.

Greasemonkey script to show the current dimensions of the browser

Cats: greasemonkey, web development

By PJ on June 2, 2013


When looking for a quick way to show the current dimensions of the browser window for some responsive development, I cobbled together this little Greasemonkey script.

Killing an Out of Control MySql Query Using the Command Line

Cats: command line, web development

By PJ on May 17, 2013


If you created a query monster and doesn’t seem to end and is eating up all of your resources, you can stop it.

Remount the Android filesystem as read-write (rw) to edit the hosts file for localhost mobile development

Cats: android, linux, mobile, web development

By PJ on April 23, 2013


You will need superuser permissions for this one! Grab a SSH server from Google Play. I use SSHDroid on my tablet and phone. If you need to make changes to the system files (like, for instance, if you need to … Continued

RSync with a non-standard port

Cats: command line, linux, web development

By PJ on April 12, 2013


If you’re using rsync through SSH and you need to use a different (non-standard) port, then use the -e. The -e switch lets you use any remote shell you like (including ssh) and use whatever parameters you like. For example, … Continued

Working with WordPress locally or on a development server

Cats: web development, wordpress

By PJ on April 8, 2013


Quick tip for those who develop in a local, or development, LAMP/XAMPP test environment. Working on WordPress can be a stinger, because of its tendency to use absolute URLs. Having tried a bunch of super quick fixes (mostly rewrites and … Continued

Show Full Path in Netbeans’ Titlebar

Cats: netbeans, web development

By PJ on April 8, 2013


Hate not knowing which project you’re working on in Netbeans? Plugins to the rescue! Search in Netbeans or download show-path-in-title.

  • ← Older posts
  • Newer posts →

Recent Posts

  • SpeedCrunch “Plugin”: Currency Converter
  • OctoPi/OctoPrint Change Webcam Resolution
  • Polono PL60 Label Printer on Ubuntu/Linux Mint
  • Flash Custom Firmware onto Iris v7
  • GIMP – Save for Web Plugin

Archives

  • April 2024
  • August 2023
  • July 2023
  • May 2022
  • April 2022
  • February 2022
  • August 2021
  • June 2021
  • March 2021
  • October 2020
  • April 2020
  • February 2020
  • October 2019
  • April 2019
  • March 2019
  • September 2018
  • August 2018
  • June 2018
  • May 2018
  • March 2018
  • January 2018
  • December 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • September 2016
  • August 2016
  • January 2016
  • July 2015
  • March 2015
  • February 2015
  • October 2014
  • August 2014
  • February 2014
  • December 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012

Categories

© 2025 10pm.ca – Tidbits for the wandering Googler