Skip to content

Instantly share code, notes, and snippets.

View lcoenen's full-sized avatar

Loïc Coenen lcoenen

View GitHub Profile
ngOnInit(): void {
const histories$ = this.route.paramMap.pipe(
mergeMap(params => {
const classNames = params.get('class').split(',');
const methodNames = params.get('method').split(',');
const metricNames = params.get('metric').split(',');
const labelMetric = ([className, methodName, metricName]) => {
if (countBy(metricNames)[metricName] >= 2) {
if (countBy(methodNames)[methodName] >= 2) {
_20200122_0918')
gitcoin_web_1 exited with code 1
web_1 | Traceback (most recent call last):
web_1 | File "manage.py", line 59, in <module>
web_1 | execute_from_command_line(sys.argv)
web_1 | File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
web_1 | utility.execute()
web_1 | File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 375, in execute
web_1 | self.fetch_command(subcommand).run_from_argv(self.argv)
web_1 | File "/usr/local/lib/python3.6/dist-packages/django/core/management/base.py", line 323, in run_from_argv
0x16C47A5ea08dce0aA68754215d1e885AB476153E
it.only('should pass extend and remove from more-option component', () => {
spyOn(component.extend, 'emit');
const suppressed = generateMockSuppressed();
const moreOptions = fixture.debugElement.query(By.directive(DSAMoreOptionsComponent));
// moreOptions doens't return anything
moreOptions.triggerEventHandler('remove', {element: suppressed});
expect(suppressed.expect.emit).toHaveBeenCalledWith({element: suppressed});
let i = 0;
if(!args[1])
console.warn('Please give a sustainable breathing delay')
setInterval(() => {
i++
console.log(i % 2? 'Breate': 'Release')
}, process.args[1])
extern crate hyper;
extern crate serde;
use hyper::{Body, Request, Response};
use crate::hyper::rt::Stream;
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug)]
struct User {
name: String,
> planning-suite-monorepo@ start:dev /Users/loiccoenen/code/aragon/open-enterprise
> DEV=true apps/shared/test-helpers/ganache-cli.sh
Starting our own testrpc instance at port 8545
> planning-suite-monorepo@ frontend /Users/loiccoenen/code/aragon/open-enterprise
> lerna run frontend --stream --parallel
@tps/apps-dot-voting: > @tps/apps-dot-voting@0.0.1 frontend /Users/loiccoenen/code/aragon/open-enterprise/apps/dot-voting
loiccoenen@JCIs-MacBook-Pro ~/code/aragon/open-enterprise/apps [11:34:51]
> $ npm start ⬡ 10.16.0 [±dev ✓]
> planning-suite-monorepo@ start /Users/loiccoenen/code/aragon/open-enterprise
> npm run start:rpc
> planning-suite-monorepo@ start:rpc /Users/loiccoenen/code/aragon/open-enterprise
> lerna run --scope='@tps/kits-*' start:rpc --stream
@lcoenen
lcoenen / eth
Created September 16, 2019 16:11
0x2c3177E53104926fE32D85FCd113CFbd451d1f17
@lcoenen
lcoenen / Aspect log
Created September 5, 2019 17:32
As-pect
AS-pect⚡ Test suite runner [2.4.1]
[Log] Loading asc compiler
[Log] Compiler loaded in 430.424ms.
[Log] Using configuration /Users/lxx/xxx/server/as-pect.config.js
[Log] Using SummaryReporter
[Log] Including files: assembly/__tests__/**/*.spec.ts
[Log] Running tests that match: (:?)
[Log] Running groups that match: (:?)
[Log] Effective command line args: