This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
RouterJS - A framework-independent BrowserJS routing and m[vc] lib | |
Dependencies: RequreJS for loading, Handlebars for templates, jQuery for ajax and selectors | |
Part of Plee.co Frontend | |
(c) 2012 PlasticPanda.com | |
~ relying solely on what’s been done in the past |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
PandaSelect - replaces HTML selects | |
Dependencies: RequreJS for loading, jQuery for selectors | |
Part of Plee.co Frontend | |
(c) 2012 PlasticPanda.com | |
~ relying solely on what’s been done in the past |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PlasticPanda.com - Date Picker | |
## cofigurable parameters | |
cssPrefix = 'pandapicker-' | |
template_html = """ | |
<table role="datepicker"> | |
<thead> | |
<tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//- A general purpose not-so-random string generator | |
//- This file is in public domain | |
//- by Simone Lusenti - PlasticPanda.com, 2012 | |
doctype 5 | |
html | |
head | |
meta(charset='utf-8') | |
meta(name='Content-Type', value='text/html') | |
title Random pass generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
routes = [ | |
['/profile/', 'my_profile'] | |
['/login/', 'login'] | |
['/logout/', ['User', 'logout']] | |
['/upload/', 'show_upload'] | |
['/docs/', 'my_docs'] | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define ['router', 'text!templates/document.html'], (routerjs, template_doc) -> | |
class Document extends routerjs.SyncModel | |
url: '/document/' # API end point | |
template: template_doc # HTML Template to render when fetching data with @get | |
Document.mine = (callback) -> | |
@req 'mine/', 'GET', {}, callback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -~- coding: utf-8 -~- | |
## not working write | |
import serial | |
import sys | |
import StringIO | |
def fp81_write(s, payload): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//..... | |
min: { // for production | |
vendor: { | |
src: ['public/js/vendor/*.js'], | |
dest: 'public_build/js/vendor.js', | |
separator: ';' | |
}, | |
app: { | |
src: ['public/js/*.js'], | |
destDir: 'public_build/js/', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global Storage:false */ | |
/*jshint eqnull:true */ | |
/* | |
* Extends Storage object to support storing JSON-encoded objects. | |
* (c) 2012 PlasticPanda.com | |
* License: MIT | |
*/ | |
(function (Storage) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add this line: | |
[receive] | |
denyCurrentBranch = warn |
OlderNewer