michaelfox + config 82
keymando/spotify - GitHub
january 2012 by michaelfox
keymando (@keymando)
11/15/11 2:04 PM
Update to the @keymando spotify plugin: Add suport on show growl notification for current track github.com/keymando/spoti…
spotify
dotfiles
config
keymando
11/15/11 2:04 PM
Update to the @keymando spotify plugin: Add suport on show growl notification for current track github.com/keymando/spoti…
january 2012 by michaelfox
Keymando keyboard shortcuts — Gist
january 2012 by michaelfox
Dan Rogers (@danro)
12/2/11 3:42 PM
If you use multiple text-editors on the mac (ie. TextMate + Xcode), @keymando is a fantastic key remap tool. My config: gist.github.com/1424734
textmate
xcode
config
dotfiles
keymando
gist
github
12/2/11 3:42 PM
If you use multiple text-editors on the mac (ie. TextMate + Xcode), @keymando is a fantastic key remap tool. My config: gist.github.com/1424734
january 2012 by michaelfox
Git aliases — Gist
october 2011 by michaelfox
[alias]
edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; $EDITOR `f`"
add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`"
lc = log ORIG_HEAD.. --stat --no-merges
smash = merge --no-commit --log
eat = branch -M
prune-all = !git remote | xargs -n 1 git remote prune
whois = "!sh -c 'git log -i --pretty="format:%an <%ae>" --author="$1" | sort -u' -"
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
this = !git init && ( [[ -n $(ls) ]] || touch .gitignore ) && git add . && git commit -m "initial commit"
sp = ![[ -z $(git status --porcelain -uno) ]] && git pull || git stash && git pull && git stash pop
spp = ![[ -z $(git status --porcelain -uno) ]] && git pull || git stash && git pull && git push && git stash pop
pp = !git pull && git push
ppu = !git pp && git submodule sync && git submodule update --init
ls = "!git status -suno"
ls-modified = "!git status --porcelain -uno | awk 'match($1, /M/) {print $2}'"
ls-added = "!git status --porcelain -uno | awk 'match($1, /A/) {print $2}'"
ls-deleted = "!git status --porcelain -uno | awk 'match($1, /D/) {print $2}'"
ls-renamed = "!git status --porcelain -uno | awk 'match($1, /R/) {print $2}'"
ls-copied = "!git status --porcelain -uno | awk 'match($1, /C/) {print $2}'"
ls-updated = "!git status --porcelain -uno | awk 'match($1, /U/) {print $2}'"
ls-staged = "!git status --porcelain -uno | grep -P '^[MA]' | awk '{ print $2 }'"
ls-untracked = "!git status --porcelain -uall | awk '$1 == "??" {print $2}'"
sup = !git submodule sync && git submodule update --init
# install t first: http://github.com/sjl/t
todo = !python ~/lib/t/t.py --task-dir "$(git rev-parse --show-toplevel)" --list TODO
bug = !python ~/lib/t/t.py --task-dir "$(git rev-parse --show-toplevel)" --list BUGS
alias = "!sh -c '[ $# = 2 ] && git config --global alias."$1" "$2" && exit 0 || [ $# = 1 ] && [ $1 = "--list" ] && git config --list | grep "alias\." | sed "s/^alias\.\([^=]*\)=\(.*\).*/\1@@@@=>@@@@\2/" | sort | column -ts "@@@@" && exit 0 || echo "usage: git alias <new alias> <original command>\n git alias --list" >&2 && exit 1' -"
ignore = "!sh -c '([ $# = 2 ] && ([ "$1" = "--local" ] && echo "$2" >> "./$(git rev-parse --show-cdup)/.git/info/exclude" || ([ "$2" = "--local" ] && echo "$1" >> "./$(git rev-parse --show-cdup)/.git/info/exclude"))) || ([ $# = 1 ] && (([ "$1" == "--list" ] && git ls-files -i --exclude-standard) || (([ ! -e .gitignore ] && touch .gitignore || echo "$(cat .gitignore)" > .gitignore) && echo "$1" >> .gitignore))) || echo "usage: git ignore <file>\n git ignore --local <file>\n git ignore --list" >&2 && exit 1' -"
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
cs = !git ls-staged | grep ".php" | xargs phpcs
peeps = !git log --pretty=format:%aN | sort | uniq -c | sort -rn
graph = log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short
git
dotfiles
config
gist
github-user:bobthecow
edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; $EDITOR `f`"
add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`"
lc = log ORIG_HEAD.. --stat --no-merges
smash = merge --no-commit --log
eat = branch -M
prune-all = !git remote | xargs -n 1 git remote prune
whois = "!sh -c 'git log -i --pretty="format:%an <%ae>" --author="$1" | sort -u' -"
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
this = !git init && ( [[ -n $(ls) ]] || touch .gitignore ) && git add . && git commit -m "initial commit"
sp = ![[ -z $(git status --porcelain -uno) ]] && git pull || git stash && git pull && git stash pop
spp = ![[ -z $(git status --porcelain -uno) ]] && git pull || git stash && git pull && git push && git stash pop
pp = !git pull && git push
ppu = !git pp && git submodule sync && git submodule update --init
ls = "!git status -suno"
ls-modified = "!git status --porcelain -uno | awk 'match($1, /M/) {print $2}'"
ls-added = "!git status --porcelain -uno | awk 'match($1, /A/) {print $2}'"
ls-deleted = "!git status --porcelain -uno | awk 'match($1, /D/) {print $2}'"
ls-renamed = "!git status --porcelain -uno | awk 'match($1, /R/) {print $2}'"
ls-copied = "!git status --porcelain -uno | awk 'match($1, /C/) {print $2}'"
ls-updated = "!git status --porcelain -uno | awk 'match($1, /U/) {print $2}'"
ls-staged = "!git status --porcelain -uno | grep -P '^[MA]' | awk '{ print $2 }'"
ls-untracked = "!git status --porcelain -uall | awk '$1 == "??" {print $2}'"
sup = !git submodule sync && git submodule update --init
# install t first: http://github.com/sjl/t
todo = !python ~/lib/t/t.py --task-dir "$(git rev-parse --show-toplevel)" --list TODO
bug = !python ~/lib/t/t.py --task-dir "$(git rev-parse --show-toplevel)" --list BUGS
alias = "!sh -c '[ $# = 2 ] && git config --global alias."$1" "$2" && exit 0 || [ $# = 1 ] && [ $1 = "--list" ] && git config --list | grep "alias\." | sed "s/^alias\.\([^=]*\)=\(.*\).*/\1@@@@=>@@@@\2/" | sort | column -ts "@@@@" && exit 0 || echo "usage: git alias <new alias> <original command>\n git alias --list" >&2 && exit 1' -"
ignore = "!sh -c '([ $# = 2 ] && ([ "$1" = "--local" ] && echo "$2" >> "./$(git rev-parse --show-cdup)/.git/info/exclude" || ([ "$2" = "--local" ] && echo "$1" >> "./$(git rev-parse --show-cdup)/.git/info/exclude"))) || ([ $# = 1 ] && (([ "$1" == "--list" ] && git ls-files -i --exclude-standard) || (([ ! -e .gitignore ] && touch .gitignore || echo "$(cat .gitignore)" > .gitignore) && echo "$1" >> .gitignore))) || echo "usage: git ignore <file>\n git ignore --local <file>\n git ignore --list" >&2 && exit 1' -"
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
cs = !git ls-staged | grep ".php" | xargs phpcs
peeps = !git log --pretty=format:%aN | sort | uniq -c | sort -rn
graph = log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short
october 2011 by michaelfox
Keeping ssh connections alive by Stuart Colville
june 2011 by michaelfox
ServerAliveInterval 240
ssh
connection
tools
config
server
admin
june 2011 by michaelfox
pentadactylrc at master from mattsacks's dotfiles - GitHub
january 2011 by michaelfox
" .pentadactylrc - Matt Sacks
set mapleader=","
"{{{ Options
set novb
set complete=l
set defsearch=gg
set newtab=all
set urlseparator=",,"
set hintkeys='01234789'
set nostrictfocus
"}}}
"{{{ PassKeys
set passkeys+='mail\.google\.com':c/jkhnpouelxsfra#`[]z?*nrtgidIU+-=<Tab><Return>
set passkeys+='mail\.google\.com/tasks/canvas':<Tab><S-Tab><Return>
set passkeys+='google\.com/reader':jkvnpbumoaAXNOVPJK?gehtl<Return>
set passkeys+='twitter\.com':jk<Space>/.frtmn?ghrpu<Return>
set passkeys+='rememberthemilk\.com/home/p':trsjkdhyucpgfinalez1234<Return>
set passkeys+='www\.google\.com/calendar':dwmxajkcnqetp?<Del>s12345<Return>
set passkeys+='springpadit\.com/springpad':?hgmfntljk/c<Return>
set passkeys+='toodledo\.com/':?fn*aitzwjklmocdgxpsheybr123456789<Esc><Return>
set passkeys+='duckduckgo\.com/':\!lo<C-Return>jkh<Esc>\'v/rs1<Return>
"}}}
"{{{ Shortcuts
map <Leader>r :o read<CR>
map <Leader>n :o notforest<CR>
map <Leader>in :o insta<CR>
map <Leader>ib :o instab<CR>
map <Leader>il :o instalong<CR>
map <Leader>e :tabopen!
map K :o g
map <Leader>s :tabopen g
map <Leader>S :tabopen! g
map <Leader>fr :open firebug<CR>
ab leeblo extoptions LeechBlock
map <C-l> :noh<CR>
"}}}
"{{{ Navigation
nno j 5j
nno k 5k
nno <C-e> 10<C-e>
nno <C-y> 10<C-y>
cno <C-P> <Up>
cno <C-N> <Down>
cno <C-b> <Left>
cno <C-f> <Right>
ino <C-b> <Left>
ino <C-f> <Right>
ino <C-p> <Up>
ino <C-n> <Down>
map ,, <C-^>
"}}}
"{{{ Site Specific
" Don't focus on Reddit frame
autocmd LocationChange 'reddit\.com/tb/' -js buffer.focusElement(buffer.allFrames()[2]);
" Focus on the Android docs
autocmd PageLoad 'developer\.android\.com/' -js buffer.followLink(document.getElementById("doc-content"));
"}}}
" vi:filetype=vim foldmethod=marker
pentadactyl
vim
vimperator
dotfiles
firefox
plugins
config
examples
set mapleader=","
"{{{ Options
set novb
set complete=l
set defsearch=gg
set newtab=all
set urlseparator=",,"
set hintkeys='01234789'
set nostrictfocus
"}}}
"{{{ PassKeys
set passkeys+='mail\.google\.com':c/jkhnpouelxsfra#`[]z?*nrtgidIU+-=<Tab><Return>
set passkeys+='mail\.google\.com/tasks/canvas':<Tab><S-Tab><Return>
set passkeys+='google\.com/reader':jkvnpbumoaAXNOVPJK?gehtl<Return>
set passkeys+='twitter\.com':jk<Space>/.frtmn?ghrpu<Return>
set passkeys+='rememberthemilk\.com/home/p':trsjkdhyucpgfinalez1234<Return>
set passkeys+='www\.google\.com/calendar':dwmxajkcnqetp?<Del>s12345<Return>
set passkeys+='springpadit\.com/springpad':?hgmfntljk/c<Return>
set passkeys+='toodledo\.com/':?fn*aitzwjklmocdgxpsheybr123456789<Esc><Return>
set passkeys+='duckduckgo\.com/':\!lo<C-Return>jkh<Esc>\'v/rs1<Return>
"}}}
"{{{ Shortcuts
map <Leader>r :o read<CR>
map <Leader>n :o notforest<CR>
map <Leader>in :o insta<CR>
map <Leader>ib :o instab<CR>
map <Leader>il :o instalong<CR>
map <Leader>e :tabopen!
map K :o g
map <Leader>s :tabopen g
map <Leader>S :tabopen! g
map <Leader>fr :open firebug<CR>
ab leeblo extoptions LeechBlock
map <C-l> :noh<CR>
"}}}
"{{{ Navigation
nno j 5j
nno k 5k
nno <C-e> 10<C-e>
nno <C-y> 10<C-y>
cno <C-P> <Up>
cno <C-N> <Down>
cno <C-b> <Left>
cno <C-f> <Right>
ino <C-b> <Left>
ino <C-f> <Right>
ino <C-p> <Up>
ino <C-n> <Down>
map ,, <C-^>
"}}}
"{{{ Site Specific
" Don't focus on Reddit frame
autocmd LocationChange 'reddit\.com/tb/' -js buffer.focusElement(buffer.allFrames()[2]);
" Focus on the Android docs
autocmd PageLoad 'developer\.android\.com/' -js buffer.followLink(document.getElementById("doc-content"));
"}}}
" vi:filetype=vim foldmethod=marker
january 2011 by michaelfox
Information Property List Key Reference: Introduction
december 2010 by michaelfox
“About Information Property List Files” provides an overview of information property list files and how you configure them.
“Core Foundation Keys” describes the keys that provide basic information about the bundle configuration.
“Launch Services Keys” describes the keys used by Launch Services to obtain information about a bundle.
“Cocoa Keys” describes the keys supported by Cocoa and Cocoa Touch applications.
“Mac OS X Keys” describes keys supported by Mac OS X bundles.
“UIKit Keys” describes the keys specific to iOS applications.
propertylist
plist
osx
cocoa
objective-c
environment
settings
config
reference
“Core Foundation Keys” describes the keys that provide basic information about the bundle configuration.
“Launch Services Keys” describes the keys used by Launch Services to obtain information about a bundle.
“Cocoa Keys” describes the keys supported by Cocoa and Cocoa Touch applications.
“Mac OS X Keys” describes keys supported by Mac OS X bundles.
“UIKit Keys” describes the keys specific to iOS applications.
december 2010 by michaelfox
gist: 579814 - Use one of these techniques to install node and npm without having to sudo- GitHub
december 2010 by michaelfox
Use one of these techniques to install node and npm without having to sudo
install
node
setup
environment
shell
config
permissions
december 2010 by michaelfox
Hivelogic - My Setup, Part II: The Software
december 2010 by michaelfox
A while back, I wrote an article about my hardware configuration, with a promise to write a similar article about the software I use. So, this article is Part II of the series, detailing the software I use on a daily basis. One my favorite ways to learn about new tools is through a colleague’s recommendation. Hopefully there might be something useful here that you haven’t heard about yet.
Before I dive in, it might be worth mentioning that my hardware setup has changed a bit. While I still use my powerbook (Guru) quite a bit, my primary machine is now an iMac Intel Core Duo 20”, with 1.5 GB of RAM.
setup
config
environment
system
Before I dive in, it might be worth mentioning that my hardware setup has changed a bit. While I still use my powerbook (Guru) quite a bit, my primary machine is now an iMac Intel Core Duo 20”, with 1.5 GB of RAM.
december 2010 by michaelfox
Introduction to using vim for Rails development ... - GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
november 2010 by michaelfox
Introduction to using vim for Rails development
Someone recently asked us to do “vim on Rails” screencasts.
So, we’re responding with this experiment. Let us know if this is valuable and we’ll try to improve things like audio quality.
rails
screencast
ide
screencasts
tutorial
ruby
development
editor
vim
linux
howto
video
environment
tools
resources
reference
dotfiles
config
setup
Someone recently asked us to do “vim on Rails” screencasts.
So, we’re responding with this experiment. Let us know if this is valuable and we’ll try to improve things like audio quality.
november 2010 by michaelfox
For the Developer | Local Host Entries on OS X Snow Leopard
november 2010 by michaelfox
Today I wanted to setup local host entries on my MacBook. Searching around I found several articles about editing the /private/etc/hosts file to add local domains entries pointing back to my computer. I don’t know if it is something that changed with Leopard or Snow Leopard but it just wasn’t working for me. Even restarting the computer was a no go.
Using the dscl Utility
With the wonder of Google searching and the generous comments of others I found out about the dscl utility.
Listing Host Entries
To see what is listed for your hosts at any time just run this command:
dscl localhost -readall /Local/Default/Hosts
Adding a New Entry
In this example I am going to have the snow.ftd host point to my 127.0.0.1 IP address:
sudo dscl localhost -create /Local/Default/Hosts/snow.ftd IPAddress 127.0.0.1
You should now be able to ping snow.ftd and have it resolve to your local computer.
Removing an Existing Entry
If you decide you do not want an entry anymore just run this command to remove it:
sudo dscl localhost -delete /Local/Default/Hosts/snow.ftd
Reading the BSD Flat File
It was also noted that you can read the BSD flat file using this command:
dscl localhost -readall /BSD/local/Hosts
osx
hosts
virtualhosts
dscl
localhost
environment
config
Using the dscl Utility
With the wonder of Google searching and the generous comments of others I found out about the dscl utility.
Listing Host Entries
To see what is listed for your hosts at any time just run this command:
dscl localhost -readall /Local/Default/Hosts
Adding a New Entry
In this example I am going to have the snow.ftd host point to my 127.0.0.1 IP address:
sudo dscl localhost -create /Local/Default/Hosts/snow.ftd IPAddress 127.0.0.1
You should now be able to ping snow.ftd and have it resolve to your local computer.
Removing an Existing Entry
If you decide you do not want an entry anymore just run this command to remove it:
sudo dscl localhost -delete /Local/Default/Hosts/snow.ftd
Reading the BSD Flat File
It was also noted that you can read the BSD flat file using this command:
dscl localhost -readall /BSD/local/Hosts
november 2010 by michaelfox
Dotfiles Are Meant to Be Forked
september 2010 by michaelfox
I’m a big fan of customizing your dotfiles. “Dotfiles” are the funky little files in your *nix-based home directory that allow you to customize your nerdery: change how your prompt looks, set up your $PATH, adjust settings for Ruby’s IRB, completely change everything about Vim, and about a billion and a half other things. They’re fun.
In many ways, this loose framework is one of the most important tools you’ll use as a developer. It dictates how you use every other tool in your software arsenal. And everyone has different tastes, which I find fascinating: sit down at a crafty programmer’s shell for a minute and you’ll find that out pretty quick.
github
dotfiles
shell
bash
zsh
cli
config
setup
environment
In many ways, this loose framework is one of the most important tools you’ll use as a developer. It dictates how you use every other tool in your software arsenal. And everyone has different tastes, which I find fascinating: sit down at a crafty programmer’s shell for a minute and you’ll find that out pretty quick.
september 2010 by michaelfox
CodeIgniter htaccess — Best of the Best
july 2010 by michaelfox
21
CodeIgniter htaccess
CodeIgniter
This is the CI .htaccess file that I use for my CodeIgniter PHP projects (some of these CodeIgniter htaccess rules can be used for any project, keep reading). CodeIgniter uses mod_rewrite to route all requests to the CI front controller. I’ve made some additions in an attempt to canocalize some of the CodeIgniter URL end points. The key benefit of a canocalized URL is that your search engine page ranking (page juice) is not spread across several pages, but instead, targeted to a single page.
htaccess Rule Breakdown
In your CodeIgniter project you will typically have a default controller and you will be able to access this controller at the following URLs:
codeigniter
htaccess
config
apache
php
CodeIgniter htaccess
CodeIgniter
This is the CI .htaccess file that I use for my CodeIgniter PHP projects (some of these CodeIgniter htaccess rules can be used for any project, keep reading). CodeIgniter uses mod_rewrite to route all requests to the CI front controller. I’ve made some additions in an attempt to canocalize some of the CodeIgniter URL end points. The key benefit of a canocalized URL is that your search engine page ranking (page juice) is not spread across several pages, but instead, targeted to a single page.
htaccess Rule Breakdown
In your CodeIgniter project you will typically have a default controller and you will be able to access this controller at the following URLs:
july 2010 by michaelfox
[TxMt] Setting default language for new documents
july 2010 by michaelfox
> Is there a way to set the default language for new documents to > something other than "plain text"? Yes, but it's a little tricky. First you need to find the UUID of the language you want as default. All the default languages are stored in TextMate.app/Contents/ SharedSupport/Bundles in the Syntaxes folder of the bundle. This is in the binary plist format, so you'll need to convert it first to readable form. Let's say we want HTML to be the new default language, we would do (from terminal): % cd /Applications/TextMate.app/Contents/SharedSupport/Bundles/ HTML.tmbundle/Syntaxes % plutil -convert xml1 HTML.plist % grep -A1 uuid HTML.plist <key>uuid</key> <string>17994EC8-6B1D-11D9-AC3A-000D93589AF6</string> Here “17994EC8-6B1D-11D9-AC3A-000D93589AF6” is the UUID. Now we need to tell TM to use that as default by altering its defaults database. First quit TextMate, then from terminal run: % defaults write com.macromates.textmate OakDefaultLanguage 17994EC8-6B1D-11D9-AC3A-000D93589AF6 Start TextMate, and notice how all new documents are set to be HTML by default.
textmate
osx
config
setup
environment
default
html
tools
july 2010 by michaelfox
Speed Up Sites with htaccess Caching
may 2010 by michaelfox
This article shows 2 awesome ways to implement caching on your website using Apache .htaccess (httpd.conf) files on the Apache Web Server. Both methods are extremely simple to set up and will dramatically speed up your site!
apache
cache
caching
performance
htaccess
environment
config
webdev
may 2010 by michaelfox
The Ultimate Htaccess
may 2010 by michaelfox
This is not an introduction to .htaccess… This is the evolution of the best of the best .htaccess on the planet. Its changed over the years with more and better .htaccess tricks using real .htaccess example code. I add my favorite htaccess-related links and sites, results from my htaccess research, and frequently update this article.
You’ve come to the right place if you are looking to acquire mad skills for using .htaccess files.
Originally (2003) this guide was known in certain hacker circles as the Ultimate .htaccess due to the high number of powerful htaccess tricks and tips to bypass security, and the fact that many of the rewrite tricks and htaccess code examples were easy to use.
htaccess
reference
apache
config
environment
caching
security
server
php
webdev
You’ve come to the right place if you are looking to acquire mad skills for using .htaccess files.
Originally (2003) this guide was known in certain hacker circles as the Ultimate .htaccess due to the high number of powerful htaccess tricks and tips to bypass security, and the fact that many of the rewrite tricks and htaccess code examples were easy to use.
may 2010 by michaelfox
PEAR integration | Wiki | CodeIgniter
may 2010 by michaelfox
This is a tutorial how to integrate PEAR into Codeigniter by Fabian Wesner (german specialist for codeigniter )
codeigniter
pear
integration
library
environment
setup
config
php
may 2010 by michaelfox
Python & Appscript Tools « Clark's Tech Blog
may 2010 by michaelfox
First download both ASTranslate and ASDictionary from the Appscript tool page. ASDictionary adds a help feature to Appscript. ASTranslate translates Applescript into Python. Both are essential if you want to script.
Next install iPython on your computer. Ignore most of the pages on iPython installation Google gives you. With recent versions of OSX Python comes with easy_install. Just type easy_install ipython at the command line and everything should get installed. If your system doesn’t have easy_install then install setuptools which includes it. (As an aside, if you’ve jailbroken your iPhone then iPython makes a wonderful calculator from the Cydia terminal)
python
applescript
mac
osx
snow
scripting
automation
asdictionary
astranslate
ipython
install
setup
config
environment
Next install iPython on your computer. Ignore most of the pages on iPython installation Google gives you. With recent versions of OSX Python comes with easy_install. Just type easy_install ipython at the command line and everything should get installed. If your system doesn’t have easy_install then install setuptools which includes it. (As an aside, if you’ve jailbroken your iPhone then iPython makes a wonderful calculator from the Cydia terminal)
may 2010 by michaelfox
Top 5 WordPress Security Tips You Most Likely Don’t Follow
may 2010 by michaelfox
I recently gave a presentation at WordCamp Montreal on WordPress Security. While doing research for my presentation I came across a bunch of great WordPress Security tips that all WordPress users should use. Surprisingly, a good majority of these tips are not usually followed. Below is a list of the top 5 tips that most WordPress administrators do not do, but should:
apache
htaccess
tips
mod_rewrite
security
routing
wordpress
install
config
may 2010 by michaelfox
Ultimate Htaccess Tutorial for .htaccess files
may 2010 by michaelfox
This is not an introduction to .htaccess… This is the evolution of .htaccess… The best of the best .htaccess info I can find.
Originally known as the Ultimate .htaccess Guide, its changed over the years with more and better .htaccess tricks using real .htaccess example code. I add my favorite htaccess-related links and sites, results from my best .htaccess experiments, and frequently update this article.
You’ve come to the right place if you are looking to acquire mad skills for using .htaccess files.
apache
htaccess
tips
mod_rewrite
security
routing
wordpress
install
config
Originally known as the Ultimate .htaccess Guide, its changed over the years with more and better .htaccess tricks using real .htaccess example code. I add my favorite htaccess-related links and sites, results from my best .htaccess experiments, and frequently update this article.
You’ve come to the right place if you are looking to acquire mad skills for using .htaccess files.
may 2010 by michaelfox
Hardening WordPress « WordPress Codex
may 2010 by michaelfox
Some of WordPress' cool features come from allowing some files to be writable by web server. However, letting an application have write access to your files is a dangerous thing, particularly in a public environment.
It is best, from a security perspective, to lock down your file permissions as much as possible and to loosen those restrictions on the occasions that you need to allow write access, or to create special folders with more lax restrictions for the purpose of doing things like uploading images.
Here is one possible permission scheme.
All files should be owned by your user account, and should be writable by you. Any file that needs write access from WordPress should be group-owned by the user account used by the webserver.
wordpress
security
file
permissions
priveleges
chmod
install
setup
config
It is best, from a security perspective, to lock down your file permissions as much as possible and to loosen those restrictions on the occasions that you need to allow write access, or to create special folders with more lax restrictions for the purpose of doing things like uploading images.
Here is one possible permission scheme.
All files should be owned by your user account, and should be writable by you. Any file that needs write access from WordPress should be group-owned by the user account used by the webserver.
may 2010 by michaelfox
Places.frecency.(visit type)VisitBonus - MozillaZine Knowledge Base
april 2010 by michaelfox
Firefox 3 introduced a number of improvements to the Location Bar. Among them were changes to how sites are ordered in the dropdown menu. Firefox takes into account how frequently and how recently sites in the browser history were visited, combining them into a statistic called “frecency.” The frecency of sites is calculated when the browser is idle. The way frecency is computed can be tweaked by a number of preferences.
firefox
places
frecency
customization
awesomebar
tweaks
config
april 2010 by michaelfox
28 Coolest Firefox About:Config Tricks :Stupid Site
november 2009 by michaelfox
You may have installed countless add-on in Firefox to enhance your using experience, but if you want to get the most out of Firefox, you really have to hack your way into the about:config.
about:config
mozilla
firefox
customization
tweak
hacks
settings
config
november 2009 by michaelfox
A Deeper Look at mod_rewrite for Apache - Nettuts+
september 2009 by michaelfox
RT: @envatowebdev: "An In Depth Guide to mod_rewrite for Apache" - new on Nettuts+ http://t.co/pdM8hoK
apache
environment
web
mod_rewrite
server
config
webdev
htaccess
tutorial
php
september 2009 by michaelfox
Hivelogic - Installing MySQL on Mac OS X
july 2008 by michaelfox
CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc \ CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors \ -fno-exceptions -fno-rtti" \ ./configure --prefix=/usr/local/mysql \ --with-extra-charsets=complex --enable-thread-safe-client \ --enable-lo
mysql
server
admin
apache
osx
howto
config
setup
database
webdev
july 2008 by michaelfox
related tags
about ⊕ about:config ⊕ admin ⊕ air ⊕ apache ⊕ apc ⊕ applescript ⊕ asdictionary ⊕ astranslate ⊕ async ⊕ automation ⊕ awesomebar ⊕ bash ⊕ browser ⊕ cache ⊕ caching ⊕ cgi ⊕ charset ⊕ chmod ⊕ classes ⊕ cli ⊕ cocoa ⊕ codeigniter ⊕ colors ⊕ commandline ⊕ compass ⊕ config ⊖ configuration ⊕ connection ⊕ css ⊕ customization ⊕ database ⊕ debugger ⊕ default ⊕ defaults ⊕ dev ⊕ development ⊕ devops ⊕ dns ⊕ dotfiles ⊕ dscl ⊕ editor ⊕ ee ⊕ env ⊕ environment ⊕ etc ⊕ examples ⊕ expressionengine ⊕ extensions ⊕ file ⊕ firefox ⊕ firefox.aboutconfig ⊕ fonts ⊕ framework ⊕ frecency ⊕ gaming ⊕ gist ⊕ git ⊕ github ⊕ github-repo ⊕ github-user:bobthecow ⊕ google ⊕ hack ⊕ hacks ⊕ headers ⊕ hosts ⊕ howto ⊕ htaccess ⊕ html ⊕ html5 ⊕ http ⊕ icons ⊕ ide ⊕ ini ⊕ inputrc ⊕ inspiration ⊕ install ⊕ integration ⊕ ipython ⊕ javascript ⊕ keybindings ⊕ keyboard ⊕ keymando ⊕ lamp ⊕ library ⊕ linux ⊕ local ⊕ localhost ⊕ mac ⊕ macbook ⊕ maps ⊕ markdown ⊕ merlinmann ⊕ metadata ⊕ mod_rewrite ⊕ mozilla ⊕ my.cnf ⊕ mysql ⊕ node ⊕ node.js ⊕ nodejs ⊕ objective-c ⊕ optimization ⊕ osx ⊕ pear ⊕ pentadactyl ⊕ performance ⊕ permissions ⊕ php ⊕ php.ini ⊕ places ⊕ plist ⊕ plugins ⊕ preferences ⊕ priveleges ⊕ profile ⊕ prompt ⊕ propertylist ⊕ python ⊕ rails ⊕ reference ⊕ regiestry ⊕ resources ⊕ routing ⊕ ruby ⊕ runtime ⊕ sass ⊕ screencast ⊕ screencasts ⊕ scripting ⊕ scss ⊕ security ⊕ server ⊕ serverside ⊕ settings ⊕ setup ⊕ shell ⊕ snow ⊕ spotify ⊕ spotlight ⊕ ssh ⊕ stackoverflow ⊕ styles ⊕ stylesheets ⊕ sysadmin ⊕ system ⊕ tabcompletion ⊕ terminal ⊕ textmate ⊕ themes ⊕ tinymce ⊕ tips ⊕ tools ⊕ tutorial ⊕ tweak ⊕ tweaks ⊕ unix ⊕ utf8 ⊕ versioncontrol ⊕ video ⊕ videogames ⊕ vim ⊕ vimperator ⊕ vimrc ⊕ virtualhost ⊕ virtualhosts ⊕ web ⊕ webdev ⊕ widescreen ⊕ windows ⊕ wordpress ⊕ wysiwyg ⊕ xattr ⊕ xcode ⊕ xdebug ⊕ zend ⊕ zend.server ⊕ zendframework ⊕ zsce ⊕ zsh ⊕Copy this bookmark: