Dependency:
- boto3 and AWS credential configured on your local
- colored
Usage:
$ python ech.py server-name
More simple usage:
Dependency:
Usage:
$ python ech.py server-nameMore simple usage:
| { | |
| "meta": { | |
| "result_size": 9 | |
| }, | |
| "result": [ | |
| { | |
| "_type": "radio_section", | |
| "name": "내 채널", | |
| "section_type": "mychannel", | |
| "channels": [ |
| """ fabutils.py | |
| ~~~~~~~~~~~ | |
| """ | |
| from __future__ import absolute_import, unicode_literals | |
| import re | |
| import time | |
| from fabric.api import quiet, run, settings, sudo | |
| from fabric.utils import abort, error, puts, warn |
| "vImproved | |
| set nocompatible | |
| "Syntax Highlighting | |
| syntax on | |
| filetype off | |
| set rtp+=~/.vim/bundle/vundle/ | |
| call vundle#rc() |
| """ :mod:`po2json` | |
| ~~~~~~~~~~~~~~ | |
| Convert PO files to JSON-serialized files. | |
| By Hyunjun Kim <[email protected]> for StyleShare. | |
| Skeleton source code from `babel.messages.frontend.compile_catalog` that does compiling PO to MO files. | |
| """ |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| boxes = [ | |
| { :name => :web, | |
| :role => 'web', | |
| :ip => '192.168.33.1', | |
| :http_fwd => 8080, | |
| :shares => true }, | |
| { :name => :db, |
| """Jinja2 x htmlfill | |
| Known bugs: Can't skip empty dictionaries when htmlfilling is not needed. | |
| # AUTHOR: HYUNJUN KIM <[email protected]> | |
| # LICENSE: Distributed under MIT License. | |
| """ | |
| import formencode.htmlfill | |
| import jinja2 |
| Credential.user_id = Column(..., ForeignKey('credentials.id', ...) | |
| Credential.user = relationship('User') | |
| --- | |
| User.credentials = relationship('Credential', lazy='dynamic') | |
| --- | |
| >>> print user.credentials |
| # htmlfill | |
| with app.test_request_context('/'): | |
| html = render_template_string(''' | |
| {%- autoescape true -%} | |
| {%- form 'user.signin', {'method': 'POST'} | |
| with {'name': 'sohee', 'pretty': 'no'}, | |
| {'pretty': 'sohee is always pretty.'} -%} | |
| <input type="text" name="name" /> {{- '' -}} | |
| <input type="text" name="pretty" placeholder="yes" /> {{- '' -}} | |
| <div id="errors"> {{- '' -}} |