Skip to content

Instantly share code, notes, and snippets.

View alecourtes's full-sized avatar

Anthony Le Courtes alecourtes

View GitHub Profile
@alecourtes
alecourtes / Show me the error
Created July 31, 2015 12:57 — forked from aa21/PHP - Show me the error
PHP : Show me the error
<?php
error_reporting(-1); // reports all errors
ini_set("display_errors", "1"); // shows all errors
ini_set("log_errors", 1);
ini_set("error_log", "/tmp/php-error.log");
?>
@alecourtes
alecourtes / gist:0c89e519134db6d59937
Last active August 29, 2015 14:26 — forked from ukracing/gist:6125139
HTML : HTML5 Skeleton
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Untitled</title>
<link rel="stylesheet" href="css/style.css">
<link rel="author" href="humans.txt">
</head>
@alecourtes
alecourtes / Sublime text shortcut.textile
Created May 6, 2014 13:29
Principal shortcut for sublime text

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after