Skip to content

Instantly share code, notes, and snippets.

View jorjun's full-sized avatar
🎯
Focusing

jorjun jorjun

🎯
Focusing
  • jorjun technical services
  • Edwinstowe, England
  • 04:19 (UTC +01:00)
  • X @jorjun
View GitHub Profile
@jorjun
jorjun / gist:5502931
Created May 2, 2013 15:18
Edit metadata <correct>
The Traceback
Traceback (most recent call last):
File /home/jorjun/BC/packages/ZAuth/src/bc.py, line 534, in run_module('/home/jorjun/BC/packages/ZAuth/src', 'normal', <cl_cgi_io.CgiInterface object at 0x7f07141488d0>)
interface_module.run(auth)
File /home/jorjun/BC/packages/ZAuth/src/cl_client_process.py, line 37, in run(<cl_cgi_io.CgiInterface object at 0x7f07141488d0>, <cl_auth_htpasswd.auth_htpasswd instance at 0x7f0712491c68>)
cl_request.run_module(self)
File /home/jorjun/BC/src/cl_request.py, line 2931, in run_module(<cl_cgi_io.CgiInterface object at 0x7f07141488d0>)
request.handle_rq(mod)
File /home/jorjun/BC/src/cl_request.py, line 1620, in handle_rq(<cl_request.Request instance at 0x14b4f80>, <cl_cgi_io.CgiInterface object at 0x7f07141488d0>)
response = self.handle_it()
@jorjun
jorjun / gist:4275621
Created December 13, 2012 10:39
Using Zwoptex to generate your CSS sprite sheets
.icon {
display:block;
background-image:url("SPRITE_SHEET.png");
background-repeat:no-repeat;
}
{% for sprite in spritesAndAliases %}
.sprt_{{ sprite.nameWithoutExtension }} {
   background-position: -{{ sprite.textureRectX }}px -{{ sprite.textureRectY }}px;
   height: {{ sprite.textureRectHeight }}px;