Skip to content

Instantly share code, notes, and snippets.

View Jensderond's full-sized avatar

Jens de Rond Jensderond

  • Redkiwi
  • The Netherlands
View GitHub Profile

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:

@Jensderond
Jensderond / javascript.json
Created October 4, 2019 06:02 — forked from dceddia/javascript.json
VSCode Snippets for React
{
"Insert a function": {
"prefix": "f",
"body": [
"function $1($2) {\n $0\n}\n"
],
"description": "Insert a function"
},
"const arrow": {
"prefix": "c>",
@Jensderond
Jensderond / animated-chevron-left.tsx
Last active March 2, 2021 16:27
React Animated Chevron to Close icon using Framer motion
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 / ffmpeg_commands.txt
Created February 9, 2022 15:05 — forked from noln/ffmpeg_commands.txt
Handy FFMPEG Commands for Quickly Processing GoPro Videos
1) Concatenate a list of videos into one
ffmpeg -f concat -safe 0 -i tojoin.txt -c copy output.mp4
// Format of tojoin.txt:
file 'file0.MP4'
file 'file1.MP4'
file 'etc..
2) Scale down 4k video to
@Jensderond
Jensderond / Makefile
Created July 15, 2020 10:48
Clean up old certificates Traefik - Tested with Traefik 2.2.x
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;