profile
viewpoint
Christophe Benz cbenz https://jailbreak.paris/ Paris, France Co-founder / software developer at Jailbreak. Ex Etalab, Easter-eggs

amccollum/microtron 26

Microformat Parser/Transformer

cbenz/ccomptes-affected-taxes 3

Affected taxes of french "cour des comptes"

cbenz/elm-leaflet-maps 3

Using Leaflet Maps in Elm by way of Polymer

cbenz/git-deploy 2

Deploy git repositories to multiple targets.

brunetton/aum_google_chrome_extension 1

AUM extension for google chrome (Makes possible to open profiles in tabs on www.adopteunmec.com (adoptes un mec))

cbenz/dokuwiki_picasa_webalbum 1

Dokuwiki plugin for PWI (Picasa Webalbum Integration)

cbenz/elm-openfisca 1

Experimentation of a rewrite of OpenFisca-Core in Elm.

adrienpacifico/openfisca-france 0

French specific module for OpenFisca

benjello/openfisca-france-indirect-taxation 0

French indirect taxation module for OpenFisca

create barnchcbenz/s3fs

branch : afd-toutafrique

created branch time in 6 hours

PR opened PyFilesystem/s3fs

Handle region in opener

In order to support S3 providers such as Scaleway it's mandatory to define a custom region.

While it's possible to build a S3FS instance with region= kwarg, by stopping using the open_fs(url) opener we don't leverage the generic side of pyfilesystem anymore.

+1 -0

0 comment

1 changed file

pr created time in 8 hours

create barnchcbenz/s3fs

branch : handle-region-in-opener

created branch time in 8 hours

fork cbenz/s3fs

Amazon S3 filesystem for PyFilesystem2

http://fs-s3fs.readthedocs.io/en/latest/

fork in 8 hours

startedweibeld/k1s

started time in a day

startedgrafana/loki

started time in 8 days

startedmkimuram/k8sviz

started time in a month

startedderailed/k9s

started time in a month

starteddievardump/yasp-modals

started time in a month

PR opened dievardump/yasp-modals

Avoid using non-standard `originalTarget`

As event.originalTarget is non-standard (cf MDN) I think it's better to use event.target here.

With Chrome I get e.originalTarget === undefined.

+1 -1

0 comment

1 changed file

pr created time in a month

push eventcbenz/yasp-modals

Christophe Benz

commit sha bc663bc411c08cf6fde204fc291bd9f635b8c068

Avoid using non-standard `originalTarget` As `event.originalTarget` is non-standard (cf [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Event/originalTarget)) I think it's better to use `event.target` here. With Chrome I get `e.originalTarget === undefined`.

view details

push time in a month

fork cbenz/yasp-modals

A simple Modal system for Svelte3

fork in a month

startedrefactoringui/heroicons

started time in a month

startedsarioglu/svelte-tailwindcss-template

started time in a month

startedkickscondor/fraidycat

started time in a month

startedbikeshaving/crank

started time in a month

startedmarcelowa/promise-all-properties

started time in a month

startedaws/aws-cli

started time in a month

startedmhkeller/layercake

started time in a month

startedArdenIvanov/svelte-intellisense

started time in a month

startedaf/envalid

started time in a month

issue closedAndarist/rollup-plugin-dotenv

Error when no .env file

When I use this Rollup plugin with no .env file I get this error in Rollup output:

TypeError: functionValues[match[1]] is not a function

PS: this issue has been talked about here: https://github.com/ionic-team/stencil/issues/2173

closed time in a month

cbenz

issue commentAndarist/rollup-plugin-dotenv

Error when no .env file

OK cool! That explains why the new test project did not have the bug: it installed v0.3.

I confirm that the bug is fixed with v0.3, thanks!

cbenz

comment created time in a month

PR opened sveltech/routify-site-2020

Fix invalid Svelte syntax

It seems that the following syntax is invalid with Svelte:

$: { slug } = $params

We must do:

$: slug = $params.slug

That's what is done in routify-example-tvshow on codesandbox (it's done on scoped instead of $params but that's the same idea): https://codesandbox.io/s/github/sveltech/routify-example-tvshow/tree/6-navigation?file=/src/pages/shows/%5Bid%5D/index.svelte

+1 -1

0 comment

1 changed file

pr created time in a month

push eventcbenz/routify-site-2020

Christophe Benz

commit sha 419addeaa5d3f70407d1eb584b64798ea9dde0cb

Fix invalid Svelte syntax It seems that the following syntax is invalid with Svelte: ```svelte $: { slug } = $params ``` We must do: ```svelte $: slug = $params.slug ``` That's what is done in routify-example-tvshow on codesandbox (it's done on `scoped` instead of `$params` but that's the same idea): https://codesandbox.io/s/github/sveltech/routify-example-tvshow/tree/6-navigation?file=/src/pages/shows/%5Bid%5D/index.svelte

view details

push time in a month

push eventcbenz/routify-site-2020

Christophe Benz

commit sha 63dec99c83e712d9825c0d6c6ae8cbcc93b06c57

Update parameters.svelte It seems that the following syntax is invalid with Svelte: ```svelte $: { slug } = $params ``` We must do: ```svelte $: slug = $params.slug ``` That's what is done in routify-example-tvshow on codesandbox (it's done on `scoped` instead of `$params` but that's the same idea): https://codesandbox.io/s/github/sveltech/routify-example-tvshow/tree/6-navigation?file=/src/pages/shows/%5Bid%5D/index.svelte

view details

push time in a month

push eventcbenz/routify-site-2020

Christophe Benz

commit sha 1cdd14793c0de7f5f4d4ddc4c41c2d3cb3ea7eb9

Fix invalid Svelte syntax It seems that the following syntax is invalid with Svelte: ```svelte $: { slug } = $params ``` We must do: ```svelte $: show = scoped.show ``` That's what is done in routify-example-tvshow on codesandbox: https://codesandbox.io/s/github/sveltech/routify-example-tvshow/tree/6-navigation?file=/src/pages/shows/%5Bid%5D/index.svelte

view details

push time in a month

push eventcbenz/routify-site-2020

Christophe Benz

commit sha d9a1310776f6349013026a5fe615afdeab271c44

Fix option name

view details

push time in a month

PR opened sveltech/routify-site-2020

Fix option name
+1 -1

0 comment

1 changed file

pr created time in a month

push eventcbenz/routify-site-2020

Christophe Benz

commit sha 4c3578183ee852e2456598c1860e79f4ac8b2a73

Fix option name

view details

push time in a month

fork cbenz/routify-site-2020

The documentation website for Routify, a file-based Router for Svelte

http://routify.dev

fork in a month

startedsveltech/routify

started time in a month

issue commentAndarist/rollup-plugin-dotenv

Error when no .env file

Thanks for your quick reply. Well, I've tried to do a minimal repo but did not achieve to. I've got a repo with a small frontend application here that shows the problem, but I feel sorry not being able to reduce it to a minimal proof of concept, so I now have a doubt that the issue comes from rollup-plugin-dotenv.

Anyway here are the steps to reproduce:

git clone https://gitlab.com/francilin/francilin-carto.git
cd francilin-carto
npm install
npm run build:app

Note that there is a .env.example that should be copied to .env, but let's not do it to show the problem.

The output is:

> francilin-carto@0.0.1 build:app /home/cbenz/Dev/francilin/francilin-carto
> rollup -c

src/main.js → public/build/bundle.js...
[!] (plugin dotenv) TypeError: functionValues[match[1]] is not a function
src/main.js
TypeError: functionValues[match[1]] is not a function
    at Object.transform (/home/cbenz/Dev/francilin/francilin-carto/node_modules/rollup-plugin-replace/dist/rollup-plugin-replace.cjs.js:75:50)
    at /home/cbenz/Dev/francilin/francilin-carto/node_modules/rollup/dist/shared/node-entry.js:13117:25

I tried to do ndb npm run build:app but it did not help me to dive into the stack trace.

Feel free to close the issue if you think it's related to my setup rather than rollup-plugin-dotenv.

cbenz

comment created time in a month

startedtimhall/sapper-spa

started time in a month

issue openedAndarist/rollup-plugin-dotenv

Error when no .env file

When I use this Rollup plugin with no .env file I get this error in Rollup output:

TypeError: functionValues[match[1]] is not a function

PS: this issue has been talked about here: https://github.com/ionic-team/stencil/issues/2173

created time in a month

startedyou-dont-need/You-Dont-Need-Lodash-Underscore

started time in 2 months

startedsveltejs/language-tools

started time in 2 months

startedkaisermann/svelte-preprocess

started time in 2 months

startedimmerjs/immer

started time in 2 months

startedbustle/mobiledoc-kit

started time in 2 months

startedcodex-team/editor.js

started time in 2 months

issue commentsveltejs/svelte

Click outside event?

I prefer this implementation which uses a Svelte action (<div use:clickOutside={handleClickEvent}>) because it does not require adding an extra <div>.

https://github.com/rster2002/svelte-outside-click

There is also this REPL example: https://svelte.dev/repl/0ace7a508bd843b798ae599940a91783?version=3.16.7 (I can't find the original author).

lcswillems

comment created time in 2 months

startedrster2002/svelte-outside-click

started time in 2 months

startedboltpkg/bolt

started time in 3 months

more