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
@see http://www.re-cycledair.com/installing-memcache-on-mamp | |
Step 1: Install XCode | |
Step 2: Make the MAMP PHP binary files executable | |
sudo chmod +xrw /Applications/MAMP/bin/php5.3/bin/p* | |
Step 3: Get the Memcache extension source | |
cd ~ | |
wget http://pecl.php.net/get/memcache-2.2.5.tgz |
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
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css" type="text/css" media="all" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" type="text/javascript"></script> | |
<meta charset="utf-8"> | |
<script> | |
$(function() { | |
var availableTags = [ | |
"ActionScript", | |
"AppleScript", |
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
<\d\iv \c\l\a\s\s="\m">M</\d\iv><\d\iv \c\l\a\s\s="\d">d</\d\iv><\d\iv \c\l\a\s\s="\y">Y</\d\iv> |
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
-- callback | |
function love.load() | |
-- our player | |
hero = love.graphics.newImage("gengar.png") | |
-- Set world for physics bodies to exist in 'https://love2d.org/wiki/Tutorial:Physics | |
world = love.physics.newWorld(0, 0, 800, 600) | |
world:setGravity(0, 400) -- | |
world:setMeter(30) -- default 30 pixels per meter |
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
<div class="content clearfix"<?php print $content_attributes; ?>> | |
<?php | |
// We hide the comments and links now so that we can render them later. | |
hide($content['comments']); | |
hide($content['links']); | |
drupal_render($content); | |
// display only for authenticated users | |
global $user; | |
if ($user->uid) { |