Skip to content
Browse files

rm'd the comments from the converted snippets

  • Loading branch information...
1 parent 77dd43f commit faad4a54ee9191844d96eabbb4ed437f20fa7196 @jashmenn committed
Showing with 169 additions and 343 deletions.
  1. +0 −2 _/#.snippet
  2. +1 −2 c/Inc.snippet
  3. +1 −2 c/do.snippet
  4. +1 −2 c/el.snippet
  5. +1 −2 c/for.snippet
  6. +1 −2 c/forr.snippet
  7. +1 −2 c/fun.snippet
  8. +1 −2 c/main.snippet
  9. +1 −2 c/once.snippet
  10. +1 −2 c/pr.snippet
  11. +1 −2 c/st.snippet
  12. +1 −2 c/t.snippet
  13. +1 −2 c/td.snippet
  14. +1 −2 c/tds.snippet
  15. +1 −2 c/wh.snippet
  16. +1 −2 cpp/map.snippet
  17. +1 −2 cpp/ns.snippet
  18. +1 −2 cpp/readfile.snippet
  19. +1 −2 cpp/vector.snippet
  20. +0 −1 html/#.snippet
  21. +1 −2 html/backspace.snippet
  22. +1 −2 html/backtab.snippet
  23. +1 −2 html/command.snippet
  24. +1 −2 html/control.snippet
  25. +1 −2 html/delete.snippet
  26. +1 −2 html/div.snippet
  27. +1 −2 html/doct.snippet
  28. +1 −2 html/doct5.snippet
  29. +1 −2 html/docts.snippet
  30. +1 −2 html/doctype/XHTML 1.1.snippet
  31. +1 −2 html/docxf.snippet
  32. +1 −2 html/docxs.snippet
  33. +1 −2 html/docxt.snippet
  34. +1 −2 html/down.snippet
  35. +1 −2 html/enter.snippet
  36. +1 −2 html/escape.snippet
  37. +1 −2 html/left.snippet
  38. +1 −2 html/nbs.snippet
  39. +1 −2 html/option.snippet
  40. +1 −2 html/return.snippet
  41. +1 −2 html/right.snippet
  42. +1 −2 html/shift.snippet
  43. +1 −2 html/tab.snippet
  44. +1 −2 html/up.snippet
  45. +1 −2 javascript/:f.snippet
  46. +1 −2 javascript/case.snippet
  47. +1 −2 javascript/do.snippet
  48. +1 −2 javascript/f.snippet
  49. +1 −2 javascript/for.snippet
  50. +1 −2 javascript/forr.snippet
  51. +1 −2 javascript/fun.snippet
  52. +1 −2 javascript/if.snippet
  53. +1 −2 javascript/ife.snippet
  54. +1 −2 javascript/proto.snippet
  55. +1 −2 javascript/switch.snippet
  56. +1 −2 javascript/t.snippet
  57. +1 −2 javascript/timeout.snippet
  58. +1 −2 javascript/wh.snippet
  59. +1 −2 objc/I.snippet
  60. +1 −2 objc/Imp.snippet
  61. +1 −2 objc/M.snippet
  62. +1 −2 objc/alloc.snippet
  63. +1 −2 objc/arel.snippet
  64. +1 −2 objc/array.snippet
  65. +1 −2 objc/bez.snippet
  66. +1 −2 objc/cat.snippet
  67. +1 −2 objc/cath.snippet
  68. +1 −2 objc/clh.snippet
  69. +1 −2 objc/clm.snippet
  70. +1 −2 objc/dict.snippet
  71. +1 −2 objc/forarray.snippet
  72. +1 −2 objc/iba.snippet
  73. +1 −2 objc/ibad.snippet
  74. +1 −2 objc/ibo.snippet
  75. +1 −2 objc/int.snippet
  76. +1 −2 objc/log.snippet
  77. +1 −2 objc/md.snippet
  78. +1 −2 objc/o.snippet
  79. +1 −2 objc/objacc.snippet
  80. +1 −2 objc/objc.snippet
  81. +1 −2 objc/pool.snippet
  82. +1 −2 objc/prop.snippet
  83. +1 −2 objc/rel.snippet
  84. +1 −2 objc/ret.snippet
  85. +1 −2 objc/s.snippet
  86. +1 −2 objc/sel.snippet
  87. +1 −2 objc/sm.snippet
  88. +1 −2 objc/syn.snippet
  89. +1 −2 objc/wake.snippet
  90. +0 −2 perl/#!.snippet
  91. +1 −2 perl/..snippet
  92. +1 −2 perl/cl.snippet
  93. +1 −2 perl/eval.snippet
  94. +1 −2 perl/for.snippet
  95. +1 −2 perl/fore.snippet
  96. +1 −2 perl/if.snippet
  97. +1 −2 perl/ife.snippet
  98. +1 −2 perl/ifee.snippet
  99. +1 −2 perl/sub.snippet
  100. +1 −2 perl/unless.snippet
  101. +1 −2 perl/wh.snippet
  102. +1 −2 perl/xfore.snippet
  103. +1 −2 perl/xif.snippet
  104. +1 −2 perl/xunless.snippet
  105. +1 −2 perl/xwh.snippet
  106. +1 −2 php/$_/SESSION['...'].snippet
  107. +1 −2 php/*.snippet
  108. +1 −2 php/class.snippet
  109. +1 −2 php/def.snippet
  110. +1 −2 php/doc_c.snippet
  111. +1 −2 php/doc_cp.snippet
  112. +1 −2 php/doc_d.snippet
  113. +1 −2 php/doc_dp.snippet
  114. +1 −2 php/doc_f.snippet
  115. +1 −2 php/doc_fp.snippet
  116. +1 −2 php/doc_h.snippet
  117. +1 −2 php/doc_i.snippet
  118. +1 −2 php/doc_s.snippet
  119. +1 −2 php/doc_v.snippet
  120. +1 −2 php/doc_vp.snippet
  121. +1 −2 php/elseif.snippet
  122. +1 −2 php/fun.snippet
  123. +1 −2 php/req1.snippet
  124. +1 −2 php/wh.snippet
  125. +1 −2 python/cl.snippet
  126. +1 −2 python/def.snippet
  127. +1 −2 python/defs.snippet
  128. +1 −2 python/for.snippet
  129. +1 −2 python/ifmain.snippet
  130. +1 −2 python/property.snippet
  131. +1 −2 python/try/Try/Except/Else/Finally.snippet
  132. +1 −2 ruby/Comp.snippet
  133. +1 −2 ruby/Enum.snippet
  134. +1 −2 ruby/Forw-.snippet
  135. +1 −2 ruby/Md.snippet
  136. +1 −2 ruby/Ml.snippet
  137. +1 −2 ruby/app.snippet
  138. +1 −2 ruby/cla/class << self .. end.snippet
  139. +1 −2 ruby/clafn.snippet
  140. +1 −2 ruby/defs.snippet
  141. +1 −2 ruby/fil.snippet
  142. +1 −2 ruby/fl.snippet
  143. +1 −2 ruby/mod/module .. ClassMethods .. end.snippet
  144. +1 −2 ruby/ope.snippet
  145. +1 −2 ruby/patfh.snippet
  146. +1 −2 ruby/r.snippet
  147. +1 −2 ruby/rw.snippet
  148. +1 −2 ruby/tra.snippet
  149. +1 −2 ruby/unif.snippet
  150. +1 −2 ruby/usai.snippet
  151. +1 −2 ruby/w.snippet
  152. +1 −2 ruby/xml-.snippet
  153. +1 −2 ruby/xpa.snippet
  154. +1 −2 ruby/zip.snippet
  155. +1 −2 tex/\.snippet
  156. +1 −2 tex/ali.snippet
  157. +1 −2 tex/begin.snippet
  158. +1 −2 tex/cas.snippet
  159. +1 −2 tex/cha.snippet
  160. +1 −2 tex/desc.snippet
  161. +1 −2 tex/enum.snippet
  162. +1 −2 tex/eq.snippet
  163. +1 −2 tex/gat.snippet
  164. +1 −2 tex/item.snippet
  165. +1 −2 tex/mat.snippet
  166. +1 −2 tex/par.snippet
  167. +1 −2 tex/part.snippet
  168. +1 −2 tex/sec.snippet
  169. +1 −2 tex/spl.snippet
  170. +1 −2 tex/sub.snippet
  171. +1 −2 tex/subs.snippet
  172. +1 −2 tex/tab.snippet
View
2 _/#.snippet
@@ -1,2 +0,0 @@
-
-# (c) holds no legal value ;)
View
3 c/Inc.snippet
@@ -1,2 +1 @@
-#include <${1:stdio}.h>${2}
-# #include "..."
+#include <${1:stdio}.h>${2}
View
3 c/do.snippet
@@ -1,4 +1,3 @@
do {
${2:/* code */}
-} while (${1:/* condition */});
-# While Loop
+} while (${1:/* condition */});
View
3 c/el.snippet
@@ -1,4 +1,3 @@
else {
${1}
-}
-# Tertiary conditional
+}
View
3 c/for.snippet
@@ -1,4 +1,3 @@
for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
${4:/* code */}
-}
-# Custom For Loop
+}
View
3 c/forr.snippet
@@ -1,4 +1,3 @@
for (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) {
${5:/* code */}
-}
-# Function
+}
View
3 c/fun.snippet
@@ -1,5 +1,4 @@
${1:void} ${2:function_name}(${3})
{
${4:/* code */}
-}
-# Typedef
+}
View
3 c/main.snippet
@@ -2,5 +2,4 @@ int main(int argc, char const* argv[])
{
${1}
return 0;
-}
-# #include <...>
+}
View
3 c/once.snippet
@@ -4,5 +4,4 @@
${2}
-#endif /* end of include guard: $1 */
-# If Condition
+#endif /* end of include guard: $1 */
View
3 c/pr.snippet
@@ -1,2 +1 @@
-printf("${1:%s}\n"${2});${3}
-# fprintf (again, this isn't as nice as TextMate's version, but it works)
+printf("${1:%s}\n"${2});${3}
View
3 c/st.snippet
@@ -1,4 +1,3 @@
struct ${1:`Filename('$1_t', 'name')`} {
${2:/* data */}
-}${3: /* optional variable list */};${4}
-# Typedef struct
+}${3: /* optional variable list */};${4}
View
3 c/t.snippet
@@ -1,2 +1 @@
-${1:/* condition */} ? ${2:a} : ${3:b}
-# Do While Loop
+${1:/* condition */} ? ${2:a} : ${3:b}
View
3 c/td.snippet
@@ -1,2 +1 @@
-typedef ${1:int} ${2:MyCustomType};
-# Struct
+typedef ${1:int} ${2:MyCustomType};
View
3 c/tds.snippet
@@ -2,5 +2,4 @@ typedef struct ${2:$1 }{
${3:/* data */}
} ${1:`Filename('$1_t', 'name')`};
# printf
-# unfortunately version this isn't as nice as TextMates's, given the lack of a
-# dynamic `...`
+# unfortunately version this isn't as nice as TextMates's, given the lack of a
View
3 c/wh.snippet
@@ -1,4 +1,3 @@
while (${1:/* condition */}) {
${2:/* code */}
-}
-# For Loop
+}
View
3 cpp/map.snippet
@@ -1,2 +1 @@
-std::map<${1:key}, ${2:value}> map${3};
-# std::vector
+std::map<${1:key}, ${2:value}> map${3};
View
3 cpp/ns.snippet
@@ -1,4 +1,3 @@
namespace ${1:`Filename('', 'my')`} {
${2}
-} /* $1 */
-# Class
+} /* $1 */
View
3 cpp/readfile.snippet
@@ -4,5 +4,4 @@ if (FILE *${2:fp} = fopen(${1:"filename"}, "r")) {
while (size_t len = fread(buf, 1, sizeof(buf), $2))
v.insert(v.end(), buf, buf + len);
fclose($2);
-}${3}
-# std::map
+}${3}
View
3 cpp/vector.snippet
@@ -1,2 +1 @@
-std::vector<${1:char}> v${2};
-# Namespace
+std::vector<${1:char}> v${2};
View
1 html/#.snippet
@@ -1 +0,0 @@
-# Non-Breaking Space
View
3 html/backspace.snippet
@@ -1,2 +1 @@
-&#x232B;
-# ⎋
+&#x232B;
View
3 html/backtab.snippet
@@ -1,2 +1 @@
-&#x21E4;
-# ⇥
+&#x21E4;
View
3 html/command.snippet
@@ -1,2 +1 @@
-&#x2318;
-# ⌥
+&#x2318;
View
3 html/control.snippet
@@ -1,2 +1 @@
-&#x2303;
-# ⌅
+&#x2303;
View
3 html/delete.snippet
@@ -1,2 +1 @@
-&#x2326;
-# ⌫
+&#x2326;
View
3 html/div.snippet
@@ -1,4 +1,3 @@
<div id="${1:name}">
${2}
-</div>
-# Embed QT Movie
+</div>
View
3 html/doct.snippet
@@ -1,3 +1,2 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""
-"http://www.w3.org/TR/html4/loose.dtd">
-# HTML Doctype 5
+"http://www.w3.org/TR/html4/loose.dtd">
View
3 html/doct5.snippet
@@ -1,2 +1 @@
-<!DOCTYPE HTML>
-# XHTML Doctype 1.0 Frameset
+<!DOCTYPE HTML>
View
3 html/docts.snippet
@@ -1,3 +1,2 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""
-"http://www.w3.org/TR/html4/strict.dtd">
-# HTML Doctype 4.01 Transitional
+"http://www.w3.org/TR/html4/strict.dtd">
View
3 html/doctype/XHTML 1.1.snippet
@@ -1,3 +1,2 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
-"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-# HTML Doctype 4.01 Strict
+"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
View
3 html/docxf.snippet
@@ -1,3 +1,2 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
-# XHTML Doctype 1.0 Strict
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
View
3 html/docxs.snippet
@@ -1,3 +1,2 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-# XHTML Doctype 1.0 Transitional
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
View
3 html/docxt.snippet
@@ -1,3 +1,2 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-# XHTML Doctype 1.1
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
View
3 html/down.snippet
@@ -1,2 +1 @@
-&#x2193;
-# ↩
+&#x2193;
View
3 html/enter.snippet
@@ -1,2 +1 @@
-&#x2305;
-# ⌘
+&#x2305;
View
3 html/escape.snippet
@@ -1,2 +1 @@
-&#x238B;
-# Generic Doctype
+&#x238B;
View
3 html/left.snippet
@@ -1,2 +1 @@
-&#x2190;
-# →
+&#x2190;
View
3 html/nbs.snippet
@@ -1,2 +1 @@
-&nbsp;
-# ←
+&nbsp;
View
3 html/option.snippet
@@ -1,2 +1 @@
-&#x2325;
-# ⌦
+&#x2325;
View
3 html/return.snippet
@@ -1,2 +1 @@
-&#x21A9;
-# ⇤
+&#x21A9;
View
3 html/right.snippet
@@ -1,2 +1 @@
-&#x2192;
-# ↑
+&#x2192;
View
3 html/shift.snippet
@@ -1,2 +1 @@
-&#x21E7;
-# ⌃
+&#x21E7;
View
3 html/tab.snippet
@@ -1,2 +1 @@
-&#x21E5;
-# ⇧
+&#x21E5;
View
3 html/up.snippet
@@ -1,2 +1 @@
-&#x2191;
-# ↓
+&#x2191;
View
3 javascript/:f.snippet
@@ -1,4 +1,3 @@
${1:method_name}: function(${2:attribute}) {
${4}
-}${3:,}
-# setTimeout function
+}${3:,}
View
3 javascript/case.snippet
@@ -1,5 +1,4 @@
case '${1:case}':
${2:// code}
break;
-${3}
-# for (...) {...}
+${3}
View
3 javascript/do.snippet
@@ -1,4 +1,3 @@
do {
${2:/* code */}
-} while (${1:/* condition */});
-# Object Method
+} while (${1:/* condition */});
View
3 javascript/f.snippet
@@ -1,2 +1 @@
-function(${1}) {${2}};
-# if
+function(${1}) {${2}};
View
3 javascript/for.snippet
@@ -1,4 +1,3 @@
for (var ${2:i} = 0; $2 < ${1:Things}.length; $2${3:++}) {
${4:$1[$2]}
-};
-# for (...) {...} (Improved Native For-Loop)
+};
View
3 javascript/forr.snippet
@@ -1,4 +1,3 @@
for (var ${2:i} = ${1:Things}.length - 1; $2 >= 0; $2${3:--}) {
${4:$1[$2]}
-};
-# while (...) {...}
+};
View
3 javascript/fun.snippet
@@ -1,4 +1,3 @@
function ${1:function_name} (${2:argument}) {
${3:// body...}
-}
-# Anonymous Function
+}
View
3 javascript/if.snippet
@@ -1,2 +1 @@
-if (${1:true}) {${2}};
-# if ... else
+if (${1:true}) {${2}};
View
3 javascript/ife.snippet
@@ -1,3 +1,2 @@
if (${1:true}) {${2}}
-else{${3}};
-# tertiary conditional
+else{${3}};
View
3 javascript/proto.snippet
@@ -1,5 +1,4 @@
${1:class_name}.prototype.${2:method_name} =
function(${3:first_argument}) {
${4:// body...}
-};
-# Function
+};
View
3 javascript/switch.snippet
@@ -5,5 +5,4 @@ switch(${1:expression}) {
${5}
default:
${2:// code}
-}
-# case
+}
View
3 javascript/t.snippet
@@ -1,2 +1 @@
-${1:/* condition */} ? ${2:a} : ${3:b}
-# switch
+${1:/* condition */} ? ${2:a} : ${3:b}
View
3 javascript/timeout.snippet
@@ -1,2 +1 @@
-setTimeout(function() {${3}}${2}, ${1:10};
-# Get Elements
+setTimeout(function() {${3}}${2}, ${1:10};
View
3 javascript/wh.snippet
@@ -1,4 +1,3 @@
while (${1:/* condition */}) {
${2:/* code */}
-}
-# do...while
+}
View
3 objc/I.snippet
@@ -4,5 +4,4 @@
${1}@"value", @"key",
nil]];
}
-# Accessor Methods For:
-# Object
+# Accessor Methods For:
View
3 objc/Imp.snippet
@@ -1,2 +1 @@
-#import <${1:Cocoa/Cocoa.h}>${2}
-# #import "..."
+#import <${1:Cocoa/Cocoa.h}>${2}
View
3 objc/M.snippet
@@ -1,5 +1,4 @@
- (${1:id})${2:method}
{
${3:return self;}
-}
-# Method declaration
+}
View
3 objc/alloc.snippet
@@ -1,2 +1 @@
-[[${1:foo} alloc] init]${2};${3}
-# retain
+[[${1:foo} alloc] init]${2};${3}
View
3 objc/arel.snippet
@@ -1,2 +1 @@
-[${1:foo} autorelease];
-# autorelease pool
+[${1:foo} autorelease];
View
3 objc/array.snippet
@@ -1,2 +1 @@
-NSMutableArray *${1:array} = [NSMutable array];${2}
-# NSDictionary
+NSMutableArray *${1:array} = [NSMutable array];${2}
View
3 objc/bez.snippet
@@ -1,2 +1 @@
-NSBezierPath *${1:path} = [NSBezierPath bezierPath];${2}
-# Method
+NSBezierPath *${1:path} = [NSBezierPath bezierPath];${2}
View
3 objc/cat.snippet
@@ -3,5 +3,4 @@
@implementation $1 ($2)
${3}
-@end
-# Category Interface
+@end
View
3 objc/cath.snippet
@@ -1,4 +1,3 @@
@interface ${1:NSObject} (${2:Category})
${3}
-@end
-# NSArray
+@end
View
3 objc/clh.snippet
@@ -2,5 +2,4 @@
{${3}
}
${4}
-@end
-# Class Implementation
+@end
View
3 objc/clm.snippet
@@ -6,5 +6,4 @@
}
return self;
}
-@end
-# Interface
+@end
View
3 objc/dict.snippet
@@ -1,2 +1 @@
-NSMutableDictionary *${1:dict} = [NSMutableDictionary dictionary];${2}
-# NSBezierPath
+NSMutableDictionary *${1:dict} = [NSMutableDictionary dictionary];${2}
View
3 objc/forarray.snippet
@@ -4,5 +4,4 @@ for (unsigned int index = 0; index < $1Count; index++) {
${3:id} $1 = [$2 $1AtIndex:index];
${4}
}
-# IBOutlet
-# @property (Objective-C 2.0)
+# IBOutlet
View
3 objc/iba.snippet
@@ -1,5 +1,4 @@
- (IBAction)${1:method}
{
${2}
-}
-# awakeFromNib method
+}
View
3 objc/ibad.snippet
@@ -1,2 +1 @@
-- (IBAction)${1:method};${2}
-# IBAction method
+- (IBAction)${1:method};${2}
View
3 objc/ibo.snippet
@@ -1,2 +1 @@
-IBOutlet ${1:NSSomeClass} *${2:$1};
-# Category
+IBOutlet ${1:NSSomeClass} *${2:$1};
View
3 objc/int.snippet
@@ -1,4 +1,3 @@
@interface
${1}
-@end
-# Implementation
+@end
View
3 objc/log.snippet
@@ -1,2 +1 @@
-NSLog(@"${1}"${2});${3}
-# Class
+NSLog(@"${1}"${2});${3}
View
3 objc/md.snippet
@@ -1,2 +1 @@
-- (${1:id})${2:method};${3}
-# IBAction declaration
+- (${1:id})${2:method};${3}
View
3 objc/o.snippet
@@ -1,2 +1 @@
-${1:NSObject} *${2:foo} = [${3:$1 alloc}];${5}
-# NSLog(...)
+${1:NSObject} *${2:foo} = [${3:$1 alloc}];${5}
View
3 objc/objacc.snippet
@@ -8,5 +8,4 @@
[$3 retain];
[$2 release];
$2 = $3;
-}${4}
-# for (object in array)
+}${4}
View
3 objc/objc.snippet
@@ -11,5 +11,4 @@
}
return self;
}
-@end
-# Class Interface
+@end
View
3 objc/pool.snippet
@@ -1,4 +1,3 @@
NSAutoReleasePool *${1:pool} = [[NSAutoReleasePool alloc] init];
${2:/* code */}
-[$1 release];
-# Throw an exception
+[$1 release];
View
3 objc/prop.snippet
@@ -1,2 +1 @@
-@property (${1:retain}) ${2:NSSomeClass} *${3:$2};${4}
-# @synthesize (Objective-C 2.0)
+@property (${1:retain}) ${2:NSSomeClass} *${3:$2};${4}
View
3 objc/rel.snippet
@@ -1,3 +1,2 @@
[${1:foo} release];
-${2:$1 = nil;}
-# autorelease
+${2:$1 = nil;}
View
3 objc/ret.snippet
@@ -1,2 +1 @@
-[${1:foo} retain];${2}
-# release
+[${1:foo} retain];${2}
View
3 objc/s.snippet
@@ -1,2 +1 @@
-@"${1}"${2}
-# Object
+@"${1}"${2}
View
3 objc/sel.snippet
@@ -1,2 +1 @@
-@selector(${1:method}:)${3}
-# @"..." string
+@selector(${1:method}:)${3}
View
3 objc/sm.snippet
@@ -2,5 +2,4 @@
{
[super $2];${3}
return self;
-}
-# Method: Initialize
+}
View
3 objc/syn.snippet
@@ -1,2 +1 @@
-@synthesize ${1:property};${2}
-# [[ alloc] init]
+@synthesize ${1:property};${2}
View
3 objc/wake.snippet
@@ -1,5 +1,4 @@
- (void)awakeFromNib
{
${1}
-}
-# Class Method
+}
View
2 perl/#!.snippet
@@ -1,3 +1 @@
#!/usr/bin/perl
-
-# Hash Pointer
View
3 perl/..snippet
@@ -1,2 +1 @@
- =>
-# Function
+ =>
View
3 perl/cl.snippet
@@ -9,5 +9,4 @@ sub new {
$self;
}
-1;${3}
-# Read File
+1;${3}
View
3 perl/eval.snippet
@@ -3,5 +3,4 @@ eval {
};
if ($@) {
${2:# handle failure...}
-}
-# While Loop
+}
View
3 perl/for.snippet
@@ -1,4 +1,3 @@
for (my $${2:var} = 0; $$2 < ${1:count}; $$2${3:++}) {
${4:# body...}
-}
-# Foreach Loop
+}
View
3 perl/fore.snippet
@@ -1,4 +1,3 @@
foreach my $${1:x} (@${2:array}) {
${3:# body...}
-}
-# Foreach Loop One-line
+}
View
3 perl/if.snippet
@@ -1,4 +1,3 @@
if (${1}) {
${2:# body...}
-}
-# Conditional if..else
+}
View
3 perl/ife.snippet
@@ -2,5 +2,4 @@ if (${1}) {
${2:# body...}
} else {
${3:# else...}
-}
-# Conditional if..elsif..else
+}
View
3 perl/ifee.snippet
@@ -4,5 +4,4 @@ if (${1}) {
${4:# elsif...}
} else {
${5:# else...}
-}
-# Conditional One-line
+}
View
3 perl/sub.snippet
@@ -1,4 +1,3 @@
sub ${1:function_name} {
${2:#body ...}
-}
-# Conditional
+}
View
3 perl/unless.snippet
@@ -1,4 +1,3 @@
unless (${1}) {
${2:# body...}
-}
-# Unless conditional One-line
+}
View
3 perl/wh.snippet
@@ -1,4 +1,3 @@
while (${1}) {
${2:# body...}
-}
-# While Loop One-line
+}
View
3 perl/xfore.snippet
@@ -1,2 +1 @@
-${1:expression} foreach @${2:array};${3}
-# Package
+${1:expression} foreach @${2:array};${3}
View
3 perl/xif.snippet
@@ -1,2 +1 @@
-${1:expression} if ${2:condition};${3}
-# Unless conditional
+${1:expression} if ${2:condition};${3}
View
3 perl/xunless.snippet
@@ -1,2 +1 @@
-${1:expression} unless ${2:condition};${3}
-# Try/Except
+${1:expression} unless ${2:condition};${3}
View
3 perl/xwh.snippet
@@ -1,2 +1 @@
-${1:expression} while ${2:condition};${3}
-# For Loop
+${1:expression} while ${2:condition};${3}
View
3 php/$_/SESSION['...'].snippet
@@ -1,2 +1 @@
-$_SESSION['${1:variable}']${2}
-# Start Docblock
+$_SESSION['${1:variable}']${2}
View
3 php/*.snippet
@@ -1,4 +1,3 @@
/**
* ${1}
- **/
-# Class - post doc
+ **/
View
3 php/class.snippet
@@ -8,5 +8,4 @@ class ${2:ClassName}
{
${6:// code...}
}
-}
-# define(...)
+}
View
3 php/def.snippet
@@ -1,2 +1 @@
-define('${1}'${2});${3}
-# defined(...)
+define('${1}'${2});${3}
View
3 php/doc_c.snippet
@@ -6,5 +6,4 @@
**/
${1:}class ${2:}
{${6}
-} // END $1class $2
-# Constant Definition - post doc
+} // END $1class $2
View
3 php/doc_cp.snippet
@@ -3,5 +3,4 @@
*
* @package ${2:default}
* @author ${3:`g:snips_author`}
-**/${4}
-# Class Variable - post doc
+**/${4}
View
3 php/doc_d.snippet
@@ -1,5 +1,4 @@
/**
* ${3:undocumented constant}
**/
-define(${1}, ${2});${4}
-# Function - post doc
+define(${1}, ${2});${4}
View
3 php/doc_dp.snippet
@@ -1,4 +1,3 @@
/**
* ${1:undocumented constant}
- **/${2}
-# Constant Definition
+ **/${2}
View
3 php/doc_f.snippet
@@ -6,5 +6,4 @@
**/
${1}function ${2}(${3})
{${7}
-}
-# Header
+}
View
3 php/doc_fp.snippet
@@ -3,5 +3,4 @@
*
* @return ${2:void}
* @author ${3:`g:snips_author`}
- **/${4}
-# Function signature
+ **/${4}
View
3 php/doc_h.snippet
@@ -9,5 +9,4 @@
/**
* Define DocBlock
- *//
-# Interface
+ *//
View
3 php/doc_i.snippet
@@ -6,5 +6,4 @@
**/
interface ${1:}
{${5}
-} // END interface $1
-# class ...
+} // END interface $1
View
3 php/doc_s.snippet
@@ -4,5 +4,4 @@
* @return ${5:void}
* @author ${6:`g:snips_author`}
**/
-${1}function ${2}(${3});${7}
-# Function
+${1}function ${2}(${3});${7}
View
3 php/doc_v.snippet
@@ -3,5 +3,4 @@
*
* @var ${4:string}
**/
-${1:var} $${2};${5}
-# Class
+${1:var} $${2};${5}
View
3 php/doc_vp.snippet
@@ -2,5 +2,4 @@
* ${1:undocumented class variable}
*
* @var ${2:string}
- **/${3}
-# Class Variable
+ **/${3}
View
3 php/elseif.snippet
@@ -1,4 +1,3 @@
elseif (${1:/* condition */}) {
${2:// code...}
-}
-# Tertiary conditional
+}
View
3 php/fun.snippet
@@ -1,5 +1,4 @@
${1:public }function ${2:FunctionName}(${3})
{
${4:// code...}
-}
-# $... = array (...)
+}
View
3 php/req1.snippet
@@ -1,2 +1 @@
-require_once '${1:file}';${2}
-# $GLOBALS['...']
+require_once '${1:file}';${2}
View
3 php/wh.snippet
@@ -1,4 +1,3 @@
while (${1:/* condition */}) {
${2:// code...}
-}
-# do ... while
+}
View
3 python/cl.snippet
@@ -3,5 +3,4 @@ class ${1:ClassName}(${2:object}):
def __init__(self, ${4:arg}):
${5:super($1, self).__init__()}
self.$4 = $4
- ${6}
-# New Function
+ ${6}
View
3 python/def.snippet
@@ -1,4 +1,3 @@
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
"""${3:docstring for $1}"""
- ${4:pass}
-# New Method
+ ${4:pass}
View
3 python/defs.snippet
@@ -1,3 +1,2 @@
def ${1:mname}(self, ${2:arg})):
- ${3:pass}
-# New Property
+ ${3:pass}
View
3 python/for.snippet
@@ -1,3 +1,2 @@
for ${1:needle} in ${2:haystack}:
- ${3:# code...}
-# New Class
+ ${3:# code...}
View
3 python/ifmain.snippet
@@ -1,3 +1,2 @@
if __name__ == '__main__':
- ${1:main()}
-# __magic__
+ ${1:main()}
View
3 python/property.snippet
@@ -3,5 +3,4 @@ def ${1:foo}():
def fget(self):
${3:return self._$1}
def fset(self, value):
-
-# Self
+
View
3 python/try/Try/Except/Else/Finally.snippet
@@ -5,5 +5,4 @@ except ${2:Exception}, ${3:e}:
else:
${5:pass}
finally:
- ${6:pass}
-# if __name__ == '__main__':
+ ${6:pass}
View
3 ruby/Comp.snippet
@@ -2,5 +2,4 @@ include Comparable
def <=>(other)
${1}
-end
-# extend Forwardable
+end
View
3 ruby/Enum.snippet
@@ -2,5 +2,4 @@ include Enumerable
def each(&block)
${1}
-end
-# include Comparable
+end
View
3 ruby/Forw-.snippet
@@ -1,2 +1 @@
-extend Forwardable
-# def self
+extend Forwardable
View
3 ruby/Md.snippet
@@ -1,2 +1 @@
-File.open(${1:"path/to/file.dump"}, "wb") { |${2:file}| Marshal.dump(${3:obj}, $2) }${4}
-# Mashal.load(obj)
+File.open(${1:"path/to/file.dump"}, "wb") { |${2:file}| Marshal.dump(${3:obj}, $2) }${4}
View
3 ruby/Ml.snippet
@@ -1,2 +1 @@
-File.open(${1:"path/to/file.dump"}, "rb") { |${2:file}| Marshal.load($2) }${3}
-# deep_copy(..)
+File.open(${1:"path/to/file.dump"}, "rb") { |${2:file}| Marshal.load($2) }${3}
View
3 ruby/app.snippet
@@ -1,4 +1,3 @@
if __FILE__ == $PROGRAM_NAME
${1}
-end
-# usage_if()
+end
View
3 ruby/cla/class << self .. end.snippet
@@ -1,4 +1,3 @@
class << ${1:self}
${2}
-end
-# class .. < DelegateClass .. initialize .. end
+end
View
3 ruby/clafn.snippet
@@ -1,2 +1 @@
-split("::").inject(Object) { |par, const| par.const_get(const) }
-# singleton_class()
+split("::").inject(Object) { |par, const| par.const_get(const) }
View
3 ruby/defs.snippet
@@ -1,4 +1,3 @@
def self.${1:class_method_name}
${2}
-end
-# def method_missing
+end
View
3 ruby/fil.snippet
@@ -1,2 +1 @@
-fill(${1:range}) { |${2:i}| ${3} }
-# flatten_once()
+fill(${1:range}) { |${2:i}| ${3} }
View
3 ruby/fl.snippet
@@ -1,2 +1 @@
-flunk("${1:Failure message.}")${2}
-# Benchmark.bmbm do .. end
+flunk("${1:Failure message.}")${2}
View
3 ruby/mod/module .. ClassMethods .. end.snippet
@@ -3,5 +3,4 @@ module ${1:`substitute(Filename(), '^.', '\u&', '')`}
${2}
end
-
-# attr_reader
+
View
3 ruby/ope.snippet
@@ -1,2 +1 @@
-open(${1:"path/or/url/or/pipe"}, "${2:w}") { |${3:io}| ${4} }
-# path_from_here()
+open(${1:"path/or/url/or/pipe"}, "${2:w}") { |${3:io}| ${4} }
View
3 ruby/patfh.snippet
@@ -1,2 +1 @@
-File.join(File.dirname(__FILE__), *%2[${1:rel path here}])${2}
-# unix_filter {}
+File.join(File.dirname(__FILE__), *%2[${1:rel path here}])${2}
View
3 ruby/r.snippet
@@ -1,2 +1 @@
-attr_reader :${1:attr_names}
-# attr_writer
+attr_reader :${1:attr_names}
View
3 ruby/rw.snippet
@@ -1,2 +1 @@
-attr_accessor :${1:attr_names}
-# include Enumerable
+attr_accessor :${1:attr_names}
View
3 ruby/tra.snippet
@@ -1,2 +1 @@
-transaction(${1:true}) { ${2} }
-# xmlread(..)
+transaction(${1:true}) { ${2} }
View
3 ruby/unif.snippet
@@ -1,4 +1,3 @@
ARGF.each_line${1} do |${2:line}|
${3}
-end
-# option_parse {}
+end
View
3 ruby/usai.snippet
@@ -1,4 +1,3 @@
if ARGV.${1}
abort "Usage: #{$PROGRAM_NAME} ${2:ARGS_GO_HERE}"${3}
-end
-# usage_unless()
+end
View
3 ruby/w.snippet
@@ -1,2 +1 @@
-attr_writer :${1:attr_names}
-# attr_accessor
+attr_writer :${1:attr_names}
View
3 ruby/xml-.snippet
@@ -1,2 +1 @@
-REXML::Document.new(File.read(${1:"path/to/file"}))${2}
-# xpath(..) { .. }
+REXML::Document.new(File.read(${1:"path/to/file"}))${2}
View
3 ruby/xpa.snippet
@@ -1,4 +1,3 @@
elements.each(${1:"//Xpath"}) do |${2:node}|
${3}
-end
-# class_from_name()
+end
View
3 ruby/zip.snippet
@@ -1,2 +1 @@
-zip(${1:enums}) { |${2:row}| ${3} }
-# downto(0) { |n| .. }
+zip(${1:enums}) { |${2:row}| ${3} }
View
3 tex/\.snippet
@@ -1,4 +1,3 @@
\\[
${1}
-\\]
-# Enumerate
+\\]
View
3 tex/ali.snippet
@@ -1,4 +1,3 @@
\begin{align${1:ed}}
${2}
-\end{align$1}
-# Gather(ed)
+\end{align$1}
View
3 tex/begin.snippet
@@ -1,4 +1,3 @@
\begin{${1:env}}
${2}
-\end{$1}
-# Tabular
+\end{$1}
View
3 tex/cas.snippet
@@ -1,5 +1,4 @@
\begin{cases}
${1:equation}, &\text{ if }${2:case}\\
${3}
-\end{cases}
-# Split
+\end{cases}
View
3 tex/cha.snippet
@@ -1,5 +1,4 @@
\chapter{${1:chapter name}} % (fold)
\label{cha:${2:$1}}
${3}
-% chapter $2 (end)
-# Section
+% chapter $2 (end)
View
3 tex/desc.snippet
@@ -1,4 +1,3 @@
\begin{description}
\item[${1}] ${2}
-\end{description}
-# Matrix
+\end{description}
View
3 tex/enum.snippet
@@ -1,4 +1,3 @@
\begin{enumerate}
\item ${1}
-\end{enumerate}
-# Itemize
+\end{enumerate}
View
3 tex/eq.snippet
@@ -1,4 +1,3 @@
\begin{equation}
${1}
-\end{equation}
-# Unnumbered Equation
+\end{equation}
View
3 tex/gat.snippet
@@ -1,4 +1,3 @@
\begin{gather${1:ed}}
${2}
-\end{gather$1}
-# Equation
+\end{gather$1}
View
3 tex/item.snippet
@@ -1,4 +1,3 @@
\begin{itemize}
\item ${1}
-\end{itemize}
-# Description
+\end{itemize}
View
3 tex/mat.snippet
@@ -1,4 +1,3 @@
\begin{${1:p/b/v/V/B/small}matrix}
${2}
-\end{$1matrix}
-# Cases
+\end{$1matrix}
View
3 tex/par.snippet
@@ -1,5 +1,4 @@
\paragraph{${1:paragraph name}} % (fold)
\label{par:${2:$1}}
${3}
-% paragraph $2 (end)
-# Sub Paragraph
+% paragraph $2 (end)
View
3 tex/part.snippet
@@ -1,5 +1,4 @@
\part{${1:part name}} % (fold)
\label{prt:${2:$1}}
${3}
-% part $2 (end)
-# Chapter
+% part $2 (end)
View
3 tex/sec.snippet
@@ -1,5 +1,4 @@
\section{${1:section name}} % (fold)
\label{sec:${2:$1}}
${3}
-% section $2 (end)
-# Sub Section
+% section $2 (end)
View
3 tex/spl.snippet
@@ -1,4 +1,3 @@
\begin{split}
${1}
-\end{split}
-# Part
+\end{split}
View
3 tex/sub.snippet
@@ -1,5 +1,4 @@
\subsection{${1:subsection name}} % (fold)
\label{sub:${2:$1}}
${3}
-% subsection $2 (end)
-# Sub Sub Section
+% subsection $2 (end)
View
3 tex/subs.snippet
@@ -1,5 +1,4 @@
\subsubsection{${1:subsubsection name}} % (fold)
\label{ssub:${2:$1}}
${3}
-% subsubsection $2 (end)
-# Paragraph
+% subsubsection $2 (end)
View
3 tex/tab.snippet
@@ -1,4 +1,3 @@
\begin{${1:tabular}}{${2:c}}
${3}
-\end{$1}
-# Align(ed)
+\end{$1}

0 comments on commit faad4a5

Please sign in to comment.
Something went wrong with that request. Please try again.