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 -i | |
# Make sure the prerequisites are installed. | |
apt-get -y install autoconf automake curl build-essential libxslt1-dev re2c libxml2-dev | |
# Install PHP 5 dependencies. | |
apt-get -y build-dep php5 | |
# Download phpbrew | |
cd /usr/bin | |
curl -O https://raw.github.com/c9s/phpbrew/master/phpbrew | |
# Make phpbrew executable. | |
chmod +x phpbrew |
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
lock tables | |
// attempt to write to the database, then unlock the tables. | |
try { | |
writing to db | |
unlock tables | |
} | |
catch exception { |
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 = 7.x | |
api = 2 | |
; Modules | |
projects[admin_menu][subdir] = contrib | |
projects[ctools][subdir] = contrib | |
projects[devel][subdir] = contrib | |
projects[features][subdir] = contrib | |
projects[generate_errors][subdir] = contrib | |
projects[module_filter][subdir] = contrib |
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
<tt><pre> | |
<?php | |
include_once 'notice.php'; | |
include_once 'warning.php'; | |
$info = apc_cache_info(); | |
var_dump($info); |
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="import" href="../core-input/core-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
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="import" href="../core-input/core-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
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
<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://wdm.dev/feeds/audio/rss.xml" xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
<channel> | |
<title></title> | |
<link>http://wdm.dev/feeds/audio/rss.xml</link> | |
<description></description> | |
<language>en</language> | |
<item> | |
<title>Test Podcast</title> | |
<link>http://wdm.dev/content/test-podcast</link> | |
<description><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>Take it!</p> |