Skip to content

Instantly share code, notes, and snippets.

@appel
appel / fonts.css
Created July 27, 2024 18:39 — forked from dextermb/fonts.css
Gotham SSm A
@font-face{
font-family: "Gotham SSm A";
src: url(data:application/x-font-woff;base64,d09GRgABAAAAAGouABIAAAAA3TwAAQAAAABn/AAAAjIAAAarAAAAAAAAAABHREVGAABfUAAAAB4AAAAgAQwABUdQT1MAAF9wAAAILgAAHTLmkqBOR1NVQgAAZ6AAAABaAAAAgOo0LbVPUy8yAAACCAAAAE4AAABgW99XdWNtYXAAAA1oAAACZgAAA1iBBKFQY3Z0IAAAEdAAAABOAAAATgNZCk1mcGdtAAAP0AAAAQIAAAFzBlmcN2dhc3AAAF9EAAAADAAAAAwAFAAOZ2x5ZgAAE+AAAESqAACPPKFTqktoZG14AAAEeAAACO8AABOgQkiZw2hlYWQAAAGUAAAANAAAADb+/uTZaGhlYQAAAcgAAAAgAAAAJAgbBH9obXR4AAACWAAAAiAAAANg+4xAqWxvY2EAABIgAAABwAAAAcBVZXgkbWF4cAAAAegAAAAgAAAAIAMAAnxuYW1lAABYjAAABLkAAAwYXW/oGHBvc3QAAF1IAAAB+QAAAqOaab3GcHJlcAAAENQAAAD6AAABfrXGiCB42mNgZGBgYPQ5U/29eGk8v81XBnnmF0ARhrM7V8nC6P8f//OwpDM/AnI5GJhAogC/rA89eNpjYGRgYD7wX4CBgWXN/4//P7KkMwBFUMBFAKjiB6EAAQAAAN8AzgAQAFgABAABAAAAAAAKAAACAAFUAAIAAXjaY2BmymPUYWBlYGHaw9TFwMDQA6EZ7zIYMfxiQAILGZj+OzAwRMP4HmpuXkBKQVGJWeG/BcMJ5gMMH4D8+SA5JjGmGyA5BiYAzT4O+gAAeNptkktoU0EUhv9z5goqohKoFdwURBEUWqXmgY03qY9oG+MDNSJ1c2uLUbwi2ApdFFRoyUp0pYJQUYiFCqLiphtFqQYsXbix4AMUFFwpFopdGP8ZEoiYe/k4Z848mPlmZA7u
@appel
appel / JELOS Beginners Guide.md
Created July 21, 2024 12:22 — forked from milnak/JELOS Beginners Guide.md
JELOS Beginners Guide

JELOS Beginner's Guide

Powkiddy X55 (RK3566) note

JELOS has stopped being developed. Powkiddy X55 owners should consider moving to ROCKNIX.

To turn your device off

IMPORTANT INFORMATION! NEVER TURN THE UNIT OFF or RESET! ALWAYS DO A SYSTEM SHUT DOWN (LIKE A PC!)

@appel
appel / ubuntu-terminal-padding.txt
Last active October 25, 2023 11:20 — forked from sketchbuch/ubuntu-terminal-padding.txt
Add padding to Gnome Terminal
Add padding to Gnome Terminal
=======================
$ sudo nano .config/gtk-3.0/gtk.css
Add the following to gtk.css and restart Terminal:
VteTerminal,
TerminalScreen,
vte-terminal {
@appel
appel / docker-compose.yml
Created August 13, 2023 10:35 — forked from Webreaper/docker-compose.yml
Sample Docker-compose file which shows how to set up Sonarr, Radarr, Prowlarr, Lidarr, QBittorrent and a VPN container so that all all traffic from the containers is routed through the VPN. Also includes Plex and get_iplayer containers, which are not routed through the VPN.
# Docker compose to set up containers for all services you need:
# VPN
# Sonarr, Radarr, Lidarr, Qbittorrent
# Non-VPN
# Plex, get_iplayer
# Before running docker-compose, you should pre-create all of the following folders.
# Folders for Docker State:
# /volume1/dockerdata. - root where this docker-compose.yml should live
# /volume1/dockerdata/plex - Plex config and DB
# /volume1/dockerdata/sonarr - Sonarr config and DB
@appel
appel / wsl2-ubuntu-lamp.md
Last active October 5, 2023 16:22 — forked from abobija/wsl2-ubuntu-lamp.md
LAMP stack on WSL2 (Ubuntu 22.04.3 LTS) - Apache, MySQL, PHP

LAMP stack on WSL2 (Ubuntu 22.04.3 LTS) - Apache, MySQL, PHP

Apache

sudo apt update && sudo apt upgrade 
sudo apt install -y apache2

Install single PHP version

@appel
appel / index.html
Created August 2, 2021 19:43 — forked from jsanta/index.html
PWA index.html file for Android and iOS copy & paste enabled
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Ionic App</title>
<base href="/" />
<meta
name="viewport"
@appel
appel / bookmarklet.html
Created August 23, 2020 11:37 — forked from codepunkt/bookmarklet.html
Toggle Style-Elements
<a href="javascript:(function(d,g,a,b,c,e,f,h,n,t,u,w,x){f=function(e,o,k){for(k in o)e.setAttribute(k,o[k])};c=function(e){return d.createElement(e)};n=function(s){return d.createTextNode(s)};a=function(e,c,k){for(k in c)e.appendChild(c[k])};w=c(g);h=c(g);t=n('Toggle Style-Elements');u=c('ul');b=d.querySelector('body');x='position:fixed;top:0;right:0;z-index:99999;margin:0;padding:0;background:#f4fff4;color:#99ad85;font:14px Helvetica,Arial,sans-serif;border:1px solid #bada55;border-top-width:0;border-right-width:0;border-bottom-left-radius:10px;';e=d.getElementById('tcss');if(b&&e)f(e,{style:x+(e.style.display=='none'?'':'display:none')});else if(b){f(w,{id:'tcss',style:x});f(h,{style:'font:20px Georgia,serif;padding:10px;margin:0;background:#dae7da;color:#693'});f(u,{style:'margin:0;padding:10px;list-style-type:disc'});f(u,{style:'margin:0;padding:10px;list-style-type:disc;'});a(b,[w]);a(w,[h,u]);a(h,[t]);[].slice.call(d.styleSheets).forEach(function(s,i,l,m,y,z){y='margin:0 0 0 20px;padding:0;cursor:point
@appel
appel / notepad2-solarized.ini
Created August 9, 2019 16:39 — forked from gene-pavlovsky/notepad2-solarized.ini
Solarized Dark and Light color schemes for Notepad2-mod
[Default Text]
FileNameExtensions=txt; text; wtx; log; asc; doc; diz; nfo
Default Style=font:Consolas; size:11; fore:#93a1a1; back:#002b36
Margins and Line Numbers=size:-1; fore:#657b83; back:#073642
Matching Braces=size:+1; bold; fore:#dc322f; back:#073642
Matching Braces Error=size:+1; underline; fore:#dc322f; back:#073642
Control Characters (Font)=size:-1
Indentation Guide (Color)=fore:#073642
Selected Text (Colors)=eolfilled; fore:#eee8d5; back:#586e75
Whitespace (Colors, Size 0-5)=fore:#d33682
@appel
appel / background-scroll.js
Last active April 5, 2019 20:22 — forked from cheh/background-scroll.js
Slow down background image scroll speed
var body = document.body,
doc = document.documentElement,
hAlign = 'center',
divideBy = 4;
$(window).scroll(function()
{
body.style.backgroundPosition = hAlign + " " + (0 - (Math.max(doc.scrollTop, body.scrollTop) / divideBy)) + "px";
});
@appel
appel / address-lookup.js
Last active May 3, 2018 14:57 — forked from luk3thomas/address-lookup.js
jQuery address lookup
;(function($, google, window, document, undefined){
var pluginName = "addressLookup",
defaults = {
"namespace": "al" ,
"input": "#address-lookup"
};
function Plugin(element, options) {
this.element = element;