Skip to content

Instantly share code, notes, and snippets.

@soroushhakami
soroushhakami / gist:3341144
Created August 13, 2012 14:17
package.json
{
"name": "parking",
"subdomain": "parking",
"domains": [
"parkeringsplatsen.nu",
"www.parkeringsplatsen.nu",
"pplats.nu",
"www.pplats.nu"
],
"scripts": {
C:\projects\parking\Webapp>jitsu deploy
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in server.js
warn: Local version appears to be old.
warn: Your package.json version will be incremented for you automatically.
warn: About to write C:\projects\parking\Webapp\package.json
data:
data: {
jitsu deploy
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in server.js
warn: Local version appears to be old.
warn: Your package.json version will be incremented for you automatically.
warn: About to write C:\projects\parking\Webapp\package.json
data:
data: {
@soroushhakami
soroushhakami / django-cms-error
Created March 22, 2012 11:37
Django-cms 500-exception
ValueError at /admin/cms/page/2/edit-plugin/7/cms_page_media/2/parking_mockup.png/
invalid literal for int() with base 10: '2/edit-plugin/7/cms_page_media/2/parking_mockup.png'
Request Method: GET
Request URL: http://localhost:8000/admin/cms/page/2/edit-plugin/7/cms_page_media/2/parking_mockup.png/
Django Version: 1.3.1
Exception Type: ValueError
Exception Value:
invalid literal for int() with base 10: '2/edit-plugin/7/cms_page_media/2/parking_mockup.png'
Exception Location: C:\Python27\lib\site-packages\django\db\models\fields\__init__.py in get_prep_value, line 479
Python Executable: C:\Python27\python.exe