This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
// Quake 3 | |
// config for iMac 2.4 GHz Core 2 Duo | |
// custom aspect ratio for 1680x1050 wide-screen | |
// | |
seta r_mode "-1" | |
seta r_fullscreen "1" | |
seta r_customheight "1050" | |
seta r_customwidth "1680" |
<?php | |
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* |
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
# IPs | |
Spain 62.13.255.230 2.20.185.5 | |
Germany 2.16.6.5 | |
Australia 1.2.3.4 | |
USA 65.98.56.219 | |
UAE 80.190.204.129 | |
Italy 87.23.255.254 | |
French 62.129.191.252 | |
UK 91.151.7.6 | |
CZ 62.4.96.5 |
Install pip packages with homebrew: | |
1. Install Homebrew | |
http://mxcl.github.com/homebrew/ | |
2. Install the brew-pip package | |
brew install brew-pip | |
3. Add Homebrew's pip path to your PYTHONPATH environment variable (you probably should add this to some sort of shell initialization file like ~/.bashrc or ~/.zshrc) | |
export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages | |
3. Now install any pip pacakges with Homebrew! | |
brew pip Glances |
##Create an alias to MAMP's PHP installation
To do this, we can simply create an alias for our bash profile. We'll be doing this is nano, though you can do it in vim or a number of other editors as well.
Within the terminal, run:
nano ~/.bash_profile
This will open nano with the contents, at the top in a blank line add the following line:
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; |
Open a terminal and type php -v
to see the current version of php.
Determine the path for the wanted php version of mamp (YOUR VERSION ON YOUR COMPUTER!)
Type in the terminal cd ~
to change the current directory (in your home)