A task represents something to do. The task's service can CRUD tasks. Tasks can belong to other tasks and a single owner. Tasks have a belongs to and has many relationship with assignees.
Creates a task in the database.
| # Pattern | |
| # <docker-machine name>=<host name>,<host name>,... | |
| registry=docker-registry |
| The MIT License (MIT) | |
| Copyright (c) 2015 Justin Perry | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this software and associated documentation files (the "Software"), to deal in | |
| the Software without restriction, including without limitation the rights to | |
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
| the Software, and to permit persons to whom the Software is furnished to do so, | |
| subject to the following conditions: |
| console.log("Usage Syntax: scanScope(objectToScan, 'scanFor', ['whatToIgnore']); %c(whatToIgnore is optional and can be a string, or an array of strings) (scanScope can be shortened to ss)", 'color: red'); | |
| var abortAtLevel = 20, | |
| callStack = 0, | |
| errArray = [], | |
| funArray = [], | |
| scanLoop = function (whatToScan, scanValue, whatToIgnore, parentTree) { | |
| scanValue = scanValue.toLowerCase(); | |
| if (Array.isArray(whatToIgnore)) { | |
| whatToIgnore.forEach(function (ignoreVal) { | |
| ignoreVal = lowerCase(ignoreVal); |
| define([ | |
| 'backbone', | |
| 'application', | |
| 'apps/my-app-mod/layout/my-app-mod-layout', | |
| 'apps/my-app-mod/my-app-mod-list', | |
| 'apps/my-app-mod/item/message-view', | |
| 'apps/my-app-mod/my-app-mod' | |
| ], function(Backbone, app, MyAppModLayout, MyAppModListController, MessageView, AppRouter) { | |
| 'use strict'; |
Client-side models are becoming more common. Most work with JSON-REST interfaces by default. However, there is no standards around manipulating the set of data returned by a rest service. This attempts to come to some standard.
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| # store all solarized files in one place | |
| mkdir ~/.solarized | |
| cd ~/.solarized | |
| # http://www.webupd8.org/2011/04/solarized-must-have-color-paletter-for.html | |
| git clone https://github.com/seebi/dircolors-solarized.git | |
| eval `dircolors ~/.solarized/dircolors-solarized/dircolors.256dark` | |
| ln -s ~/.solarized/dircolors-solarized/dircolors.256dark ~/.dir_colors | |
| git clone https://github.com/sigurdga/gnome-terminal-colors-solarized.git |
| var net = require('net') | |
| var sock = net.connect(1337) | |
| process.stdin.pipe(sock) | |
| sock.pipe(process.stdout) | |
| sock.on('connect', function () { | |
| process.stdin.resume(); | |
| process.stdin.setRawMode(true) |