I hereby claim:
- I am hkdobrev on github.
- I am hkdobrev (https://keybase.io/hkdobrev) on keybase.
- I have a public key whose fingerprint is BF8F D83B EEC4 314A FDFF 6C02 A0E6 4406 2DD8 4926
To claim this, I am signing this object:
'use strict'; | |
var path = require('path'); | |
module.exports = function (grunt) { | |
// Load externally-defined tasks | |
grunt.loadTasks('tasks/grunt'); | |
// Load grunt tasks automatically |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/ | |
### | |
# Label definitions | |
### | |
declare -A LABELS | |
# Platform |
BrowserMatch MSIE ie | |
Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie |
<?php defined('SYSPATH') OR die('No direct access allowed!'); | |
class Controller_Error extends Controller_Layout { | |
public function before() | |
{ | |
parent::before(); | |
$this->response->status((int) $this->request->action()); |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Selecting / Jumping
Ctrl+L | select line (repeat to select next lines) |
Ctrl+D | select word (repeat select others occurrences in context for multiple editing) |
<?php | |
function insertion_sort($arr) | |
{ | |
$length = count($arr); | |
for ($i = 1; $i < $length; $i++) | |
{ | |
$value = $arr[$i]; | |
$j = $i - 1; |