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
<!-- THEME DEBUG --> | |
<!-- CALL: theme('html') --> | |
<!-- FILE NAME SUGGESTIONS: | |
* html--front.tpl.php | |
* html--node.tpl.php | |
x html.tpl.php | |
--> |
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
<?php | |
/** | |
* @file | |
* Drush code to rebuild node access. | |
*/ | |
/** | |
* Implementation of hook_drush_command(). | |
*/ |
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
<template name="journal"> | |
<div class="nav-block"></div> | |
<nav class="journal-nav"> | |
<ul> | |
<li> | |
<a href="#" data-type="Design">Design</a> | |
</li> | |
<li> | |
<a href="#" data-type="Development">Development</a> | |
</li> |
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
core = 6.x | |
projects[pressflow][type] = "core" | |
projects[pressflow][download][type] = "get" | |
projects[pressflow][download][url] = "http://lb.cm/pressflow6" | |
; INSTALL PROFILES | |
projects[profiler] = 2.0beta1 | |
; DEVELOPMENT |
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
[url "https://github.com/"] | |
insteadOf = "gh:" |
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
# Put this in your .gitconfig | |
[url "http://git.drupal.org/project/"] | |
insteadOf = "do:" |
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
Many of you know I have a great passion for a good card trick and that I worked for a while as a professional magician. Friends have often heard me brag that opening the BeansTalk was the best trick I ever pulled off. | |
The common thread in all magic is no matter how beautiful or mystifying; nothing is permanent. | |
And so it is with a sad heart and more than one tear in my eye I have to share with everyone that its time for the particular bit of magic we all know and love as the BeansTalk to draw to a close. | |
After several months of difficult negotiations with our property owner and after carefully weighing all of the considerations (including the heartbreak myself, Amelia and all of our customers and staff will go through) it is the only (if undesirable) solution. I dont want to bore or burden anyone with details but will be happy to further clarify our reasoning for those who ask. Suffice it to say that this coffee house has been a dream of mine for 15 years and I moved 3000 miles and spent four years of my |
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
if (!strcasecmp(substr($_SERVER['REQUEST_URI'],0,5),'/user') && !isset($_SERVER['HTTPS'])) { | |
header("Location: https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); | |
exit(); | |
} | |
if (strcasecmp(substr($_SERVER['REQUEST_URI'],0,5),'/user') && isset($_SERVER['HTTPS'])) { | |
header("Location: http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); | |
exit(); | |
} | |
if (!strcasecmp(substr($_SERVER['REQUEST_URI'],0,5),'/user')) { | |
$protocol = "https"; |
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
#!/bin/bash | |
NOW=$(date +%Y%m%d%k%M%S) | |
PLATFORM=appstate-7.x-stable-$NOW | |
PLATFORM_ROOT=/var/aegir/platforms/7.x | |
PLATFORM_NAME=platform_Appstate7xstable$NOW | |
# Create a new platform | |
cd $PLATFORM_ROOT | |
/opt/drush/drush.php make /var/aegir/builds/dev.make $PLATFORM |
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
# It'd be great to get this running via AppleScript and sans Alfred if anyone with more knowledge than me knows how :) | |
### STEP 1 | |
#!/bin/sh | |
# Save this file as /bin/rvm_ruby, and do chmod 755 /bin/rvm_ruby | |
# to give it the proper permissions | |
# From http://www.aeonscope.net/2011/05/29/connecting-alfred-to-bitly-via-ruby/ | |
if [[ -s ~/.rvm/scripts/rvm ]]; then |
OlderNewer