Skip to content

Instantly share code, notes, and snippets.

View rdwz's full-sized avatar
❇️
Shaping the Future

Marc rdwz

❇️
Shaping the Future
View GitHub Profile
#EXTM3U
#EXTINF:-1,3sat
https://zdf0910-lh.akamaihd.net/i/dach10_v1@392872/master.m3u8
#EXTINF:-1,ARD alpha
https://brlive-lh.akamaihd.net/i/bralpha_germany@119899/master.m3u8
#EXTINF:-1,Arte DE
https://artelive-lh.akamaihd.net/i/artelive_de@393591/master.m3u8
#EXTINF:-1,Arte FR
https://artelive-lh.akamaihd.net/i/artelive_fr@344805/master.m3u8
#EXTINF:-1,Das Erste (ARD)
@rdwz
rdwz / install-bitwarden.sh
Created April 11, 2021 19:58
Installs Bitwarden - Passwort Manager
# https://vault.bitwarden.com/download/?app=cli&platform=linux
# cp ~/.local/bin
# bash chmod +x </path/to/executable>

📃 HTML

💈 CSS

🤖 JavaScript

♿️ accessibility

🔒 security

🏇 performance

🕵️‍♂️ privacy

✒️ typography

🔑 authentication

🛠 tooling

@rdwz
rdwz / README.md
Created October 7, 2022 06:55 — forked from rluvaton/README.md
Mirror Node.js dist and download all npm versions for windows #script #npm #node #mirror

Scripts that mirror nodejs and npm

Note: The npm download script currently only download zip files

Improvement to do:

  • Move to dedicated repo
  • Add CLI tool for the npm and node download script
  • Replace request lib with not deprecated one
  • Download index.json by itself
  • Install another formats of npm (not just zip)
@rdwz
rdwz / Storing-Images-On-Github.md
Created October 11, 2022 12:49 — forked from joncardasis/Storing-Images-On-Github.md
Storing Images and Demos in your Repo

Storing Images and Demos in your Repo

In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.

How to

1. Clone a fresh copy of your repo

In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.

2. Create a new branch

Create a new branch in your repo by using git checkout --orphan assets

  • Use curl to get the JSON response for the latest release
  • Use grep to find the line containing file URL
  • Use cut and tr to extract the URL
  • Use wget to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
@rdwz
rdwz / index.haml
Created July 16, 2023 03:59
Parallax Star background in CSS
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
#stars
#stars2
#stars3
#title
%span
PURE CSS
%br
%span
PARALLAX PIXEL STARS
@rdwz
rdwz / curl.md
Created August 8, 2023 12:07 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@rdwz
rdwz / nearest.js
Last active August 18, 2023 06:47 — forked from Ademking/nearest.js
JS: Find Nearest Color from Array
const baseColors = {
'--gray-0': '#f8f9fa',
'--gray-1': '#f1f3f5',
'--gray-2': '#e9ecef',
'--gray-3': '#dee2e6',
'--gray-4': '#ced4da',
'--gray-5': '#adb5bd',
'--gray-6': '#868e96',
'--gray-7': '#495057',
'--gray-8': '#343a40',
@rdwz
rdwz / index.pug
Created October 1, 2023 20:54
Trippy CSS effect
- var n = 1
div.container
while n <= 30
div(class='ring el-' + n++)