Categories Archives: Tips and Tricks

Laser safe font – Laser cutter Tips, tricks and resources

A few of my recent laser cutter projects, have required that I cut some text out of the material. When you cut in to the material using normal font like Arial or Helvetica, the center parts of letters such as “O” and “P” fallout and looks horrible. The inner parts of the font is called “counters“. In typography, [...]

Canon S90 CHDK How do you get to the record mode?

Canon S90 CHDK CHDK (Canon Hack Development Kit) is a community build open source alternative firmware for canon cameras. CHDK features are; RAW files, bracketing, full manual control over exposure, Zebra-Mode, Live histogram, Grids, and most important scripting. Upgrading to this custom firmware can be tricky but they have tried to make it as easy as possibly with the application CardTricks. I have installed this firmware on several [...]

What are mysql-bin.000001, mysql-bin.000002…

By default whenever you make a change to a MySQL database it creates a log of the query and stores it in a file simlare to ‘mysql-bin.000001′ . The MySQL database does this so that you can recover or replicate a database. Most applications this is a good things to have enabled just like doing regular backups. If you want to disable [...]

Instructions on how to fix your computer, install windows applications on your mac, Hack someones Facebook, and make a million dollars from a World of warcraft clone.

Instructions on how to fix your computer, install windows applications on your mac, Hack someones Facebook, and make a million dollars from a World of warcraft clone. Step 1. Get a fork… it should be about 4-6″ long made of metal and not too sharp. Step 2. Place in right hand with point end facing up. Ensure that you got [...]

CakePHP – Security.level

I been having reports from my users that they are getting randomly logged out of my web applications. After much debugging I found that CakePHP regenerates the session on every request. File: core.php /** * The level of CakePHP security. The session timeout time defined * in ‘Session.timeout’ is multiplied according to the settings here. * Valid values: [...]

CakePHP – Disable validation in controler

When upgrading an old web application to start using CakePHP but the old systems was riddled with invalid data. When the creating the CRUD system I need a way of updating this invalid data. The following line of code will disable the validation in the controller. $this->Story->validate = array(); // Stop valadation on the story. Source: Cakephp Save [...]

Troubleshooting CakePHP

I’m just starting to learn CakePHP 1.2 and I am running in to small little problems. As I find solutions I write them down so people after me might have an easier time finding them. Problem: Warning (512): Method HtmlHelper::file does not exist Warning (512): Method HtmlHelper::submit does not exist Solution: Those methods have been [...]

Testing writing from “Windows Live Writer”

Push for web apps Currently there is a real push for everything to work in a browser, thin clients. For example; Email, Word processors (like Google docs), calendars, contact lists, router administration ect. It makes sense since everyone has a browsers, they all work relatively the same and its cross platform, plus its available anywhere [...]

NSIS – tips and tricks

I create a lot of windows application to make things easier for my customers. The simple act of coping a file from an email to a certain directory can become the most complicated tasks for a certain type of customer. I use an Scriptable Install System provided by NullSoft called NSIS (Nullsoft Scriptable Install System). [...]