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
{ | |
"editor.fontSize": 14, | |
"editor.lineHeight": 23, | |
"editor.fontFamily": "'Droid Sans Mono', Consolas, monospace, 'Courier New'", | |
"files.eol": "\n", | |
// php-cs-fixer | |
"php-cs-fixer.executablePath": "php-cs-fixer", | |
"php-cs-fixer.executablePathWindows": "php-cs-fixer.bat", //eg: php-cs-fixer.bat | |
"php-cs-fixer.onsave": false, |
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
<?php | |
$dbh = null; | |
try { | |
$dbh = new PDO('mysql:host=localhost;dbname=webcms', 'webcms', 'webcms'); | |
} catch (PDOException $e) { | |
print "Error!: " . $e->getMessage() . "<br/>"; | |
die(); | |
} |
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
alefragnani.project-manager | |
Compulim.compulim-vscode-closetag | |
donjayamanne.githistory | |
EditorConfig.EditorConfig | |
emmanuelbeziat.vscode-great-icons | |
felixfbecker.php-debug | |
felixfbecker.php-intellisense | |
felixfbecker.php-pack | |
ikappas.phpcs | |
joelday.docthis |
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
[ | |
"Agila Theme", | |
"Alignment", | |
"All Autocomplete", | |
"Blade Snippets", | |
"Bootstrap 3 Autocomplete", | |
"Bootstrap 3 Snippets", | |
"CodeIgniter 2 ModelController", | |
"CodeIgniter Snippets", | |
"CodeIgniter Utilities", |
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
Show hidden characters
{ | |
"user": { | |
"debug": false, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme", | |
"gutter_theme_excludes": [], | |
"lint_mode": "background", | |
"linters": { | |
"php": { |
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
{ | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/User/SublimeLinter/Agila Dracula (SL).tmTheme", | |
"default_line_ending": "unix", | |
"detect_indentation": true, | |
"detect_slow_plugins": false, | |
"drag_text": true, | |
"draw_white_space": "all", | |
"fallback_encoding": "UTF-8", | |
"folder_exclude_patterns": |
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
<VirtualHost *:80> | |
ServerName laravel.demo | |
DocumentRoot "D:/www/kloon_training/demo_laravel/public" | |
<Directory "D:/www/kloon_training/demo_laravel/public"> | |
Options +Indexes +Includes +FollowSymLinks +MultiViews | |
AllowOverride All | |
Require all granted | |
</Directory> | |
</VirtualHost> |
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
[ | |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }, | |
{ "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar"}, | |
{"keys": ["f1"], "command": "dired", "args": { "immediate": true } } | |
] |
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
<?php | |
// Put file to public dir and run it | |
$basePath = dirname(__DIR__); | |
$link = "$basePath/data"; | |
$target = "$basePath/storage/app"; | |
var_dump($target); | |
var_dump($link); | |
var_dump(symlink($target, $link)); |
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
// History.js It! | |
// v1.0.1 - 30 September, 2012 | |
// https://gist.github.com/854622 | |
(function(window,undefined){ | |
// Prepare our Variables | |
var | |
History = window.History, | |
$ = window.jQuery, | |
document = window.document; |