Skip to content

Instantly share code, notes, and snippets.

Paul Maček macek

Block or report user

Report or block macek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@macek
macek / myFirst.py
Created May 19, 2010
My First Python
View myFirst.py
def buildConnectionString(params):
"""Build a connection string from a dictionary of parameters
Returns string."""
return ";".join(["%s=%s" % (k, v) for k, v in params.items()])
myParams = {
"server": "mpilgrim",
"database": "master",
"uid": "sa",
View comma-first-var.js
// See comments below.
// This code sample and justification brought to you by
// Isaac Z. Schlueter, aka isaacs
// standard style
var a = "ape",
b = "bat",
c = "cat",
d = "dog",
You can’t perform that action at this time.