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 / README.md
Last active November 28, 2023 02:45 — forked from c-kick/hnl.mobileConsole.js
hnl.mobileConsole.js - extends JavaScript's console to display a visual console inside the webpage. Very usefull for debugging JS on mobile devices with no real console. Info and demo: http://www.hnldesign.nl/work/code/mobileconsole-javascript-console-for-mobile-devices/

MobileConsole - Javascript console for mobile devices

When developing in JavaScript, I always get a little annoyed about the lack of a debug console on iOS. And when I say ‘lack’ I mean the complete ass backwards obfuscation introduced in iOS 6, requiring you to physically hook your iPhone to your (Mac only!) development computer to view debug output. This approach, including various remote debuggers that are out there, is much too tedious when you simply need to view a value, see the contents of an object or – more likely – see the error message(s) your script caused, indicating why it isn’t working in the first place.

To that goal, I have developed mobileConsole; a JavaScript console for mobile devices. It ‘extends’ the window.console to a visual, HTML-based console that shows you a console similar in appearance to Chrome’s excellent web inspector console. The main goal was to keep mobileConsole unobtrusive: not requiring any additional code. This is why I extended window.console so I could keep usi

@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'

@mojoaxel
mojoaxel / gist:1616416
Created January 15, 2012 16:53 — forked from leplatrem/gist:1415767
Leaflet Offline Tiles using SQL Storage
/*
* L.TileLayer.LocalCache : A tile layer using SQL Storage, if available.
*/
L.TileLayer.LocalCache = L.TileLayer.extend({
options: {
minZoom: 0,
maxZoom: 18,
tileSize: 256,
subdomains: 'abc',
<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 September 3, 2022 13:39
node.js script to install the latest version of zeit/hyper using the debian package

This skript downloads and installs the most recent version of Hyper using last DEP package for linux.

Setup

git clone https://gist.github.com/mojoaxel/4fa8947905472818a72a97c113b535ae update-hyper
cd update-hyper
npm install

Update Hyper

@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".