Skip to content

Instantly share code, notes, and snippets.

🏐
Focusing

Operations Research Engineering Software+ ORESoftware

🏐
Focusing
Block or report user

Report or block ORESoftware

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ORESoftware
ORESoftware / jobs.js
Created Sep 29, 2015
db model routes
View jobs.js
/**
* Created by amills001c on 6/15/15.
*/
//logging
//config
var config = require('univ-config')('*SC-Admin*', 'config/conf');
View getAll.js
/**
* Created by amills001c on 8/18/15.
*/
function getAll(Model, modelName, filterObject, req, res, next, cb) {
if (!Model) {
Model = req.site.models[modelName];
@ORESoftware
ORESoftware / file.rb
Created Sep 30, 2015
Android created Gist
View file.rb
Hot-reloading in 2015:” @the1mills https://medium.com/@the1mills/hot-reloading-with-react-requirejs-7b2aa6cb06e1
View cloudinary-attempts.js
/*
Error that I get for both these attempts:
"Missing required parameter - file"
the image is in a base64 string format...
*/
View test-file-1.js
var viking = require('viking'); //we have published viking on NPM and then installed it in the local project with the --save option
viking.start();
@ORESoftware
ORESoftware / test-file-2.js
Last active Sep 18, 2019
Viking vs Tudor part II
View test-file-2.js
// windows version
const Viking = require('C:\\Users\\denman\\WebstormProjects\\viking'); //we have published viking on NPM and then installed it in the local project with the --save option
new Viking().start();
// *nix version
const Viking = require('/Users/denman/WebstormProjects/viking'); //we simply point to the root of the local project, which will find the package.json file which in turn points to your index.js file
new Viking().start();
@ORESoftware
ORESoftware / test-file-1.js
Created Jan 4, 2016
Viking vs Tudor part I
View test-file-1.js
var viking = require('viking'); //we have published viking on NPM and then installed it in the local project with the --save option
viking.start();
@ORESoftware
ORESoftware / serial-example.js
Last active Feb 13, 2016
Suman using serial execution
View serial-example.js
const assert = require('assert');
const suman = require('suman');
/////////////////////////////////////////////////////
var Test = suman.init(module);
/////////////////////////////////////////////////////
function promiseTimeout(t) {
@ORESoftware
ORESoftware / parallel-example.js
Last active Feb 13, 2016
Suman parallel example
View parallel-example.js
const assert = require('assert');
const suman = require('suman');
/////////////////////////////////////////////////////
var Test = suman.init(module);
/////////////////////////////////////////////////////
function promiseTimeout(t) {
View simple-example-A.js
const assert = require('assert');
const suman = require('suman');
var Test = suman.init(module);
Test.describe('SimpleExampleA', function () {
var config = null;
You can’t perform that action at this time.