Skip to content

Instantly share code, notes, and snippets.

Avatar

Hugo hugo-dc

View GitHub Profile
@ghoseb
ghoseb / ns-cheatsheet.clj
Last active Feb 11, 2021 — forked from alandipert/ns-cheatsheet.clj
Clojure ns syntax cheat-sheet
View ns-cheatsheet.clj
;;
;; 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.
View hello_soap_flask.py
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__)
@jasonrudolph
jasonrudolph / about.md
Last active Oct 27, 2020
Programming Achievements: How to Level Up as a Developer
View about.md
@yogsototh
yogsototh / about.md
Created Aug 9, 2011 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
View about.md
@catwell
catwell / about.md
Created Aug 9, 2011 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
View about.md
@blaix
blaix / about.md
Created Aug 9, 2011 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
View about.md

Programming Achievements: How to Level Up as a Developer

  1. Select a particular experience to pursue.
  2. Pursue that experience to completion. (Achievement unlocked!)
  3. Reflect on that experience. Really soak it in. Maybe a blog post would be in order?
  4. Return to Step 1, this time selecting a new experience.

This gist is a fork of the gist from this blog post.

@jyr
jyr / paths.py
Created Oct 5, 2011
Python path with eggs
View paths.py
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):
View google_text2speech.md

Google Text to Speech API

Base URL: http://translate.google.com/translate_tts
It converts written words into audio. It accepts GET requests.

GET

q
The query string to convert to audio

tl
Translation language, for example, ar for Arabic, or en-us for English

@qmacro
qmacro / ODataTable.html
Created Feb 13, 2012
SAPUI5 says "Hello OData" to NetWeaver Gateway
View ODataTable.html
<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"
@natyusha
natyusha / config.ini
Last active Feb 2, 2016
bug.n config
View config.ini
; 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