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
#!/usr/bin/env ruby | |
# | |
# This file, gist, is generated code. | |
# Please DO NOT EDIT or send patches for it. | |
# | |
# Please take a look at the source from | |
# http://github.com/defunkt/gist | |
# and submit patches against the individual files | |
# that build gist. | |
# |
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 | |
require_once '../classes/user.php'; | |
include 'header.php'; | |
?> | |
<table width="100%"> | |
<tr> | |
<td colspan="5"> | |
<?php | |
if (isset($_COOKIE['tblgn']) && md5($_COOKIE['tblgn'].SCT_STR) == $_COOKIE['tbsct']) { | |
$usr = new clsUser(); |
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 | |
require_once '../classes/user.php'; | |
$usr = new clsUser(); | |
if (isset($_POST['hdnReg']) && $_POST['hdnReg'] == 1) { | |
//[todo] need to check for duplicate usernames | |
$usr->userName = $_POST['txtUName']; | |
$usr->set_password($_POST['pwdPswd']); | |
$usr->firstName = $_POST['txtFnme']; | |
$usr->lastName = $_POST['txtLnme']; |
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
#!/usr/bin/env ruby | |
# | |
# This file, gist, is generated code. | |
# Please DO NOT EDIT or send patches for it. | |
# | |
# Please take a look at the source from | |
# http://github.com/defunkt/gist | |
# and submit patches against the individual files | |
# that build gist. | |
# |
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 | |
NUMFILES=`locatemp3 | grep "Full Albums" | wc -l` | |
WHICH=$((RANDOM % $NUMFILES)) | |
WHAT=`locatemp3 | grep "Full Albums" | sed -n "${WHICH}p"` | |
WHERE=`dirname "$WHAT"` | |
echo Queueing $WHERE | |
xmms2 stop;xmms2 clear | |
xmms2 radd "$WHERE" | |
xmms2 play |
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
Employee: | |
columns: | |
id: | |
type: integer | |
primary: true | |
autoincrement: true | |
sf_guard_user_id: | |
type: integer | |
name: | |
type: string(155) |
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
Employee: | |
columns: | |
id: | |
type: integer | |
primary: true | |
autoincrement: true | |
sf_guard_user_id: | |
type: integer | |
name: | |
type: string(155) |
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
Employee: | |
columns: | |
id: | |
type: integer | |
primary: true | |
autoincrement: true | |
sf_guard_user_id: | |
type: integer | |
name: | |
type: string(155) |
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
Employee: | |
columns: | |
id: | |
type: integer | |
primary: true | |
autoincrement: true | |
sf_guard_user_id: | |
type: integer | |
start_date: | |
type: date |
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
Employee: | |
columns: | |
id: | |
type: integer | |
primary: true | |
autoincrement: true | |
sf_guard_user_id: | |
type: integer | |
start_date: | |
type: date |