I hereby claim:
- I am gabrielem on github.
- I am g4nd4l7 (https://keybase.io/g4nd4l7) on keybase.
- I have a public key ASDrHzsnFZ07B7yxpRAlry0po-ipWYzh_k7IDfdHPX70Ago
To claim this, I am signing this object:
//add.test.js | |
test('two plus two is four', () => { | |
expect(2 + 2).toBe(4) | |
}) | |
//canary.test.js | |
describe('canary', function () { | |
it('can run a test', function () { | |
expect(true).toBe(true) | |
}) |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>My TODO List</title> | |
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> | |
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous"> | |
<style media="screen"> |
Truffle since release 2.0.8 delays the initialization of the global variable web3
after the load event, so this variable
is not available during angular bootstrap, inside a .config() section, inside providers and neither inside the controllers
initialized at load time and related injected services.
Accessing to the web3 variable inside a setTimeout() call could be a solution for simple projects but the only way to be sure that web3 is initialized is to postpone the angular bootstrap.
Looks at the code below:
<!DOCTYPE html> | |
<!--[if IE 8]><html class="ie8 no-js" lang="en"><![endif]--> | |
<!--[if IE 9]><html class="ie9 no-js" lang="en"><![endif]--> | |
<!--[if !IE]><!--> | |
<html lang="en" class="no-js"> | |
<!--<![endif]--> | |
<!-- start: HEAD --> | |
<head> | |
<title>Browse Projects paid for in bitcoin - Work for bitcoin doing Jobs & Projects</title> |
function flatten(arr) { | |
const flat = [].concat(...arr) | |
return flat.some(Array.isArray) ? flatten(flat) : flat; | |
} | |
/* | |
Usage: | |
*/ | |
flatten([[1,2,[3]],4]) | |
/* |
<?php | |
/** | |
* The file that defines the core plugin class | |
* | |
* A class definition that includes attributes and functions used across both the | |
* public-facing side of the site and the admin area. | |
* | |
* @link http://www.europadns.com/ | |
* @since 1.0.0 |
# Twig Configuration | |
twig: | |
debug: "%kernel.debug%" | |
strict_variables: "%kernel.debug%" | |
globals: | |
web_path: %web_path% | |
Globalizer: "@Globalizer" |
javascript:void((function(){var d=document;d.write('<!DOCTYPE html><html><head><meta charset="UTF-8"><title>'+d.title+' - Responsive test</title><link rel="stylesheet" href="http://responsive.victorcoulon.fr/assets/css/app.css"><script src="http://responsive.victorcoulon.fr/assets/js/app.min.js"></script></head><body><header><div class="close"><a href="#">%C3%97</a></div><div id="size"></div><div class="keyboard"><a href="#">I</a></div><div class="cssrefresh"><a href="#">I</a></div><div id="devices"><a href="#" class="tablet-portrait"><span>Tablet Portrait</span></a><a href="#" class="tablet-landscape"><span>Tablet Landscape</span></a><a href="#" class="smartphone-landscape"><span>iPhone Landscape</span></a><a href="#" class="smartphone-portrait"><span>iPhone Portrait</span></a><a href="#" class="auto active"><span>Auto</span></a></div></header><section><div id="wrapper"><iframe src="'+d.URL+'" onLoad="resbook.changeUrl(this.contentWindow.location,this.contentDocument.title);"></iframe><span class="keyboard-b |
<!DOCTYPE html> | |
<!-- | |
Copyright (c) 2012-2014 Adobe Systems Incorporated. All rights reserved. | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance |