Archive for the ‘ OPEN SOURCE ’ Category

Exclude Filter for Google Analytics Tracking

1. Create a bookmark in your browser with the code snippet below:

javascript:var pageTracker = _gat._getTracker("UA-#######-1"); pageTracker._setVar('remove-me');alert('Set.')

2. Replace ####### with your Google Analytics code.
3. Create a filter in GA to exclude the cookie (remove-me) from tracking.
4. When you visit your site, hit this bookmark.

You could also create a page to set the cookie…

Use WordPress as a CMS for Flash

Press2Flash (not to be confused with FlashPress) seems to be a very full featured way of using WordPress as a CMS for your Flash site. You can get all your posts/comments etc and present them however you would like. There is ASDoc documentation for it and the example he provides in the download is very simple to use. If you are looking for a CMS for your Flash site, give Press2Flash a look.

Synergy – Work Across Computers

A good friend of mine showed me this program and with a bit of help, we were able to get it running. This is going from my home computer (dell tower) to my work laptop (macbook pro). It is very handy to be able to (using my home computer), mouse over to my macbook pro, work on something, mouse back over to my tower, and continue etc. You can also copy/paste text between the computers which is pretty sweet when copying snippets of code. (I currently use DropBox to share files). I won’t do an exhaustive tutorial on how to set up synergy, as the ‘Using Synergy’ link on the sourceforge site is pretty good, but wanted to offer a few tricks to get it working:

With my setup at home, my mac book pro is to the right of my tower. To get started, choose a computer you will use as the ‘server’. (The one that will control all the computers connected in this method; in my case my dell tower):

  1. Set up your computers by entering both in the Screens box (use your actual computer names)
  2. For the client computer (in my case the mac) in the alias screen you should type ComputerName.local (this is not needed for your server computer)
  3. Setup your links. Mine read:
  4. MacName is right of DellTower (and the corresponding rules…)
  5. DellTower is left of MacName

The mac (using it as the client):

  1. All you need to do is open terminal and enter a command like this:
    /Users/username/Desktop/synergy-1.3.1/synergyc -f 192.168.blah.blah

I had to use the IP address of my dell as the computer name was not working.

I think it makes it easier having the Windows computer as the host because you have a GUI to configure it and don’t need to fuss with the config file on the mac. Hope this helps someone!

 

Switch to our mobile site