Install this globally. Yes, globally.
$ npm install -g scrape-html
Now create a local project somewhere:
<cfscript> | |
function deORM( obj, depth = 1, depthLimit = 10 ){ | |
var deWormed = {}; | |
if (depth >= depthLimit){ | |
return {}; | |
} | |
if (isSimpleValue( obj )){ | |
deWormed = obj; | |
} | |
else if (isObject( obj )){ |
module.exports = function(grunt){ | |
'use strict'; | |
grunt.initConfig({ | |
less: { | |
bundle: { | |
options: { | |
compress: true | |
,report: 'min' |
# https://hub.docker.com/r/linuxserver/foldingathome/ | |
up: .setup | |
docker start foldingathome | |
open: | |
open http://localhost:7396/ | |
down: | |
docker stop foldingathome |
The Working Code Podcast Discord is a place for Patrons of the Working Code Podcast to chat about the podcast and anything else they want (within the reasonable limits outlined here).
The current admins are:
Notes from this video by Jack Conte, CEO of Patreon (and member of band Pomplamoose, which I mention only because it's relevant to the video.)
// Menu: Run the Tutorial | |
// Description: Learn the basics of using Script Kit | |
// Author: John Lindquist | |
// Twitter: @johnlindquist | |
await cli( | |
"new", | |
"--template", | |
"tutorial", | |
"--message", |
// test/unit/services/SecurityFilterService | |
describe("Tests for SecurityFilterService", () => { | |
describe("Tests for isAuthorised", () => { | |
it("will reject a user that is not authorised to access the resource", () => { | |
service = new SecurityFilterSerivce() // might need mocked dependencies | |
result = service.isAuthorised("juniorUser", "/email/approve-copy", "patch") | |
expect result.toBeFalse() | |
}) |