Home

My Notes

  • How to revert a commit using CVS CVS sucks; I think we all know that. But what if you're forced to use it and you have to revert a commit? You're in luck! Here's ...
    Posted Sep 2, 2011, 12:04 PM by Unknown user
  • Flash multi-file uploads stop after first file If you are using one of the Flash file uploading methods out there (plupload, SWFUpload, etc); then you might be having a problem where one file uploads, but none of ...
    Posted Jul 20, 2011, 7:39 AM by Unknown user
  • Increase line height in Vim To do this, add the following to your .vimrc and adjust it until it looks good to you. Bigger number equals more space between lines.:set linespace=2Thanks to ...
    Posted May 16, 2011, 10:45 AM by Unknown user
  • Batch convert images to different format using Imagemagick Here's a little shell script that uses imagemagick's convert program to convert a bunch of images to another format. In this case, we are converting jpg images to ...
    Posted May 11, 2011, 8:15 AM by Unknown user
  • Non-breaking dash ‑Thanks to http://www.fileformat.info/info/unicode/char/2011/index.htm for the answer.
    Posted May 6, 2011, 9:11 AM by Unknown user
  • How to fix "Perhaps you need to adjust your ACLOCAL_FLAGS?" The way I fixed this is by manually locating the M4 file in question by using find.find $HOME/my/software -name blahblah.m4Which should tell you where the ...
    Posted May 2, 2011, 9:23 AM by Unknown user
  • Update Adobe Flash player on Chrome OS This assumes you are using Hexxeh's vanilla build of Chrome OS.1. Login to a profile2. Go to http://get.adobe.com/flashplayer/otherversions/3. Select "Linux" for ...
    Posted Apr 11, 2011, 6:26 PM by Unknown user
  • Remove array elements within for loop using JavaScript myarr = [  {"type":"donotremove", "id":5},  {"type":"typetoremove", "id":7},  {"type":"donotremove", "id":11}];for(var i = myarr.length; i > -1; i--) {  if(typeof myarr[i] == "undefined")    continue;  if(myarr[i ...
    Posted Mar 28, 2011, 7:32 AM by Unknown user
  • Access SQLite results as a dict instead of a list with pysqlite from pysqlite2 import dbapi2 as sqlitedef dict_factory(cursor, row):    d = {}    for idx, col in enumerate(cursor.description):        d[col[0]] = row[idx]    return dcon = sqlite.connect(":memory ...
    Posted Mar 25, 2011, 7:20 AM by Unknown user
  • Dynamically add and remove nodes with ProtoVis I was faced with the task of using the force directed graph layout in ProtoVis to accomplish a top-secret project for work. However, when I needed to figure out ...
    Posted Mar 20, 2011, 4:31 PM by Unknown user
  • Use Selenium IDE with Firefox 4.0 beta In order to do this, you'll need a nightly build of the Selenium IDE add-on. You can get the latest Selenium add-on from the following site.http ...
    Posted Mar 8, 2011, 8:04 PM by Unknown user
  • atktext.h function declaration isn't a prototype when building gnome-3.0 with jhbuild I was trying to build empathy for the gnome-3.0 suite and ran into the following error:In file included from /opt/gnome/include/atk-1.0/atk/atkeditabletext ...
    Posted Feb 25, 2011, 1:25 PM by Unknown user
  • "--with-security-framework explicitly required" when building PackageKit with jhbuild Got this while trying to build gnome-3.0 with jhbuild and found the following workaround. Not quite sure yet if anything else will suffer because of my workaround, but ...
    Posted Feb 25, 2011, 11:57 AM by Unknown user
  • "You should recreate aclocal.m4" error after phpize If you are seeing this error, you'll have to update the m4 macros. First things first, backup your source directory in case things go south. When you're ready ...
    Posted Feb 21, 2011, 6:49 AM by Unknown user
  • Install automated build of chrome frame First, navigate to http://build.chromium.org/f/chromium/snapshots/chromium-rel-xp/ and jump into the folder matching the revision your interested in.You should see a file called ...
    Posted Feb 17, 2011, 9:01 PM by Unknown user
Showing posts 1 - 15 of 251. View more »
 

Recent Buzz

Youtube Favorites


Comments