Skip to content

Instantly share code, notes, and snippets.

View mojoaxel's full-sized avatar
🏠
Working from home

Alexander Wunschik mojoaxel

🏠
Working from home
View GitHub Profile
@mojoaxel
mojoaxel / letter.open-web-advocacy.md
Last active February 28, 2024 22:44
Inofizielle Deutsche Version des offenen Briefs der Open-Web-Advocacy an Tim Cook (Apple) - https://letter.open-web-advocacy.org

Sehr geehrter Tim Cook,

wir schreiben Ihnen, um unsere Besorgnis über Apples Entscheidung zum Ausdruck zu bringen, Web-Apps (PWAs) in der Europäischen Union (EU) aus iOS und Safari zu entfernen, und um unsere Rechte unter dem Digital Markets Act (DMA) geltend zu machen.

Apple stellt Web-Apps als die offene Alternative zum App Store dar, und Maßnahmen zu deren Entfernung haben tiefe Besorgnis in der Web-Community ausgelöst. iOS, das Web-Apps zu Shortcuts degradiert, bedroht den Datenverlust und untergräbt das Web als eine zuverlässige Plattform für iOS-Nutzer. Diese stillschweigend eingeführten Änderungen bedrohen kritische Funktionen, einschließlich der Integration mit iOS, Push-Benachrichtigungen, ungelesener Zählerkennzeichnung und der Fähigkeit, im Vollbildmodus zu laufen. Ihre Entfernung wird Web-Apps für Studenten, Regierungen, Gesundheitseinrichtungen, Journalisten und Startups zerstören.

Ganze Kategorien von Apps werden dadurch auf dem Web nicht mehr lebensfähig sein. Besorgniserregender ist, dass w

@mojoaxel
mojoaxel / getDieDreiFragezeichenCovers.js
Created January 1, 2024 23:33
node.js script to download cover art for the audio series "Die Drei Fragezeichen"
#!/usr/bin/node
/**
* This script downloads audiobook covers for the "Die Drei Fragezeichen" audio-play series.
*
* @example ```
* node getDieDreiFragezeichenCovers.js
* ```
*/
const fs = require('fs');
@mojoaxel
mojoaxel / getBibiBlocksbergCovers.js
Last active January 1, 2024 23:11
node.js script to download Bibi Blocksberg Audiobook covers
#!/usr/bin/node
/**
* This script downloads audiobook covers for the "Bibi Blocksberg" audio-play series.
*
* @example ```
* node getBibiBlocksbergCovers.js
* ```
*/
const fs = require('fs');
@mojoaxel
mojoaxel / GoPro_GPS.md
Created April 6, 2023 15:43
Gist on how to get GPS data froma GoPro video
@mojoaxel
mojoaxel / git_cheetsheet.md
Created March 3, 2023 11:16
Git Cheetsheet

Disable pager for git log

git config --global pager.log false

Create shortcut git last to show last 5 commits

git config --global alias.last 'log --decorate=no --pretty=oneline -n5'

<svelte:head>
<script src="//unpkg.com/d3@5.15.0/dist/d3.min.js"></script>
<script src="//unpkg.com/d3-cloud@1.2.5/build/d3.layout.cloud.js"></script>
</svelte:head>
<svelte:window on:load={showWordCloud}/>
<script>
export let data = [];
export let color = "#6bbda5";
@mojoaxel
mojoaxel / readme.md
Last active June 15, 2022 22:16
fullstax.de website design brief

fullstax.de website design brief

We are a very small company from germany. We do full-stack web-development. We want to update our homepage.

The big (3-layered) logo on the front page is the center of the design. We want to say, that we make "full-stack-webdevelopment" and we want to explain what we mean by that. We want to descripe those 3 layers.

The logo on the front-page should be animated interactive in the future. This is not part of the basic design, but we might come back to you for an animation later. Ideas are welcome!

The target audience of the website are web-developers and clients from the healthcare of industry sector. Ajectives we would like to see might be "professional", "light-weight", "sustainable" and "clean".

@mojoaxel
mojoaxel / rockPaperScissors.sh
Last active March 17, 2022 16:16
command line rock-paper-scissors game
#!/bin/bash
#
# This is a bash port of a BASIC game from 1973 by Charles Lund:
# https://www.atariarchives.org/basicgames/showpage.php?page=137
#
# author: Alexander Wunschik (https://github.com/mojoaxel)
# license: CC-0 Public Domain
printf "%*s GAME OF ROCK, SCISSORS, PAPER\n" 21
printf "%*s CREATIVE COMPUTING MORRISTOWN, NEW JERSEY\n" 15
@mojoaxel
mojoaxel / .prettierrc.json
Last active October 27, 2021 08:52
prettier.io settings for fullstax projects
{
"singleQuote": true,
"useTabs": true,
"semi": true,
"printWidth": 100,
"trailingComma": "none",
"arrowParens": "avoid"
}
@mojoaxel
mojoaxel / dump_databases.sh
Last active September 6, 2019 20:27
dumb a given list of tables from a remote mysql database to seperate *.sql files showing progress and skipping existing.
#!/bin/bash
######################################
# please add your settigs here:
DB_HOST=<ip of the databse-server>
DB_USERNAME=<username>
DB_PASSWORD=<password>
######################################
# write a temporary config file with the credentials to prevent terminal warnings