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 | |
var_dump($_GET); | |
var_dump($_POST); | |
// delete from todo_table where id = ? | |
$todoList = [ | |
'take out the trash', |
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
# make sure path is set properly | |
export PATH=/usr/local/bin:$PATH | |
# shortcuts to edit and reload bash profile | |
alias ebp="vim ~/.bash_profile" | |
alias rbp="source ~/.bash_profile" | |
# shortcut to edit hosts file | |
alias ehf="sudo vim /etc/hosts" |
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 | |
class TimeShift { | |
public static $zones = array( | |
"America/New_York" => "Eastern", | |
"America/Chicago" => "Central", | |
"America/Denver" => "Mountain", | |
"America/Phoenix" => "Arizona", | |
"America/Los_Angeles" => "Pacific", |
NewerOlder