- make sure you have php 5.3+: run
php -v
- Download phpmyadmin (github or main website)
- In the root directory, copy
config.sample.inc.php
>config.inc.php
- Edit config.inc.php, set
$cfg['Servers'][$i]['host']
to the ip address of your mysql server (probably localhost or 127.0.0.1) - In the root phpmyadmin directory run
php -S localhost:8080
- open in your browser: http://localhost:8080
- log in by entering some valid credentials (a user you added or the root user)
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
curl -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"person":{"name":"bob"}}' http://site.com |
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
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull" \; |
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
find source -type d -d 1 -exec basename {} \; | xargs -I % -n 1 grunt package --widget=% |
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
find static -name *.wigt | xargs -I % -n 1 php oil r widget:install % -u -f |
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
var properties = [ | |
{ | |
"name":"Fish Hatchery Road", | |
"permalink":"Fish-Hatchery-Road", | |
"price":"$375,000", | |
"address":"998 Fish Hatchery Rd Lakeland, Fl 33801", | |
"description":"Once you step onto this property, you start to dream of the possibilities; from its size - 81 total acres- of which 45 are beautiful upland pastures and woodlands, its picturesque makeup, its location adjacent to Saddle Creek Park to its favorable Land Use designation, this property intrigues.", | |
"lot_size":"45 AC", | |
"land_use":"Leisure/Recreation (LR)", | |
"lake_frontage":"6,820' of dynamic shoreline - Saddle Creek Park", |
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
<? | |
try | |
{ | |
$response = Request::forge()->execute()->response(); | |
} | |
catch (Exception $e) | |
{ | |
$errorMap = [ | |
'HttpNotFoundException' => '_404_', |
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
def js(*files) | |
content_for(:js) { javascript_include_tag(*files.map { |file| "/assets/js/#{file}"}) } | |
content_for(:js) do | |
javascript_include_tag(*files.map { |file| "/assets/js/#{file}"}) | |
end | |
content_for(:js) do | |
derp = Proc.new { |file| "/assets/js/#{file}"} | |
javascript_include_tag *files.map(&derp) |
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
<? | |
/** | |
* BatchQuery allows you to do mass mysql inserts easily and quickly | |
*/ | |
class BatchQuery | |
{ | |
private $db; | |
private $batchSize = 0; | |
private $batchLimit = 200; |
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 iturgeon on github. | |
* I am iturgeon (https://keybase.io/iturgeon) on keybase. | |
* I have a public key whose fingerprint is 7932 3DB4 2863 FE6C EAAD 7428 13E1 B683 23C5 069E | |
To claim this, I am signing this object: |