This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Disable and uninstall the content_access module if installed | |
*/ | |
function splashpad_general_feature_update_6100() { | |
if (module_exists('content_access')) { | |
// Disable content_access | |
module_disable('content_access'); | |
// Uninstall content_access | |
drupal_uninstall_module('content_access'); | |
// Rebuild node access |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vagrant up | |
[hm] Importing base box 'debian-LAMP-6.0.4'... | |
[hm] Matching MAC address for NAT networking... | |
[hm] Clearing any previously set forwarded ports... | |
[hm] Fixed port collision for 22 => 2222. Now on port 2200. | |
[hm] Forwarding ports... | |
[hm] -- 22 => 2200 (adapter 1) | |
[hm] Creating shared folders metadata... | |
[hm] Clearing any previously set network interfaces... | |
[hm] Preparing network interfaces based on configuration... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE users SET pass = MD5('1Password') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Print SESSION variable wtih devel print_r | |
if (module_exists('devel')) { | |
dprint_r($_SESSION); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watchdog('debug', '<pre>'. print_r($array, TRUE) .'</pre>'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew rm $(join <(brew leaves) <(brew deps FORMULA)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name ".svn" -exec rm -rf {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.jimmyjohns.com/menu/menu.aspx | |
Thomas Lattimore: | |
Scott Dieter: #5, no tomato | |
Mark Shropshire: JJBLT w/lays chips | |
Denny Abraham: #9 with hot peppers | |
Kevin Mussleman: | |
Glenn Goodrich: #12 without tomato | |
Duncan Mapes: #14 | |
Nils: #12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew -v install php53 1 ↵ | |
Homebrew 0.9 | |
==> Downloading http://www.php.net/get/php-5.3.13.tar.bz2/from/this/mirror | |
Already downloaded: /Library/Caches/Homebrew/php53-5.3.13 | |
/usr/bin/tar xf /Library/Caches/Homebrew/php53-5.3.13 | |
==> ./configure --prefix=/usr/local/Cellar/php53/5.3.13 --disable-debug --with-config-file-path=/usr/local/etc/php/5.3 --with-config-file-scan-dir=/usr/local/etc/php/5.3/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-sqlite-utf8 --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-zend-multibyte --enable-bcmath --enable-calendar --with-openssl=/usr --with-zlib=/usr --with-bz2=/usr --with-ldap --with-l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find / -name ".DS_Store" -depth -exec rm {} \; |