Julio Biason
4 years ago
22 changed files with 0 additions and 199 deletions
@ -1,13 +0,0 @@
|
||||
snippet if "if" |
||||
if (${1:/* condition */}) { |
||||
${VISUAL}${0} |
||||
} |
||||
endsnippet |
||||
|
||||
snippet ife "if .. else" |
||||
if (${1:/* condition */}) { |
||||
${2} |
||||
} else { |
||||
${3:/* else */} |
||||
} |
||||
endsnippet |
@ -1,9 +0,0 @@
|
||||
snippet mainclass "SpringBoot mainClass" |
||||
springBoot { |
||||
mainClass = '$0' |
||||
} |
||||
endsnippet |
||||
|
||||
snippet lombok "Add Lombok annotation processing" |
||||
annotationProcessor('org.projectlombok:lombok:1.18.4') |
||||
endsnippet |
@ -1,27 +0,0 @@
|
||||
snippet section "Sections" |
||||
<section> |
||||
$0 |
||||
</section> |
||||
endsnippet |
||||
|
||||
snippet ul "UL" |
||||
<ul> |
||||
$0 |
||||
</ul> |
||||
endsnippet |
||||
|
||||
snippet li "LI" |
||||
<li>$0</li> |
||||
endsnippet |
||||
|
||||
snippet p "P" |
||||
<p>$0</p> |
||||
endsnippet |
||||
|
||||
snippet pre "pre" |
||||
<pre>$0</pre> |
||||
endsnippet |
||||
|
||||
snippet code "code" |
||||
<code>$0</code> |
||||
endsnippet |
@ -1,3 +0,0 @@
|
||||
snippet serial "SerialVersionUID" |
||||
private static final long serialVersionUID = ${0}; |
||||
endsnippet |
@ -1,47 +0,0 @@
|
||||
snippet if "If block" i |
||||
{% if ${1:condition} %} |
||||
$0 |
||||
{% endif %} |
||||
endsnippet |
||||
|
||||
snippet else "Else" |
||||
{% else %} |
||||
endsnippet |
||||
|
||||
snippet for "For loop" |
||||
{% for ${1:variable} in ${2:set} %} |
||||
$0 |
||||
{% endfor %} |
||||
endsnippet |
||||
|
||||
snippet static "Django static route" i |
||||
{% static "$0" %} |
||||
endsnippet |
||||
|
||||
snippet url "Django URL resolver" i |
||||
{% url '$0' %} |
||||
endsnippet |
||||
|
||||
snippet load "Load a template tag" i |
||||
{% load ${0:module} %} |
||||
endsnippet |
||||
|
||||
snippet csrf "Django CSRF token" |
||||
{% csrf_token %}$0 |
||||
endsnippet |
||||
|
||||
snippet spaceless "Remove spaces (uses visual)" |
||||
{% spaceless %} |
||||
${0:${VISUAL}} |
||||
{% endspaceless %} |
||||
endsnippet |
||||
|
||||
snippet comment "Make code a comment" |
||||
{% comment %} |
||||
${0:${VISUAL}} |
||||
{% endcomment %} |
||||
endsnippet |
||||
|
||||
snippet modeline "Sets the modeline to HTMLDjango" |
||||
{# vim:set ft=htmldjango: #} |
||||
endsnippet |
@ -1,24 +0,0 @@
|
||||
snippet lang "PT spell lang" |
||||
<!-- |
||||
vim:spelllang=pt: |
||||
--> |
||||
endsnippet |
||||
|
||||
snippet header "Zola Header" |
||||
+++ |
||||
title = "$1" |
||||
date = date$2 |
||||
|
||||
[taxonomies] |
||||
tags = [""] |
||||
+++ |
||||
|
||||
<!-- more --> |
||||
$0 |
||||
endsnippet |
||||
|
||||
snippet pt "Set vim language to Portuguese" |
||||
<!-- |
||||
vim:spelllang=pt: |
||||
--> |
||||
endsnippet |
@ -1,57 +0,0 @@
|
||||
snippet #py "Set the python environment." |
||||
#!/usr/bin/env python |
||||
# -*- encoding: utf-8 -*- |
||||
|
||||
"""${1:Module documentation}""" |
||||
|
||||
$0 |
||||
endsnippet |
||||
|
||||
snippet utf8 "Set the encoding for UTF-8" |
||||
# -*- encoding: utf-8 -*- |
||||
|
||||
$0 |
||||
endsnippet |
||||
|
||||
snippet class "Starting a Python class" |
||||
class ${1:ClassName}(${2:object}): |
||||
|
||||
"""${3:Class documentation}""" |
||||
|
||||
$0 |
||||
endsnippet |
||||
|
||||
snippet lint "Start a lint-disable comment" |
||||
# pylint:disable=${0:lint code} |
||||
endsnippet |
||||
|
||||
snippet from "Import a module from another" |
||||
from ${1:source} import ${2:module} |
||||
endsnippet |
||||
|
||||
snippet def "Function" |
||||
def ${1:function name}(${2:parameters}): |
||||
"""${3:Function description}""" |
||||
$0 |
||||
endsnippet |
||||
|
||||
snippet init "Class init" |
||||
def __init__(self, ${0:params}): |
||||
return |
||||
endsnippet |
||||
|
||||
snippet nocover "Remove the block from the coverage" |
||||
# pragma: no cover |
||||
endsnippet |
||||
|
||||
snippet ain "assertIn" |
||||
self.assertIn(${1:needle}, ${2:haystack}) |
||||
endsnippet |
||||
|
||||
snippet logger "Add a logger for the module" |
||||
logger = logging.getLogger(__name__) # pylint:disable=invalid-name |
||||
endsnippet |
||||
|
||||
snippet pdb "Add the PDB call" |
||||
import pdb; pdb.set_trace() |
||||
endsnippet |
@ -1,3 +0,0 @@
|
||||
snippet ts "Simple tag, no content" b |
||||
<${1:tag}/> |
||||
endsnippet |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +0,0 @@
|
||||
Microservices |
||||
microservices |
||||
microservice |
||||
Zuckerberg |
||||
Facebook |
||||
libre |
||||
async |
||||
ebay |
Binary file not shown.
@ -1,7 +0,0 @@
|
||||
Python |
||||
Microserviços |
||||
microserviços |
||||
fleet |
||||
frameworks |
||||
microserviço |
||||
framework |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue