Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
<?php | |
switch( preg_last_error() ){ | |
case PREG_NO_ERROR : | |
$preg_error = 'No error'; | |
break; | |
case PREG_INTERNAL_ERROR : | |
$preg_error = 'An internal PCRE error'; | |
break; | |
case PREG_BACKTRACK_LIMIT_ERROR : | |
$preg_error = 'Backtrack limit was exhausted'; |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
#!/bin/bash | |
DIRW=$1 | |
echo "path $DIRW" | |
find $DIRW -type f -exec sed -i 's/<departDate>/<startDate>/g' {} \; | |
find $DIRW -type f -exec sed -i 's/<arriveDate>/<endDate>/g' {} \; | |
find $DIRW -type f -exec sed -i 's/<departTime>/<startTime>/g' {} \; | |
find $DIRW -type f -exec sed -i 's/<arriveTime>/<endTime>/g' {} \; | |
find $DIRW -type f -exec sed -i 's/<departAirport>/<startCode>/g' {} \; |