Skip to content

Instantly share code, notes, and snippets.

💭
trolling craigslist for free pallets

Chris Martin chris-martin

💭
trolling craigslist for free pallets
Block or report user

Report or block chris-martin

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
View gist:d94380055a76489a277c
# Read more at http://www.pindi.us/blog/migrating-cross-domain-cookies-django
from django.conf import settings
from importlib import import_module
class UpdateSessionCookieMiddleware(object):
"""
Migrates session data from an old (hardcoded) session cookie name and domain to the name and
domain currently defined in the Django settings.
View ummutable.scala
val a = ListBuffer(1, 2, 3)
val b = a.toIterable.asInstanceOf[List[Int]]
// List(1, 2, 3)
a.append(4, 5, 6)
b
// List(1, 2, 3, 4, 5, 6)
View scala_conversion.md

Scala Number Conversion Chart

From → To Expression
You can’t perform that action at this time.