Exmaple on how to get proxyquire working with typescript
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
<html> | |
<body> | |
//Note the value attribute rather than ng-model | |
<spin value="someScopeValue" min="1" max="{{someOtherScopeValue}}" step="2" /> | |
$scope.someScopeValue = 2; | |
$scope.someOtherScopeValue = 20; | |
</body> |
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
# <type>(<scope>): (If applied, this commit will) <subject> | |
# feat(login): add password enforcement rules | |
# |<---- Try To Limit Each Line to a Maximum Of 100 Characters ---->| | |
# <body> | |
# |<---- Try To Limit Each Line to a Maximum Of 100 Characters ---->| | |
# <footer> |
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
{"lastUpload":"2020-11-25T12:04:54.687Z","extensionVersion":"v3.4.3"} |
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
# PLACE THIS FILE IN ~/.verdaccio/conf/config.yaml | |
# | |
# This is the config file used for the docker images. | |
# It allows all users to do anything, so don't use it on production systems. | |
# | |
# Do not configure host and port under `listen` in this file | |
# as it will be ignored when using docker. | |
# see https://verdaccio.org/docs/en/docker#docker-and-custom-port-configuration |
Local npm registry that caches all calls to npm.
Comes with a built in UI, once its finished syncing you should see the results.
https://github.com/local-npm/local-npm
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
const path = require('path'); | |
const fs = require('fs'); | |
const { exec } = require('child_process'); | |
let command = 'convert '; | |
const images = fs.readdirSync(path.resolve(__dirname, 'images')).filter(i => i.includes('jpg') || i.includes('jpeg')).map(i=> `images/${i}`) | |
command += images.map(i => { | |
const label = i.split('/')[1] | |
return `\\( -page +0+0 -label "${label}" ${i} -background none -mosaic -set colorspace RGB \\) ` |
NewerOlder