test
test
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
clone this git repo: https://github.com/fs-webdev/asset-manager | |
run "make" | |
copy the file into your .node_libraries folder | |
make sure you name it “asset-manager.js" | |
make sure to pre-install | |
“async.js” https://github.com/caolan/async * + dependencies | |
“glob.js” https://github.com/isaacs/node-glob * + dependencies | |
“rimraf.js” https://github.com/isaacs/rimraf * + dependencies | |
“uglify-js.js” https://github.com/mishoo/UglifyJS2 * + dependencies | |
“less.js” https://github.com/less/less.js * + dependencies |
Thanks for signing up for Organizations? Did you know we have specific documentation just for you? Check it out here[]!
Not clear on the defaults Organizations give you? Check out this doc page[] on getting set up!
Role permissions got you confused? Get to know the specfic of Super Admins, Team Admins, and Team Members here[]!
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
{ | |
"name": "my-pkg", | |
"version": "1.0.0", | |
"scripts": { | |
"lint": "jshint" | |
}, | |
"devDependencies": { | |
"jshint": "^2.9.1" | |
} | |
} |
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
# Meeting Notes | |
> Tuesday, November 17th at 16:00 UTC (08:00 PST, 11:00 EST, 17:00 CET, 21:30 IST) | |
## Proposed Agenda: | |
- Scope/mission of the WG | |
- The submission process for joining the WG | |
- Balancing privacy and transparency in public/private communication systems | |
- Moderation policies and enforcement | |
- Schedule and Assignment of Deliverables (when due, reviewed, submitted, and by who, to whom) |
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
INSERT INTO clients VALUES | |
('test', 'test', '["password", "authorization_code"]'::jsonb, '["code", "token"]'::JSONB, 'http://localhost:3500/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
SELECT * FROM projects INNER JOIN pages ON pages.project_id = projects | |
s INNER JOIN count(elements) AS element_count ON elements.page_id = pages.id WHERE element_count > 5; |
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
Ashleys-MacBook-Pro:api.webmaker.org ag_dubs$ knex migrate:latest | |
Using environment: development | |
[ { sql: 'select * from information_schema.tables where table_name = ?', | |
bindings: [ 'migrations' ], | |
output: [Function: output] } ] | |
[ { sql: 'create table "migrations" ("id" serial primary key, "name" varchar(255), "batch" integer, "migration_time" timestamptz)', | |
bindings: [] } ] | |
{ method: 'select', | |
options: {}, | |
bindings: [], |
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
'use strict'; | |
exports.up = function(knex, Promise) { | |
return knex.transaction(function(trx) { | |
return knex('users').transacting(trx) | |
.update('language', knex.raw("concat(users.language, '-', user.country)")) | |
.then(function() { | |
return knex.transacting(trx).raw('ALTER TABLE "users" ALTER COLUMN "language" SET DEFAULT \'en-US\''); | |
}) | |
.then(trx.commit); |