Skip to content

Instantly share code, notes, and snippets.


Bernhard Döbler bardware

View GitHub Profile
Mistobaan /
Last active Apr 2, 2021
How to fix the AMAG Installation on MacOS Catalina

I Purchased this mini keyboard to extend my editor with combinations of keys that I will never remember. Sadly installing the App was problematic as it does not work right away.

  1. The App is written in Adobe air (!). Download and install their library
  2. Install and run this command to overcome Catalina problems (Steve we miss you) (from this thread)[]:
sudo xattr -r -d /Library/Frameworks/Adobe\ AIR.framework
  1. Downloaded the online software from Koolertron as of today (2020 June 20) is this link
View unblock.js
// Unblock everyone on Twitter: Go to and paste the below in DevTools
// Yes this is super ugly and hacky don’t @ me
function click_all_unblock_buttons() { document.querySelectorAll('button.blocked-text').forEach(btn =>; }
function unblock(min_num_accounts) {
var checkNumber, autoScroll, curScrollPos, prevScrollPos, checkScroll, done;
done = false;
curScrollPos = prevScrollPos = window.scrollY;
checkScroll = setInterval(() => {
View struct_funct.cfm
function calcAvg( numeric sold=0, numeric sales=0 ){
if( sales == 0 ){
return 0;
return sold/sales;
data = {
JamoCA / JUnidecode-ColdFusion-Demo.cfm
Last active Aug 5, 2020
JUnidecode ColdFusion Demo - Convert Unicode strings to somewhat reasonable ASCII7-only strings then strip diacritics and convert strings.
View JUnidecode-ColdFusion-Demo.cfm
<cfprocessingdirective pageEncoding="utf-8">
<cfsetting enablecfoutputonly="Yes">
function JUnidecode(inputString){
var JUnidecodeLib = "";
var response = "";
bdw429s / task.cfc
Created Jan 17, 2019
CommandBox Task Runner to download packages from RiaForge
View task.cfc
* Scrape all the binaries from RiaForge
component {
property name="progressableDownloader" inject="ProgressableDownloader";
property name="progressBar" inject="ProgressBar";
function run() {
directoryCreate( resolvePath( 'downloads' ), true, true );
var projects = deserializeJSON( fileRead( '' ) );
victor-perez / git.bat
Last active Sep 30, 2020
Use WSL git inside VS Code from Windows 10 17046
View git.bat
@echo off
::this also support calls that contains a absolute windows path
::check of one of the params contain a absolute windows path
echo.%* | findstr /r /c:"[a-z]:[\\/]" > nul
if %errorlevel% == 1 (
::if not just git with the given parameters
call :git %*
View gist:fefc18808304e96f519ce273f33825c2
ncdu => df in gut
glances => modernes htop
github hub => cli tool
lnav => log viewer
goaccess => log viewer für webserver
task warrior => cli task management
gopass => gpg pw manager (pass ableger)
mosh => ssh client über udp
silversurfer => ack on steroids / platinum searcher
a(s?)cinema => bash session recording
elijahmanor / .prettierrc
Created Mar 20, 2018
Prettier Overrides per fileType
View .prettierrc
"singleQuote": true,
"overrides": [
"files": "src/**/*.css",
"options": {
"singleQuote": false
anthrotype /
Last active Jul 18, 2018
Compare fonts with fonttools ttx
# compare fonts with ttx
ttdiff () {
if [ "$#" -lt 2 ]
echo "Usage: ttdiff FONT1.ttf FONT2.ttf [tables ...]"
return 1
if [ ! -f "$first" ]; then
echo "File $first not found"
View Font package

Font "package manager"

I've been thinking about creating a font management service similar to traditional software package managers (e.g. Debian Aptitude, NPM, etc.)

The basic idea is this:

  1. There's a main repository of fonts that are free (as in free to distribute) that the working group hosts
  2. There's a small program that serves as the "manager", to be used or installed on client systems
  3. The "manager" can be configured to operate with multiple repositories