Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Crittenden mikecrittenden

View GitHub Profile
View button.html
<input type="submit" value="Submit" class="button-hover" />
View index.php
// $Id: index.php,v 1.94 2007/12/26 08:46:48 dries Exp $
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
View index.php
<?php
// $Id: index.php,v 1.94 2007/12/26 08:46:48 dries Exp $
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
View .gitconfig
[github]
user = YOUR-GITHUG-USERNAME
token = YOUR-GITHUB-API-TOKEN
View .gitconfig
[github]
user = YOUR-GITHUB-USERNAME
token = YOUR-GITHUB-API-TOKEN
View tba_register.js
// Initiate the tabs.
$('#tabs').tabs({
show: function(event, ui) {
$('#tabs ul li').removeClass('faded');
$('#tabs ul li:gt(' + ui.index + ')').addClass('faded');
}
});
View industrial256.vim
CSAHi TabLine term=underline cterm=underline ctermbg=248 ctermfg=fg gui=underline guibg=#a9a9a9 guifg=fg
CSAHi TabLineSel term=bold cterm=bold ctermbg=bg ctermfg=fg gui=bold guibg=bg guifg=fg
CSAHi TabLineFill term=reverse cterm=reverse ctermbg=bg ctermfg=fg gui=reverse guibg=bg guifg=fg
View local.ini
; CouchDB Configuration Settings
; Custom settings should be made in this file. They will override settings
; in default.ini, but unlike changes made to default.ini, this file won't be
; overwritten on server upgrade.
[couchdb]
;max_document_size = 4294967296 ; bytes
[httpd]
View gist:830314
<?php
if (arg(0) == 'user' && (strpos($_SERVER['HTTP_REFERER'], 'tgr') || strpos($_SERVER['HTTP_REFERER'], 'thinkgreenrewards'))) {
return true;
} else {
return false;
}
?>
View page.tpl.php
<ul id="single_menu_links">
<li><a href="<?php print $base_path; ?>myopolis/rewards">Rewards</a></li>
<li><a href="<?php print $base_path; ?>onstreet">On-Street</a></li>
<li><a href="<?php print $base_path; ?>partnerships">Partners</a></li>
<li><a href="<?php print $base_path; ?>people">People</a></li>
<li><a href="<?php print $base_path; ?>about">About</a></li>
</ul>