CodeDump
Add
Browse
Sign up
Sign in
Select language
ActionScript
Ajax
Android
AngularJS
Apache Configuration
AppleScript
ASP.NET (C#)
AutoHotkey
Bash
Brainfuck
C
C#
C++
CoffeeScript
CSS
CSS Extras
Dart
Eiffel
Erlang
F#
Fortran
Gherkin
Git
Go
Groovy
Haml
Handlebars
Haskell
HTML
HTTP
Ini
iOS
Jade
Java
Javascript
jQuery
JSON
Julia
Keyman
LaTeX
Linux
Less
LOLCODE
Makefile
Markdown
MATLAB
MySQL
NASM
Node.js
NSIS
Objective-C
Pascal
Perl
PHP
PHP Extras
PowerShell
Python
R
React JSX
reST (reStructuredText)
Rip
Ruby
Rust
SAS
Sass (Sass)
Sass (Scss)
Scala
Scheme
Smalltalk
Smarty
SQL
Stylus
Swift
Twig
TypeScript
Vb.net
VHDL
Wiki markup
YAML
Other
Search
You're not signedin! You can't edit or track the code you're going to add. If you want to maintain and track your code, you need to
signin
or
signup
.
We improved our code engine! From now on you can add more then just one peace of code! Use the "
Add more code
" button to add more code".
Add Codedump
Description (Markdown supported)
file to download
Title or filename
Language
Choose language
ActionScript
Ajax
Android
AngularJS
Apache Configuration
AppleScript
ASP.NET (C#)
AutoHotkey
Bash
Brainfuck
C
C#
C++
CoffeeScript
CSS
CSS Extras
Dart
Eiffel
Erlang
F#
Fortran
Gherkin
Git
Go
Groovy
Haml
Handlebars
Haskell
HTML
HTTP
Ini
iOS
Jade
Java
Javascript
jQuery
JSON
Julia
Keyman
LaTeX
Linux
Less
LOLCODE
Makefile
Markdown
MATLAB
MySQL
NASM
Node.js
NSIS
Objective-C
Pascal
Perl
PHP
PHP Extras
PowerShell
Python
R
React JSX
reST (reStructuredText)
Rip
Ruby
Rust
SAS
Sass (Sass)
Sass (Scss)
Scala
Scheme
Smalltalk
Smarty
SQL
Stylus
Swift
Twig
TypeScript
Vb.net
VHDL
Wiki markup
YAML
Other
Code
//jquery Template.info.onRendered(function(){ $('select').material_select(); }); // var type; // Template.home.helpers({ worker: function(){ return workerList.find({}, {sort: {createdAt: -1}}).fetch(); }, manager: function(){ return Meteor.users.find({}, {sort: {createdAt: -1}}).fetch(); }, yourTasks: function(currentManager){//specific tasks belonging to that manager return taskList.find({ assign: currentManager }, {sort: {createdAt: -1}}).fetch(); }, plusOne(idx) {//makes the ranking start at 1 instead of 0 return idx + 1; }, statusColor(status) { if(status == "Open"){ return "red"; }else if(status == "Scheduled"){ return "blue"; }else if(status == "Completed"){ return "green"; }else{//cancelled return "grey"; } }, icon(jobtype) { if(jobtype!=null) type = jobtype; if(type == "Temporary Cleaning"){ return {color: "red", image: "build"}; }else if(type == "Suite Turnover Cleaning"){ return {color: "blue", image: "delete_sweep"}; }else if(type == "General Labour"){ return {color: "green", image: "format_paint"}; }else if(type == "Temporary Labour"){ return {color: "grey", image: "format_paint"}; }else if(type == "Junk Removal"){ return {color: "yellow", image: "format_paint"}; }else if(type == "Apartment Trashing"){ return {color: "green", image: "format_paint"}; }else if(type == "Carpet Cleaning"){ return {color: "green", image: "format_paint"}; }else{ } } }); Template.home.events({ 'click #new': function(){ Router.go('/'); } });
Access
Everyone
Just me
Create