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 | |
function phptemplate_preprocess_page(&$vars, $hook) { | |
// Classes for body element. Allows advanced theming based on context | |
// (home page, node of certain type, etc.) | |
$body_classes = array($vars['body_classes']); | |
if (!$vars['is_front']) { | |
// Add unique classes for each page and website section | |
$path = drupal_get_path_alias($_GET['q']); | |
list($section, ) = explode('/', $path, 2); |
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 | |
// $Id: | |
function system_custom_menu() { | |
$items = array(); | |
$items['admin/settings/site-additional-info'] = array( | |
'title' => t('Additional Site Information'), |
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
/* _________________________________________________ | |
For: | |
Original Author: | |
URL: | |
Thanks to: Ethan Marcotte, HTML5BoilorPlate.com & 320andUp | |
____________________________________________________ | |
`GLOSSARY`: |
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
This is dummy copy. It is not meant to be read. It has been placed here solely to demonstrate the look and feel of finished, typeset text. Only for show. He who searches for meaning here will be sorely disappointed. These words are here to provide the reader with a basic impression of how actual text will appear in its final presentation. Think of them merely as actors on a paper stage, in a performance devoid of content yet rich in form. That being the case, there is really no point in your continuing to read them. After all, you have many other things you should be doing. Who's paying you to waste this time, anyway? | |
This is dummy copy. It's Greek to you. Unless, of course, you're Greek, in which case, it really makes no sense. Why, you can't even read it! It is strictly for mock-ups. You may mock it up as strictly as you wish. | |
Meaningless mock-up, mock turtle soup spilled on a mock turtle neck. Mach I Convertible copy. To kill a mockingbird, you need only force it to read this copy. This is Meaningless |
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
hg in/pull // Check for updates from other devs | |
hg update <branch-name-to-merge-to> // Likely 'default' branch | |
hg merge <my-dev-branch> // Where changes are coming from | |
hg commit | |
hg in/pull | |
hg push | |
hg update <my-dev-branch> // Go back to my branch to keep working |
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
c:\windows\system32\drivers\etc\hosts |
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
PS1='\r\n\[\033[0;35m\]\u@\H\[\033[0m\] in \[\033[34m\]\w\[\033[37m\]\r\n∴ \[\033[0m\]' |
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
$(function() { | |
// Functionality: | |
// ID tabs like this: | |
// [TAB_PREFIX][name_1] | |
// [TAB_PREFIX][name_2] | |
// [TAB_PREFIX][name_3] | |
// ID tab content like this: | |
// [CONTENT_PREFIX][name_1] | |
// [CONTENT_PREFIX][name_2] | |
// [CONTENT_PREFIX][name_3] |
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
.hide-text { | |
overflow: hidden; | |
text-indent: 100%; | |
white-space: nowrap; | |
} |
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
Raphael.fn.pieChart = function (cx, cy, r, rin, values, options) { | |
var paper = this, | |
rad = Math.PI / 180, | |
colors = options.colors | |
chart = this.set(); | |
function sector(cx, cy, r, startAngle, endAngle, params) { | |
var x1 = cx + (r) * Math.cos(-startAngle * rad), | |
x2 = cx + (r) * Math.cos(-endAngle * rad), | |
y1 = cy + (r) * Math.sin(-startAngle * rad), |
OlderNewer