#name : FILE *fp = fopen(..., ...);
# --
-FILE *${fp} = fopen(${"file"}, "${r}");
+FILE *${fp} = fopen(${"file"}, "${r}");
\ No newline at end of file
#name : #include "..."
# --
-#include "$1"
+#include "$1"
\ No newline at end of file
#name : #include <...>
# --
-#include <$1>
+#include <$1>
\ No newline at end of file
{
$0
return 0;
-}
+}
\ No newline at end of file
/// <summary>
/// $3
/// </summary>
-private $1 $2;
+private $1 $2;
\ No newline at end of file
set {
this.$2 = value;
}
-}
+}
\ No newline at end of file
set {
this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")} = value;
}
-}
+}
\ No newline at end of file
{
}
#endregion
-}
+}
\ No newline at end of file
# --
/// <summary>
/// $1
-/// </summary>
+/// </summary>
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : /// <param name="..."> ... </param>
# --
-/// <param name="$1">$2</param>
+/// <param name="$1">$2</param>
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : /// <param name="..."> ... </param>
# --
-/// <returns>$1</returns>
+/// <returns>$1</returns>
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : /// <exception cref="..."> ... </exception>
# --
-/// <exception cref="$1">$2</exception>
+/// <exception cref="$1">$2</exception>
\ No newline at end of file
${1:public} ${2:void} ${3:MethodName}($4)
{
$0
-}
+}
\ No newline at end of file
namespace $1
{
$0
-}
+}
\ No newline at end of file
set {
this.$4 = value;
}
-}
+}
\ No newline at end of file
# --
#region $1
$0
-#endregion
+#endregion
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : using ...;
# --
-using $1;
+using $1;
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : using System;
# --
-using System;
+using System;
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : using System....;
# --
-using System.$1;
+using System.$1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : clear: ...
# --
-clear: $1;
+clear: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : display: block
# --
-display: block;
+display: block;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : display: inline
# --
-display: inline;
+display: inline;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : display: none
# --
-display: none;
+display: none;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : font-family: ...
# --
-font-family: $1;
+font-family: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : font-size: ...
# --
-font-size: ${12px};
+font-size: ${12px};
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : margin-bottom: ...
# --
-margin-bottom: $1;
+margin-bottom: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : margin-left: ...
# --
-margin-left: $1;
+margin-left: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : margin: ...
# --
-margin: $1;
+margin: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : margin top right bottom left
# --
-margin: ${top} ${right} ${bottom} ${left};
+margin: ${top} ${right} ${bottom} ${left};
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : margin-right: ...
# --
-margin-right: $1;
+margin-right: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : margin-top: ...
# --
-margin-top: $1;
+margin-top: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : padding-bottom: ...
# --
-padding-bottom: $1;
+padding-bottom: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : padding-left: ...
# --
-padding-left: $1;
+padding-left: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : padding: ...
# --
-padding: $1;
+padding: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : padding: top right bottom left
# --
-padding: ${top} ${right} ${bottom} ${left};
+padding: ${top} ${right} ${bottom} ${left};
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : padding-right: ...
# --
-padding-right: $1;
+padding-right: $1;
\ No newline at end of file
#contributor : rejeep <johan.rejeep@gmail.com>
#name : padding-top: ...
# --
-padding-top: $1;
+padding-top: $1;
\ No newline at end of file
#name: autoload
#key: autoload
# --
-(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)
-
+(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)
\ No newline at end of file
#key: bounds-of-thing-at-point
#key: botap
# --
-(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
-
+(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
\ No newline at end of file
#key: buffer-substring-no-properties
#key: bsnp
# --
-(buffer-substring-no-properties START$0 END)
+(buffer-substring-no-properties START$0 END)
\ No newline at end of file
#key: buffer-substring
#key: bs
# --
-(buffer-substring START$0 END)
+(buffer-substring START$0 END)
\ No newline at end of file
#name: format
#key: format
# --
-(format "$0" &optional OBJECTS)
+(format "$0" &optional OBJECTS)
\ No newline at end of file
#name: format
#key: format
# --
-(format "$0" &optional OBJECTS)
+(format "$0" &optional OBJECTS)
\ No newline at end of file
#key: replace-regexp-in-string
#key: rris
# --
-(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)
+(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)
\ No newline at end of file
#name: substring
#key: substring
# --
-(substring STRING$0 FROM &optional TO)
+(substring STRING$0 FROM &optional TO)
\ No newline at end of file
#key: thing-at-point
#key: tap
# --
-(thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
-
+(thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
\ No newline at end of file
(mapc 'myProcessFile (dired-get-marked-files))
)
-;; to use it, type M-x dired-myProcessFile
+;; to use it, type M-x dired-myProcessFile
\ No newline at end of file
;; ... do something here
;; (write-file fpath) ;; write back to the file
- (kill-buffer " myTemp")))
+ (kill-buffer " myTemp")))
\ No newline at end of file
(goto-char (point-min))
(while (search-forward ">" nil t) (replace-match ">" nil t))
)
- )
+ )
\ No newline at end of file
#contributor: Xah Lee (XahLee.org)
#name: grab buffer substring
# --
-(setq $0 (buffer-substring-no-properties myStartPos myEndPos))
+(setq $0 (buffer-substring-no-properties myStartPos myEndPos))
\ No newline at end of file
#contributor: Xah Lee (XahLee.org)
#name: grab word under cursor
# --
-(setq $0 (thing-at-point 'symbol))
+(setq $0 (thing-at-point 'symbol))
\ No newline at end of file
# --
;; apply a function to all files in a dir
(require 'find-lisp)
-(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$"))
+(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$"))
\ No newline at end of file
(insert "newText") ; insert your new text
)
-)
+)
\ No newline at end of file
#name : after ... ->
# --
after
- $1 -> $0
+ $1 -> $0
\ No newline at end of file
# --
begin
$0
-end
+end
\ No newline at end of file
#name : -behaviour(...).
# --
-behaviour(${1:gen_server}).
-$0
+$0
\ No newline at end of file
# --
case $1 of
$0
-end
+end
\ No newline at end of file
#name : -compile(...).
# --
-compile([${1:export_all}]).
-$0
+$0
\ No newline at end of file
#name : -define(...,...).
# --
-define($1,$2).
-$0
+$0
\ No newline at end of file
#contributor : hitesh <hitesh.jasani@gmail.com>
# --
-export([${1:start/0}]).
-$0
+$0
\ No newline at end of file
#name : fun (...) -> ... end
# --
-fun ($1) -> $0 end
+fun ($1) -> $0 end
\ No newline at end of file
if
$1 -> $2;
true -> $0
-end
+end
\ No newline at end of file
# --
-ifdef($1).
$0
--endif.
+-endif.
\ No newline at end of file
# --
-ifndef($1).
$0
--endif.
+-endif.
\ No newline at end of file
#contributor : hitesh <hitesh.jasani@gmail.com>
# --
-import(${1:lists}, [${2:map/2, sum/1}]).
-$0
+$0
\ No newline at end of file
#name : -include("...").
# --
-include("$1").
-$0
+$0
\ No newline at end of file
#name : -include_lib("...").
# --
-include_lib("$1").
-$0
+$0
\ No newline at end of file
${3:_} ->
$1($2)
end.
-$0
+$0
\ No newline at end of file
# --
-module(${1:`(file-name-nondirectory
(file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}).
-$0
+$0
\ No newline at end of file
# --
receive
$1 -> $0
-end
+end
\ No newline at end of file
receive
after
$1 -> $0
-end
+end
\ No newline at end of file
#name : -record(...,{...}).
# --
-record($1,{$2}).
-$0
+$0
\ No newline at end of file
$0
catch
after
-end
+end
\ No newline at end of file
#name : -undef(...).
# --
-undef($1).
-$0
+$0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : automatic
# --
-automatic $0
+automatic $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : block data
# --
-block data $0
+block data $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : continue
# --
-continue $0
+continue $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : character
# --
-character $0
+character $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : complex
# --
-complex $0
+complex $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : double complex
# --
-double complex $0
+double complex $0
\ No newline at end of file
# --
do while (${1:condition})
$0
-end do
+end do
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : double precision
# --
-double precision $0
+double precision $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : equivalence
# --
-equivalence $0
+equivalence $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : implicit byte
# --
-implicit byte $0
+implicit byte $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : implicit complex
# --
-implicit complex $0
+implicit complex $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : implicit character
# --
-implicit character $0
+implicit character $0
\ No newline at end of file
# --
if ( ${1:condition} ) then
$0
-end if
+end if
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : implicit integer
# --
-implicit integer $0
+implicit integer $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : implicit logical
# --
-implicit logical $0
+implicit logical $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : implicit none
# --
-implicit none
+implicit none
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : include
# --
-include $0
+include $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : intrinsic
# --
-intrinsic $0
+intrinsic $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : implicit real
# --
-implicit real $0
+implicit real $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : logical
# --
-logical $0
+logical $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : parameter
# --
-parameter $0
+parameter $0
\ No newline at end of file
# --
program ${1:name}
$0
-end program ${1:name}
+end program ${1:name}
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : read (*,*)
# --
-read (${1:*},${2:*}) $0
+read (${1:*},${2:*}) $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : structure
# --
-structure $0
+structure $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : subroutine
# --
-subroutine $0
+subroutine $0
\ No newline at end of file
#contributor: Li Zhu <http://www.zhuli.name>
#name : write (*,*)
# --
-write (${1:*},${2:*}) $0
+write (${1:*},${2:*}) $0
\ No newline at end of file
#contributor : Xah Lee xahlee.org
#name : <b>...</b>
# --
-<b>$0</b>
+<b>$0</b>
\ No newline at end of file
</dov>
<dov $1>
actually some other shit and $3
-</dov>
+</dov>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h1>...</h1>
# --
-<h1>$1</h1>
+<h1>$1</h1>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h2>...</h2>
# --
-<h2>$1</h2>
+<h2>$1</h2>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h3>...</h3>
# --
-<h3>$1</h3>
+<h3>$1</h3>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h4>...</h4>
# --
-<h4>$1</h4>
+<h4>$1</h4>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h5>...</h5>
# --
-<h5>$1</h5>
+<h5>$1</h5>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h6>...</h6>
# --
-<h6>$1</h6>
+<h6>$1</h6>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <hr />
# --
-<hr />
+<hr />
\ No newline at end of file
# --
<html>
$0
-</html>
+</html>
\ No newline at end of file
# --
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
$0
-</html>
+</html>
\ No newline at end of file
#contributor : Xah Lee xahlee.org
#name : <i>...</i>
# --
-<i>$0</i>
+<i>$0</i>
\ No newline at end of file
#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
#name : <dd> ... </dd>
# --
-<dd>$1</dd>
+<dd>$1</dd>
\ No newline at end of file
# --
<dl>
$0
-</dl>
+</dl>
\ No newline at end of file
# --
<dl id="$1">
$0
-</dl>
+</dl>
\ No newline at end of file
#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
#name : <dt> ... </dt>
# --
-<dt>$1</dt>
+<dt>$1</dt>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <li>...</li>
# --
-<li>$1</li>
+<li>$1</li>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <li class="...">...</li>
# --
-<li class="$1">$2</li>
+<li class="$1">$2</li>
\ No newline at end of file
# --
<ol>
$0
-</ol>
+</ol>
\ No newline at end of file
# --
<ol class="$1">
$0
-</ol>
+</ol>
\ No newline at end of file
# --
<ol id="$1">
$0
-</ol>
+</ol>
\ No newline at end of file
# --
<ul>
$0
-</ul>
+</ul>
\ No newline at end of file
# --
<ul class="$1">
$0
-</ul>
+</ul>
\ No newline at end of file
# --
<ul id="$1">
$0
-</ul>
+</ul>
\ No newline at end of file
#name : Doctype HTML 4.01 Strict
# --
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
\ No newline at end of file
#name : DocType XHTML 1.0 frameset
# --
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
\ No newline at end of file
#name : DocType XHTML 1.1
# --
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\ No newline at end of file
#name : DocType XHTML 1.0 Strict
# --
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\ No newline at end of file
#name : DocType XHTML 1.0 Transitional
# --
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <meta name="..." content="..." />
# --
-<meta name="${1:generator}" content="${2:content}" />
+<meta name="${1:generator}" content="${2:content}" />
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <meta http-equiv="..." content="..." />
# --
-<meta http-equiv="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" />
+<meta http-equiv="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" />
\ No newline at end of file
# --
<blockquote>
$0
-</blockquote>
+</blockquote>
\ No newline at end of file
# --
<table width="$1" cellspacing="$2" cellpadding="$3" border="$4">
$0
-</table>
+</table>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <td>...</td>
# --
-<td$1>$2</td>
+<td$1>$2</td>
\ No newline at end of file
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <th>...</th>
# --
-<th$1>$2</th>
+<th$1>$2</th>
\ No newline at end of file
# --
<tr>
$0
-</tr>
+</tr>
\ No newline at end of file
\begin{${1:environment}}
$0
-\end{$1}
+\end{$1}
\ No newline at end of file
#contributor: Peng Deng <dengpeng@gmail.com>
# --
+ ${1:Text}
-+$0
++$0
\ No newline at end of file
#contributor: Peng Deng <dengpeng@gmail.com>
# --
- ${1:Text}
--$0
+-$0
\ No newline at end of file
#name : Emphasis
#contributor: Peng Deng <dengpeng@gmail.com>
# --
-_${1:Text}_ $0
+_${1:Text}_ $0
\ No newline at end of file
#name : Strong
#contributor: Peng Deng <dengpeng@gmail.com>
# --
-**${1:Text}** $0
+**${1:Text}** $0
\ No newline at end of file
#name : Inline Code
#contributor: Peng Deng <dengpeng@gmail.com>
# --
-\`${1:Code}\` $0
+\`${1:Code}\` $0
\ No newline at end of file
# --
# ${1:Header 1} #
-$0
+$0
\ No newline at end of file
${1:Header 1}
${1:$(make-string (string-width text) ?\=)}
-$0
+$0
\ No newline at end of file
# --
## ${1:Header 1} ##
-$0
+$0
\ No newline at end of file
${1:Header 2}
${1:$(make-string (string-width text) ?\-)}
-$0
+$0
\ No newline at end of file
# --
### ${1:Header 3} ###
-$0
+$0
\ No newline at end of file
# --
#### ${1:Header 4} ####
-$0
+$0
\ No newline at end of file
# --
##### ${1:Header 5} #####
-$0
+$0
\ No newline at end of file
# --
###### ${1:Header 6} ######
-$0
+$0
\ No newline at end of file
----------
-$0
+$0
\ No newline at end of file
*******
-$0
+$0
\ No newline at end of file
#name : Image
#contributor: Peng Deng <dengpeng@gmail.com>
# --
-![${1:Alt Text}](${2:URL} $3) $0
+![${1:Alt Text}](${2:URL} $3) $0
\ No newline at end of file
#name : Link
#contributor: Peng Deng <dengpeng@gmail.com>
# --
-[${1:Link Text}](${2:URL} $3) $0
+[${1:Link Text}](${2:URL} $3) $0
\ No newline at end of file
#contributor: Peng Deng <dengpeng@gmail.com>
# --
${1:1}. ${2:Text}
-${1:$(number-to-string (1+ (string-to-number text)))}. $0
+${1:$(number-to-string (1+ (string-to-number text)))}. $0
\ No newline at end of file
#name : Referenced Image
#contributor: Peng Deng <dengpeng@gmail.com>
# --
-![${1:Alt Text}][$2] $0
+![${1:Alt Text}][$2] $0
\ No newline at end of file
#contributor: Peng Deng <dengpeng@gmail.com>
# --
[${1:Reference}]: ${2:URL} $3
-$0
+$0
\ No newline at end of file
#name : Reference Link
#contributor: Peng Deng <dengpeng@gmail.com>
# --
-[${1:Link Text}][$2] $0
+[${1:Link Text}][$2] $0
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h1>...</h1>
# --
-<h1>$1</h1>
+<h1>$1</h1>
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h2>...</h2>
# --
-<h2>$1</h2>
+<h2>$1</h2>
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h3>...</h3>
# --
-<h3>$1</h3>
+<h3>$1</h3>
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h4>...</h4>
# --
-<h4>$1</h4>
+<h4>$1</h4>
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h5>...</h5>
# --
-<h5>$1</h5>
+<h5>$1</h5>
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <h6>...</h6>
# --
-<h6>$1</h6>
+<h6>$1</h6>
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <hr />
# --
-<hr />
+<hr />
\ No newline at end of file
# --
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
$0
-</html>
+</html>
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : DocType XHTML 1.1
# --
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : DocType XHTML 1.0 Strict
# --
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : DocType XHTML 1.0 Transitional
# --
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\ No newline at end of file
#contributor : Anders Bach Nielsen <abachn@abachn.net>
#name : <meta name="..." content="..." />
# --
-<meta name="${1:generator}" content="${2:content}" />
+<meta name="${1:generator}" content="${2:content}" />
\ No newline at end of file
(split-string text ",")))
(concat "\n" (make-string (current-column) 32)))
}
- $0
+ $0
\ No newline at end of file
(list "" "Arguments:" args (make-string 3 34))
indent)))
}
- $0
+ $0
\ No newline at end of file
(list "" "Arguments:" args (make-string 3 34))
indent)))
}
- $0
+ $0
\ No newline at end of file
return locals()
$1 = property(**$1())
-$0
+$0
\ No newline at end of file
$1 = property(_get_$1)
-$0
+$0
\ No newline at end of file
$1 = property(_get_$1, _set_$1)
-$0
+$0
\ No newline at end of file
#name : all? { |...| ... }
# --
-all? { |${e}| $0 }
+all? { |${e}| $0 }
\ No newline at end of file
#name : any? { |...| ... }
# --
-any? { |${e}| $0 }
+any? { |${e}| $0 }
\ No newline at end of file
#name : classify { |...| ... }
# --
-classify { |${e}| $0 }
+classify { |${e}| $0 }
\ No newline at end of file
#name : collect { |...| ... }
# --
-collect { |${e}| $0 }
+collect { |${e}| $0 }
\ No newline at end of file
#name : delete_if { |...| ... }
# --
-delete_if { |${e} $0 }
+delete_if { |${e} $0 }
\ No newline at end of file
#name : detect { |...| ... }
# --
-detect { |${e}| $0 }
+detect { |${e}| $0 }
\ No newline at end of file
#name : each { |...| ... }
# --
-each { |${e}| $0 }
+each { |${e}| $0 }
\ No newline at end of file
#name : each_cons(...) { |...| ... }
# --
-each_cons(${1:2}) { |${group}| $0 }
+each_cons(${1:2}) { |${group}| $0 }
\ No newline at end of file
#name : each_index { |i| ... }
# --
-each_index { |${i}| $0 }
+each_index { |${i}| $0 }
\ No newline at end of file
#name : each_value { |val| ... }
# --
-each_value { |${val}| $0 }
+each_value { |${val}| $0 }
\ No newline at end of file
#name : each_with_index { |e, i| ... }
# --
-each_with_index { |${e}, ${i}| $0 }
+each_with_index { |${e}, ${i}| $0 }
\ No newline at end of file
#name : inject(...) { |...| ... }
# --
-inject(${1:0}) { |${2:injection}, ${3:element}| $0 }
+inject(${1:0}) { |${2:injection}, ${3:element}| $0 }
\ No newline at end of file
#name : reject { |...| ... }
# --
-reject { |${1:element}| $0 }
+reject { |${1:element}| $0 }
\ No newline at end of file
#name : select { |...| ... }
# --
-select { |${1:element}| $0 }
+select { |${1:element}| $0 }
\ No newline at end of file
#name : zip(...) { |...| ... }
# --
-zip(${enums}) { |${row}| $0 }
+zip(${enums}) { |${row}| $0 }
\ No newline at end of file
# --
for ${1:element} in ${2:collection}
$0
-end
+end
\ No newline at end of file
# --
if ${1:condition}
$0
-end
+end
\ No newline at end of file
$2
else
$3
-end
+end
\ No newline at end of file
#name : times { |n| ... }
# --
-times { |${n}| $0 }
+times { |${n}| $0 }
\ No newline at end of file
# --
until ${condition}
$0
-end
+end
\ No newline at end of file
# --
upto(${n}) { |${i}|
$0
-}
+}
\ No newline at end of file
# --
when ${condition}
$0
-end
+end
\ No newline at end of file
# --
while ${condition}
$0
-end
+end
\ No newline at end of file
def <=> other
$0
-end
+end
\ No newline at end of file
#name : alias_method new, old
# --
-alias_method :${new_name}, :${old_name}
+alias_method :${new_name}, :${old_name}
\ No newline at end of file
# --
class << ${self}
$0
-end
+end
\ No newline at end of file
((string-match "_" fn) (replace-match "" nil nil fn))
(t fn)))`}
$0
-end
+end
\ No newline at end of file
# --
def method_missing(method, *args)
$0
-end
+end
\ No newline at end of file
#name : attr_reader ...
# --
-attr_reader :
+attr_reader :
\ No newline at end of file
#name : attr_accessor ...
# --
-attr_accessor :
+attr_accessor :
\ No newline at end of file
#name : attr_writer ...
# --
-attr_writer :
+attr_writer :
\ No newline at end of file
#name : # =>
# --
-# =>
+# =>
\ No newline at end of file
# --
=begin rdoc
$0
-=end
+=end
\ No newline at end of file
# --
if __FILE__ == $PROGRAM_NAME
$0
-end
+end
\ No newline at end of file
# --
Benchmark.bmbm(${1:10}) do |x|
$0
-end
+end
\ No newline at end of file
case ${1:object}
when ${2:condition}
$0
-end
+end
\ No newline at end of file
#name : deep_copy(...)
# --
-Marshal.load(Marshal.dump($0))
+Marshal.load(Marshal.dump($0))
\ No newline at end of file
#name : /usr/bin/ruby -wKU
# --
-#!/usr/bin/ruby -wKU
+#!/usr/bin/ruby -wKU
\ No newline at end of file
#name : require "..."
# --
-require "$0"
+require "$0"
\ No newline at end of file
#name : require File.join(File.dirname(__FILE__), ...)
# --
-require File.join(File.dirname(__FILE__), $0)
+require File.join(File.dirname(__FILE__), $0)
\ No newline at end of file
#name : :yields: arguments (rdoc)
# --
-:yields: $0
+:yields: $0
\ No newline at end of file
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : element1 :: Nil
# --
-${1:element1} :: Nil $0
+${1:element1} :: Nil $0
\ No newline at end of file
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : new HashSet[K]
# --
-new HashSet[${1:key}] $0
+new HashSet[${1:key}] $0
\ No newline at end of file
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : val name: T = ..
# --
-val ${1:name}: ${2:T} = ${3:obj} $0
+val ${1:name}: ${2:T} = ${3:obj} $0
\ No newline at end of file
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : var name = ..
# --
-var ${1:name} = ${2:obj} $0
+var ${1:name} = ${2:obj} $0
\ No newline at end of file
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : var name = new ..
# --
-var ${1:name} = new ${2:obj} $0
+var ${1:name} = new ${2:obj} $0
\ No newline at end of file
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : var name: T = ..
# --
-var ${1:name}: ${2:T} = ${3:obj} $0
+var ${1:name}: ${2:T} = ${3:obj} $0
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : , ColumnName ColumnType NOT NULL...
# --
- , ${1:Name} ${2:Type} ${3:NOT NULL}
+ , ${1:Name} ${2:Type} ${3:NOT NULL}
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : CONSTRAINT [..] PRIMARY KEY ...
# --
-CONSTRAINT [${1:PK_Name}] PRIMARY KEY ${2:CLUSTERED} ([${3:ColumnName}])
+CONSTRAINT [${1:PK_Name}] PRIMARY KEY ${2:CLUSTERED} ([${3:ColumnName}])
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : CONSTRAINT [..] FOREIGN KEY ...
# --
-CONSTRAINT [${1:FK_Name}] FOREIGN KEY ${2:CLUSTERED} ([${3:ColumnName}])
+CONSTRAINT [${1:FK_Name}] FOREIGN KEY ${2:CLUSTERED} ([${3:ColumnName}])
\ No newline at end of file
$0
CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3])
)
-GO
+GO
\ No newline at end of file
BEGIN
$0
END
-GO
+GO
\ No newline at end of file
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : REFERENCES ...
# --
-REFERENCES ${1:TableName}([${2:ColumnName}])
+REFERENCES ${1:TableName}([${2:ColumnName}])
\ No newline at end of file