Quantcast
Channel: Sniptools
Browsing all 10 articles
Browse latest View live

Recovering Bad Hard Disks (CRC on Windows, Error –36 on Mac OSX)

So you've been visited by the much dreaded CRC — Cyclical Redundancy Check error, most likely encountered while copying files between hard disks. On Mac OSX, this will usually appear as some cryptic...

View Article



Resize a column in a PostgreSQL table without changing data

You use PostgreSQL. You find that a column you have in a table is of a smaller length than you now wish. In my case, this was a varchar(20) that I now wished to make varchar(35). Nothing else. I just...

View Article

Image may be NSFW.
Clik here to view.

KeepVid: saving videos from Youtube or Vimeo, from anywhere

If you use Firefox (and if not, what are you waiting for?) you are familiar with useful extensions such as Video Downloader, which allow you to save local copies of the videos you watch on websites...

View Article

Finding non-UTF8 values in PostgreSQL

This regexp worked for me. 1 2 3 4 5 6 7 8 9 10 11 12 SELECT * FROM TABLE WHERE NOT COLUMN ~ ( '^('|| $$[\09\0A\0D\x20-\x7E]|$$|| -- ASCII $$[\xC2-\xDF][\x80-\xBF]|$$|| -- non-overlong 2-byte...

View Article

Image may be NSFW.
Clik here to view.

Create ringtones for iPhone on Mac OSX (for free)

A simple app ought to do it. Download iRinger. It used to be a Windows app, but is now available for Mac OSX! A very intuitive application. Select a song (mp3 for example), it clips it and shows you...

View Article


Increase size of /tmp folder on CentOS Linux under Cpanel

Any dedicated server hosting some websites that get meaningful traffic will quickly ourgrow Cpanel's default /tmp folder size of 512MB. It houses PHP session files, temporary file uploads, your...

View Article

Speed up OSX Terminal with one command

When you start up Terminal, does it take over 10 seconds or so before the prompt appears? Turns out the Terminal.app stores logs of previous sessions and over time this grows. Even apps like MainMenu,...

View Article

Image may be NSFW.
Clik here to view.

Making Java work in browsers on Mac OSX Lion

So I updated to OSX Lion 10.7. Very cool, especially with the easy gestures. Biggest problem: my bank website, which uses Java applets for secure logins, stopped working. In the area where the login...

View Article


Fix slow network file transfers across Mac OSX Lion

Suddenly, after the upgrade from Snow Leopard to the much vaunted OSX Lion, my wireless transfers over a home LAN network became sluggish. It was taking a few *minutes* to transfer a simple file....

View Article


Image may be NSFW.
Clik here to view.

Have Google Chrome remember an SSL certificate on Mac OSX

You access https sites. Chrome, in its security genius, warns you. Every. Single. Time. No more. You can make it remember that you trust a certificate. When on a secure site, click the warning icon on...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images