Skip to content

Instantly share code, notes, and snippets.

View bryan-maxwell's full-sized avatar

bryan maxwell bryan-maxwell

  • Austin, Texas
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bryan-maxwell on github.
  • I am maxwellhaus (https://keybase.io/maxwellhaus) on keybase.
  • I have a public key ASCVVZSiGKgNnLCxb_3ua_J25UCAVyQSgLUAJlDuwcc8PQo

To claim this, I am signing this object:

<iframe src="https://calendar.google.com/calendar/embed?mode=AGENDA&amp;height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=nhl_25_Anaheim%2BDucks%23sports%40group.v.calendar.google.com&amp;color=%232F6309&amp;src=nfl_30_Jacksonville%2BJaguars%23sports%40group.v.calendar.google.com&amp;color=%23AB8B00&amp;src=ncaaf_30_Michigan%2BState%2BSpartans%23sports%40group.v.calendar.google.com&amp;color=%232952A3&amp;src=ncaaf_29_Michigan%2BWolverines%23sports%40group.v.calendar.google.com&amp;color=%236B3304&amp;src=mlb_21_New%2BYork%2BMets%23sports%40group.v.calendar.google.com&amp;color=%238C500B&amp;src=mls_28310_Orlando%2BCity%2BSC%23sports%40group.v.calendar.google.com&amp;color=%23711616&amp;src=nfl_26_Seattle%2BSeahawks%23sports%40group.v.calendar.google.com&amp;color=%232F6309&amp;src=mls_10531_Seattle%2BSounders%2BFC%23sports%40group.v.calendar.google.com&amp;color=%23B1365F&amp;src=ncaaf_83_Texas%2BLonghorns%23sports%40group.v.calendar.google.com&amp;color=%238D6F47&amp;src=mlb_20_Washington%2BNationals%23sp
<?php
/**
*
* iPhone API
*
* @param program -- lays_program_id
* @param action -- shoppingGuides, products, pricerange, ads, trends, brands, colors
* @param type -- XML/JSON
*
*
<?php
/**
* Write XML array data
*
* @param XMLWriter $xml
* @param unknown_type $data
* @param unknown_type $keyoverride
*/
function write(XMLWriter $xml, $data, $keyoverride='') {
<?php
/**
* Get the columns from a database
*
* @param mysqli object $db
* @param string table $table
* @return array of columns enumerated
*/
function return_columns($db, $table = false) {
$stack = false;
$data_array = array('of', 'some', 'data', 'maybe');
if ($stack) {
$active_method = 'array_push'
} else {
$active_method = 'rsort'
}
$result = $active_method($data_array);