This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
;; | |
;; NS CHEATSHEET | |
;; | |
;; * :require makes functions available with a namespace prefix | |
;; and optionally can refer functions to the current ns. | |
;; | |
;; * :import refers Java classes to the current namespace. | |
;; | |
;; * :refer-clojure affects availability of built-in (clojure.core) | |
;; functions. |
import soaplib | |
from soaplib.core.service import rpc, soap, DefinitionBase | |
from soaplib.core.model.primitive import String, Integer | |
from soaplib.core.server import wsgi | |
from soaplib.core.model.clazz import Array | |
from flask import Flask | |
flask_app = Flask(__name__) |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
Conventions for this fork:
This gist is a fork of the gist from this blog post.
import sys | |
import os | |
site_packages = "/Your/path/to/site-packages/" | |
sys.path.insert(0, site_packages) | |
def python_path_eggs(): | |
paths = [] | |
for egg in os.listdir(site_packages): |
Base URL: http://translate.google.com/translate_tts
It converts written words into audio. It accepts GET
requests.
q
The query string to convert to audio
tl
Translation language, for example, ar
for Arabic, or en-us
for English
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<title>SAP OData in SAPUI5 Data Table Control</title> | |
<!-- Load SAPUI5, select theme and control library --> | |
<script id="sap-ui-bootstrap" | |
type="text/javascript" | |
src="http://gateway.server:port/sapui5/sapui5-static/resources/sap-ui-core.js" | |
data-sap-ui-theme="sap_platinum" |
; bug.n - tiling window management | |
; @version 9.0.0 | |
;;Status bar | |
Config_showBar=1 | |
Config_horizontalBarPos=left | |
Config_verticalBarPos=top | |
Config_barWidth=100% | |
Config_singleRowBar=1 | |
Config_spaciousBar=0 |