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 | |
function toRna($nucleotides) { | |
$dnaToRna = [ | |
"G" => "C", | |
"C" => "G", | |
"T" => "A", | |
"A" => "U" | |
]; | |
return strtr(strtoupper($nucleotides), $dnaToRna); |
<?php | |
function raindrops($drops) { | |
$output = ''; | |
if ($drops%3 == 0) { | |
$output .= "Pling"; | |
} | |
if ($drops%5 == 0) { |
<?php | |
# Plivo AUTH ID | |
$AUTH_ID = ''; | |
# Plivo AUTH TOKEN | |
$AUTH_TOKEN = ''; | |
# SMS sender ID. | |
$src = ''; |
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 |