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'),
angular.module("app.example", ["ui.router"]) | |
.config(function($stateProvider, $urlRouterProvider) { | |
$stateProvider.state("404", { | |
templateUrl: "errors/notfound.tpl.html", | |
data: { | |
authorizationRequired: false, | |
permissionsRequired: [], | |
bodyClass: "error" | |
} |
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:
#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, |
I hereby claim:
To claim this, I am signing this object:
<?php | |
trait PrivateMethodCallerTrait { | |
protected function callPrivateMethod($object, $methodName, $args = array()) { | |
$fn = function($methodName, $args) { | |
return call_user_func_array(array($this, $methodName), $args); | |
}; | |
$privateAccessor = $fn->bindTo($object,$object); |
#!/usr/bin/env php | |
<?php | |
# create a filename for this email | |
list($ms, $time) = explode(' ', microtime()); | |
$filename = '/tmp/'.date('Y-m-d h.i.s,', $time).substr($ms,2,3).'.txt'; | |
# write the email contents to the file | |
$email_contents = fopen('php://stdin', 'r'); | |
$fstat = fstat($email_contents); |
cut -f1 -d" " ~/.bash_history | sort | uniq -c | sort -nr | head -n 10 |
(function() { | |
var PasswordRandomizerDynamicValue, | |
charset = [ | |
"abcdefghijklmnopqrstuvwxyz", | |
"ABCDEFGHIJKLMNOPQRSTUVWXYZ", | |
"0123456789", | |
"!@#$%ˆ&*()-=_+{}[]|<>,.?/" | |
].join(''); | |
PasswordRandomizerDynamicValue = function() { |