Show Menu
Cheatography

UltiSnips Cheat Sheet by

My UltiSnips Snippets

PHP

extends html
access to all HTML snippets
TODO
// TODO {content} ({author}: {date})
comment
comment block
debug
debug_­dump( {content} );
function
function without <? tags
php
function with <? tags
while
while loop
do
do loop
if
if block
ife
if, else block
else
else block
eif
elseif block
tertiary
tertiary statement
for
for loop
foreach
foreach loop
xml
xml tag
ilv
{${con­tent}}
ilphp
<? ${content} ?>

Shell Script

#!
Bash #!
if
if block
elif
elif block
for
for loop
fori
definite for loop
wh
while loop
until
until loop
case
case statement
function
function declar­ation
 

Perl

TODO
# TODO {content} ({author}: {date})
#!
Perl #! and use strict­/wa­rnings
extlibs
DBI and Data::­Dumper packages
neadlibs
Neadwerx packages
usage
Util.pm usage() function
dump
print Dumper( {content} )
comment
Block-­style comment
sub
subroutine
if
if block
ife
if, else block
ifee
if, else if, else block
xif
one-line if
unless
unless block
xunless
one-line unless
eval
eval block
while
while loop
xwhile
one-line while
for
for loop
foreach
foreach loop
xforeach
one line foreach
tertiary
tertiary statement

eRuby

extends html
access to all HTML snippets
title
page title block
=
<%= {content} %>
%
<% {content} %>
 

SQL

comment
block-­style comment
sqlcomment
COMMENT ON statement
TODO
-- TODO {content} ({author}: {date})
with
CTE
rwith
recursive CTE
createtb
table
creatett
temp table
createfn
function
createtr
trigger
begin
begin/end; block
declare
declar­e/b­egi­n/end; block
my
new local variable
for
for loop
if
if block
ife
if else block
eif
elsif block

HTML

tag
Multi-line tag
closed tag
<div />
inline tag
<di­v>{­con­ten­t}<­/di­v>
nbs
&nbsp, →, ↑, ↓
left
right
up
down
return
backtab
tab
shift
ctrl
enter
cmd
option
delete
backspace
esc
comment
<!-- {content} -->
                           
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Web Programming Cheat Sheet
          PHP Syntax for beginners Cheat Sheet

          More Cheat Sheets by Nuggles

          Shortcuts Cheat Sheet
          Vim Cheat Sheet
          Vimium Shortcuts Cheat Sheet