Skip to content

Instantly share code, notes, and snippets.

View krmnn's full-sized avatar

Thomas Karmann krmnn

  • Berlin
  • 15:56 (UTC +02:00)
View GitHub Profile
@krmnn
krmnn / macOS HomeBrew: automatic installation of tools and applications.md
Last active August 29, 2022 15:40
macOS HomeBrew: automatic installation of tools and applications

macOS HomeBrew: automatic installation and updating of tools and applications

Software installation of my usual tools (via homebrew) and applications (via homebrew-cask) can be automated with homebrew-bundle.

Install instructions

  1. Install homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. Add bundle: brew tap Homebrew/bundle

@krmnn
krmnn / xbrowsersync.service
Created September 16, 2017 10:50
xBrowserSync-API systemd service file
[Unit]
Description=xBrowserSync is a free tool for syncing browser data between different browsers and devices, built for privacy and anonymity.
After=syslog.target
After=network.target
After=mongod.service
[Service]
Type=simple
User=xbrowsersync
Group=xbrowsersync
@krmnn
krmnn / gist:807f05138d7d7d5f34dbd2854be471d3
Created February 10, 2018 12:54
Low Budget Lightbulp Infrared Reverseengineering
http://www.instructables.com/id/Reverse-Engineering-RGB-LED-Bulb-with-IR-remote/
@krmnn
krmnn / Liferay Developer Overview.md
Created February 20, 2018 21:44
Liferay Developer Overview
@krmnn
krmnn / Restart Touchbar on Freeze on Macbook Pro 13 2017
Created March 13, 2018 08:32
Restart Touchbar on Freeze on Macbook Pro 13 2017
pkill "Touch Bar agent";
killall "ControlStrip";
Touchbar regulary freezes whole OS. Sometimes you can kill the Touchbar before that happens. Fuck you, Apple!
@krmnn
krmnn / Desktop HD4600 requirements.md
Created March 24, 2018 11:35
osx86 Desktop HD4600 requirements

Desktop HD4600 requirements:

  • config.plist/Graphics/Inject/Intel=true
  • config.plist/Graphics/ig-platform-id=0x0d220003
  • config.plist/Devices/FakeID/IntelGFX=0
  • BIOS DVMT-prealloc 64mb
  • digital connection to your monitor (VGA not supported)
  • VT-d disabled or use dart=0
@krmnn
krmnn / macOS Application UserData.md
Created March 24, 2018 13:40
macOS Application UserData
~/Library/Preferences
~/Library/Application Support
~/Library/Containers
~/Library/Group Containers
@krmnn
krmnn / Install Firefly III on Debian Stretch.md
Last active April 2, 2018 16:46
Install Firefly III on Debian stretch

php 7.1 debian stretch

apt-get install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
apt-get update
apt-get install php7.1

dependencies

@krmnn
krmnn / Postgresql Basics.md
Last active April 2, 2018 17:49
Postgresql Basics

Creating user

$ sudo -u postgres createuser <username>

Creating Database

$ sudo -u postgres createdb <dbname>

Giving the user a password

$ sudo -u postgres psql
psql=# alter user <username> with encrypted password '<password>';