This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am nlively on github. | |
* I am noahlively (https://keybase.io/noahlively) on keybase. | |
* I have a public key ASB5CK8DJrec1dttTwJrQwD_JCpZUDlivWe75c5nfkbEJQo | |
To claim this, I am signing this object: |
This file contains hidden or 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
- App/ | |
- Assets/ | |
- Images/ | |
- logo.png | |
- Components/ | |
- ReusableComponent1.js | |
- Lib/ | |
- cssVar.js | |
- CSSVarConfig.js | |
- ResponsiveLayout.js |
This file contains hidden or 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 | |
//collects the nodeword data | |
$query ='SELECT id, type, name, content FROM {nodewords} where name = '."'description' or name = 'keywords'"; | |
$result = db_query($query); | |
//collect and place nodeword data in array for metatag data | |
foreach ($result as $row) { | |
if ($row->type == '5') | |
$nodewords_data[$row->id]['entity_type'] = 'node'; | |
else | |
continue; |
This file contains hidden or 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
/** | |
* CATEGORY OPTIONS | |
* men | |
* women | |
* kids | |
* boys | |
* girls | |
* | |
* CLOTHING TYPE OPTIONS | |
* blazers |
This file contains hidden or 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
// Section for variables | |
// These could be overridden through color schemes, and would be recognized | |
// at compile time. For this reason the defaults should probably be in a | |
// separate file so we don't overwrite our overrides here. :) | |
$mainButtonColor: orange; // these actual colors are just examples | |
$backgroundColor: black; | |
// Section for mixins | |
@mixin button-gradient($startColor, $endColor) { |
This file contains hidden or 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
<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script> | |
<script type="text/javascript"> | |
var locations; | |
(function($){ | |
var map = null; | |
var pinInfoBox; //the pop up info box | |
locations = [ | |
{ | |
number: 1, |
This file contains hidden or 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 | |
path=${1%/} | |
user=${2} | |
group="www-data" | |
help="\nHelp: This script is used to fix permissions of a drupal installation\nyou need to provide the following arguments:\n\t 1) Path to your drupal installation\n\t 2) Username of the user that you want to give files/directories ownership\nNote: \"www-data\" (apache default) is assumed as the group the server is belonging to, if this is different you need to modify it manually by editing this script\n\nUsage: (sudo) bash ${0##*/} drupal_path user_name\n" | |
if [ -z "${path}" ] || [ ! -d "${path}/sites" ] || [ ! -f "${path}/modules/system/system.module" ]; then | |
echo "Please provide a valid drupal path" | |
echo -e $help |
This file contains hidden or 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
<html> | |
<body> | |
<a href="javascript:switchDeveloper()">Switch developer</a> | |
<div id="dev-name"></div> |
This file contains hidden or 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 | |
$services = array ( | |
"Sunday School" => "Sunday School", | |
"11AM" => "11AM", | |
"6PM" => "6PM", | |
"7PM (Tuesday)" => "7PM (Tuesday)" | |
); | |
$ratio = array ( | |
50 => "Standard (4:3)", // put in the real term IDs here | |
51 => "Widescreen (16:9)", |
This file contains hidden or 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 | |
/** | |
* Implementation of hook_ca_action(). | |
*/ | |
function webmobilize_ca_action() { | |
$order_arg = array( | |
'#entity' => 'uc_order', | |
'#title' => t('Order'), | |
); |
NewerOlder