Ever wanted to generate @media
rules for your grid?
Ever used a calculator or an Excel spreadsheet to calculate widths for every column?
No more!
Usage:
# Folder view configuration files # | |
################################### | |
.DS_Store | |
Desktop.ini | |
# Thumbnail cache files # | |
######################### | |
._* | |
ehthumbs.db | |
Thumbs.db |
<?php namespace Vendor\Library; | |
use Another\Vendor\Library\ClassName; | |
abstract class ClassName extends AnotherClass implements Countable, Serializable | |
{ | |
const CONSTANTS = 'top'; | |
use someTrait, anotherTrait { | |
anotherTrait::traitMethod insteadof someTrait; |
INFO global: Vagrant version: 1.2.3 | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/communicators/ssh/plugin.rb | |
INFO manager: Registered plugin: ssh communicator | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/provisioners/cfengine/plugin.rb | |
INFO manager: Registered plugin: CFEngine Provisioner | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/provisioners/puppet/plugin.rb | |
INFO manager: Registered plugin: puppet | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/provisioners/shell/plugin.rb | |
INFO manager: Registered plugin: shell | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/provisioners/ansible/plugin.rb |
def insertion_sort(list): | |
for index in range(len(list)) | |
value = list[index] | |
i = index - 1 | |
while i>=0 and value < list[i]: | |
list[i+1] = list[i] # shift number in slot i right to slot i+1 | |
list[i] = value #shift value left into slot i | |
i = i - 1 |
<?php | |
function randomize($initial, $to_merge = NULL) | |
{ | |
$result = array(); | |
$lengths = array(); | |
$total = 0; | |
$arrays = func_get_args(); | |
foreach ($arrays as $array) |
<?php | |
function insertion_sort($arr) | |
{ | |
$length = count($arr); | |
for ($i = 1; $i < $length; $i++) | |
{ | |
$value = $arr[$i]; | |
$j = $i - 1; |
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) |