After reading a handful of blog posts I finally got this working in 10.6...
-
Add this to ~/.bash_profile:
export CLICOLOR=1 -
Install SIMBL.
| The regex patterns in this gist are intended to match any URLs, | |
| including "mailto:[email protected]", "x-whatever://foo", etc. For a | |
| pattern that attempts only to match web URLs (http, https), see: | |
| https://gist.github.com/gruber/8891611 | |
| # Single-line version of pattern: | |
| (?i)\b((?:[a-z][\w-]+:(?:/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’])) |
| Options +FollowSymlinks | |
| RewriteEngine on | |
| # No intersticial for direct reference and self-reference | |
| RewriteCond %{HTTP_REFERER} !^$ | |
| RewriteCond %{HTTP_REFERER} !^http(s)?://box.leebyron.com/.*$ [NC] | |
| # Add a line item for every website you don't need an intersticial for | |
| # I've added my own website, gmail and facebook | |
| RewriteCond %{HTTP_REFERER} !^http(s)?://([^\.]*.)?leebyron.com/.*$ [NC] | |
| RewriteCond %{HTTP_REFERER} !^http(s)?://mail.google.com/.*$ [NC] |
After reading a handful of blog posts I finally got this working in 10.6...
Add this to ~/.bash_profile:
export CLICOLOR=1
Install SIMBL.
| #!/bin/sh | |
| #check to see if arguments are set | |
| E_BADARGS=65 | |
| if [ ! -n "$1" ] | |
| then | |
| echo "Usage: `basename $0` textfilename [rtffilename optional]" | |
| exit $E_BADARGS | |
| fi |
| #!/bin/sh | |
| #Setup a new domain on slicehost using layout outlined here: | |
| #http://articles.slicehost.com/2008/5/16/ubuntu-hardy-nginx-virtual-hosts | |
| #and creating an nginx config file based on this article: | |
| #http://www.dailycupoftech.com/2009/02/24/basic-slicehost-slice-setup-part-7-create-the-virtual-host-website/ | |
| # ---------------------------------------------------------------- | |
| #check to see if arguments are set | |
| E_BADARGS=65 |
| <?php | |
| /* vars for export */ | |
| // database record to be exported | |
| $db_record = 'XXXXXXXXX'; | |
| // optional where query | |
| $where = 'WHERE 1 ORDER BY 1'; | |
| // filename for export | |
| $csv_filename = 'db_export_'.$db_record.'_'.date('Y-m-d').'.csv'; | |
| // database variables |
| /**********************************************/ | |
| /* | |
| /* IR_Black Skin by Ben Truyman - 2011 | |
| /* | |
| /* Based on Todd Werth's IR_Black: | |
| /* http://blog.toddwerth.com/entries/2 | |
| /* | |
| /* Inspired by Darcy Clarke's blog post: | |
| /* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
| /* |
| /* | |
| Copyright 2011 Martin Hawksey | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software |
| #!/bin/bash | |
| # | |
| # Install Postgres 9.1, PostGIS and create PostGIS template on a clean Ubuntu 11.10 Oneiric Ocelot box | |
| # http://wildfish.com | |
| # add the ubuntu gis ppa | |
| sudo apt-get -y install python-software-properties | |
| sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | |
| sudo apt-get update |