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
// AUTO REFRESH (Every 3 secs) | |
echo '<meta http-equiv="refresh" content="3;url=http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].'">'; |
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
stat -c '%Y' file.ext |
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
mysqldump -u {{USER}} -p{{PASS}} {{DB NAME}} > {{FILE}}.sql |
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
mysql -u {{USER}} -p{{PASS}} -h localhost {{DB-NAME}} < {{FILE}}.sql |
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
// ==UserScript== | |
// @name GitHub Diff File Toggle Slide | |
// @version 0.3 | |
// @description Helps focus on individual files by collapsing and uncollapsing. | |
// @match https://github.com/*/*/commit/* | |
// @copyright 2013+, Tim A. Perez | |
// ==/UserScript== | |
$(function(){ | |
setTimeout(function(){ | |
$('#files').children('.file').children('.meta').click(function(){ |
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
/* SHOW ERRORS */ | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); |
NewerOlder