For example: Version 2.1
| Major | Minor |
|---|
| #!/bin/bash | |
| # coding: utf-8 | |
| BINPATH="/usr/bin" | |
| SSH_AGENT="${BINPATH}/ssh-agent" | |
| SSH_ADD="${BINPATH}/ssh-add" | |
| FILE="/tmp/ssh-agent.sh" | |
| SSH_ADD_ARGUMENTS=$@ | |
| delete_exists_proc() { |
| def separate(items, num): | |
| for index in range(0, len(items), num): | |
| yield items[index:(index + num)] | |
| def display_list(template_list): | |
| sepnum = 3 | |
| lines = [""] * sepnum |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| import os | |
| import delegator as dg | |
| from signal import SIGKILL | |
| from termcolor import colored | |
| RUN = colored("RUN", "cyan") | |
| SET = colored("SET", "green") |
| #!/bin/sh | |
| changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
| echo "$changed_files" | grep --quiet "\.jinja2$" && eval "python make.py compile" |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| from __future__ import unicode_literals | |
| import sys | |
| import click | |
| from code import InteractiveConsole | |
| from pygments.lexers import PythonLexer |
| .container_12 { | |
| width: 1200px; | |
| margin-left: auto; | |
| margin-right: auto | |
| } | |
| .grid_1 { | |
| position: relative; | |
| display: inline; | |
| float: left; |
| snippet #! | |
| abbr #!/usr/bin/env python | |
| alias shebang | |
| options head | |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| snippet class | |
| abbr class Class(...): ... | |
| options head |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| # Copyright (c) 2016 Hayato Tominaga | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| import json | |
| import requests | |
| from urllib import unquote | |
| from urlparse import urlparse | |