Angular app that is running without NgZone. Triggering change-detection happens like this:
merge(
fromEvent(document, 'click'),
fromEvent(document, 'mousemove'),
fromEvent(document, 'keydown'),
fromEvent(document, 'scroll'),
#tab1:checked ~ div .na-keuze #eindcijfer1, | |
#tab2:checked ~ div .na-keuze #eindcijfer1, | |
#tab2:checked ~ div .na-keuze #eindcijfer2, | |
#tab3:checked ~ div .na-keuze #eindcijfer1, | |
#tab3:checked ~ div .na-keuze #eindcijfer2, | |
#tab3:checked ~ div .na-keuze #eindcijfer3, | |
#tab4:checked ~ div .na-keuze #eindcijfer1, | |
#tab4:checked ~ div .na-keuze #eindcijfer2, | |
#tab4:checked ~ div .na-keuze #eindcijfer3, | |
#tab4:checked ~ div .na-keuze #eindcijfer4, |
This is a helper for CodeceptJS to check for emails sent to MailCatcher during a test.
mailcatcher.js
to your project that has CodeceptJS and make sure to add got
as npm dependency (or replace the usages of got
in this helper by your preferred http library).In your codecept.config.js
add something like this to your helpers
configuration:
angular.module("app.example", ["ui.router"]) | |
.config(function($stateProvider, $urlRouterProvider) { | |
$stateProvider.state("404", { | |
templateUrl: "errors/notfound.tpl.html", | |
data: { | |
authorizationRequired: false, | |
permissionsRequired: [], | |
bodyClass: "error" | |
} |
(function() { | |
var PasswordRandomizerDynamicValue, | |
charset = [ | |
"abcdefghijklmnopqrstuvwxyz", | |
"ABCDEFGHIJKLMNOPQRSTUVWXYZ", | |
"0123456789", | |
"!@#$%ˆ&*()-=_+{}[]|<>,.?/" | |
].join(''); | |
PasswordRandomizerDynamicValue = function() { |
I hereby claim:
To claim this, I am signing this object:
0 0 * * * sh script.sh 2>&1 | tee -a /var/log/script.`date +\%Y\%m\%d`.log |
Verifying that +schmkr is my Bitcoin username. You can send me #bitcoin here: https://onename.io/schmkr |
# NPM CheatSheet. | |
# Super easy intall: npm comes with node now. | |
# To create your own npm package: https://www.npmjs.org/doc/misc/npm-developers.html | |
# More: https://www.npmjs.org/doc/ | |
# 1. NPM Command Lines. | |
# Local mode is the default. | |
# Use --global or -g on any command to operate in global mode instead. |
// Highcharts CheatSheet Part 1. | |
// Create interactive charts easily for your web projects. | |
// Download: http://www.highcharts.com/download | |
// More: http://api.highcharts.com/highcharts | |
// 1. Installation. | |
// Highcharts requires two files to run, highcharts.js and either jQuery, MooTools or Prototype or the Highcharts Standalone Framework which are used for some common JavaScript tasks. | |
// <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
// <script src="http://code.highcharts.com/highcharts.js"></script> |