Skip to content

Instantly share code, notes, and snippets.

Avatar

Jens de Rond Jensderond

  • Redkiwi
  • The Netherlands
View GitHub Profile
@Jensderond
Jensderond / animated-chevron-left.tsx
Last active Mar 2, 2021
React Animated Chevron to Close icon using Framer motion
View animated-chevron-left.tsx
function AnimatedChevronLeft(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
fill="none"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="1em"
height="1em"
{...props}
>
@Jensderond
Jensderond / Makefile
Created Jul 15, 2020
Clean up old certificates Traefik - Tested with Traefik 2.2.x
View Makefile
acmefile = acme.json
traefik_dashboard = <TRAEFIK_DASHBOARD_URL>
auth_user = <USERNAME>
auth_password = <PASSWORD>
.SILENT: clean
.PHONY: clean
clean:
curl -s "https://$(auth_user):$(auth_password)@$(traefik_dashboard)/api/http/routers" | jq -r ".[]" | jq ".rule" | sed "s/\"Host(\`//g;s/\`)\"//g" | uniq > existing_frontends;
cat $(acmefile) | jq ".default.Certificates[].domain.main" | sort | uniq | sed "s/\"//g" > existing_certs;
@Jensderond
Jensderond / javascript.json
Created Oct 4, 2019 — forked from dceddia/javascript.json
VSCode Snippets for React
View javascript.json
{
"Insert a function": {
"prefix": "f",
"body": [
"function $1($2) {\n $0\n}\n"
],
"description": "Insert a function"
},
"const arrow": {
"prefix": "c>",
View keybase.md

Keybase proof

I hereby claim:

  • I am jensderond on github.
  • I am jensderond (https://keybase.io/jensderond) on keybase.
  • I have a public key whose fingerprint is A680 CFDB D545 2E06 3786 77B0 79A5 87AD 61E9 F8E1

To claim this, I am signing this object: