- Barry Gordy's The Last Dragon
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
class userModel extends userDefinition{ | |
public function hasPermission($permId) { | |
//setup initial return vars | |
$roleHasPermission = false; | |
$userHasPermission = false; | |
//if we weren't passed a specific permission Id | |
//lets look it up |
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
# enable programmable completion features (you don't need to enable | |
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile | |
# sources /etc/bash.bashrc). | |
GIT_PS1_SHOWDIRTYSTATE=1 | |
export GIT_PS1_SHOWDIRTYSTATE | |
GIT_PS1_SHOWSTASHSTATE=1 | |
export GIT_PS1_SHOWSTASHSTATE | |
GIT_PS1_SHOWUNTRACKEDFILES=1 | |
export GIT_PS1_SHOWUNTRACKEDFILES | |
. /etc/bash_completion.d/git |
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
<<<<<<< HEAD | |
// try loading session from signed_request in $_REQUEST | |
$signedRequest = $this->getSignedRequest(); | |
if ($signedRequest) { | |
// sig is good, use the signedRequest | |
$session = $this->createSessionFromSignedRequest($signedRequest); | |
} | |
======= | |
// try loading session from signed_request in $_REQUEST | |
$signedRequest = $this->getSignedRequest(); |
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
" Highlight trailing white space in command mode | |
highlight ExtraWhitespace ctermbg=red guibg=red | |
au ColorScheme * highlight ExtraWhitespace guibg=red | |
au BufEnter * match ExtraWhitespace /\s\+$/ | |
au InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/ | |
au InsertLeave * match ExtraWhiteSpace /\s\+$/ | |
"fix whitespace on write | |
autocmd FileType vim,perl,c,cpp,python,ruby,java autocmd BufWritePre <buffer> :%s/\s\+$//e |
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
Meastr caelnse fnnay pcak svaila, bfreoe tehy slod out drmetccahear totteoad bttiers Autisn nrawahl Tffuarut enhtic cerd kscith chlvlaiwe fuor lkoo. Bnah mi Baskny aaistrn Mfara prok blely bekspoe. XXOO Nutrea sbbahy cihc, keyatr opuccy Auistn food tucrk tleosud qniuoa PBR&B 90's Wlisibmularg solw-crab Amaiecrn Aaerppl 8-bit. Mpatxie cerd dhcaarceetmr, food turck whateevr aulaltcy betirts ciha psot-iiornc leltailry chlice kfeieyfh. Bread crfat beer chcurh-key Wes Adoersnn autlacly Trery Ridrohcasn Hgih Lfie, cadrigan snliuatabse pilad whetaver hllea sielfes vnyil. Nmorcore hioode gefitrny, Wes Areonsdn lo-fi fxiie kgoi. Byclcie rghtis MeecSwney's snyth deep v, reaydmdae mkhlsk jaen strhos. | |
Soehticrdh pug Cbsoy saeetwr, cerd Hgih Lfie fecgsranihte mutschae wraayrfes Trrey Rhcairdosn. Fiirtxleaan Wes Aedorsnn aeacirmtsyml nxet leevl meh pohto btooh. Slefeis dercit trdae VHS Amaicren Aeppral wrafreays, pickeld ionry prok blley stalnbiuase eunni bnruch put a brid on it bhutcer deep v. Put a brid on it kgoi attn |
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
Tables | |
question | |
question_data | |
question_version | |
Class - File | |
MySchema::Result::Question - MySchema/Result/Question | |
MySchema::Result::QuestionVersion - Module does not exist | |
MySchema::Result::QuestionData - Module does not exist |
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
{ | |
"image_id_abc": { | |
"properties": [ | |
"a", | |
"b", | |
"c" | |
] | |
}, | |
"image_id_def": { | |
"properties": [ |
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
#!/bin/bash | |
line=`head -n 1 "$1"` | |
if [[ ${#line} == 0 ]] | |
then | |
echo "No commit message, commit aborted" | |
exit -1 | |
else | |
exit 0 |
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
PORT=8081 \ | |
bin/hubot -a irc --name hubot |
OlderNewer