Skip to content

Instantly share code, notes, and snippets.

View sq3's full-sized avatar
🚀
Raketen Style

Marc Schnitzius sq3

🚀
Raketen Style
View GitHub Profile
@rometsch
rometsch / BH456A_linux_driver.md
Last active October 16, 2023 08:16
MPOW BH456A Bluetooth USB Adapter Kernel Module Adjustements (Realtek RTL8761B chip)

Problem

The MPOW Bluetooth 5 dongle (Model: BH456A) does not work out of the box on Ubuntu 20.04 (kernel 5.4.0-42).

Solution

Patch the bluetooth kernel module and copy the firmware binaries to /lib/firmware.

Copy the fimware

======================================
mysql 8.0.15 -> 8.0.16 upgrade error
======================================
1) The mysql server refused to start when we upgraded from 8.0.15 to 8.0.16
on Ubuntu 16.04
Apr 25 09:08:09 yuktix-apiv11devm1 systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
@merikan
merikan / Jenkinsfile
Last active April 18, 2024 08:44
Some Jenkinsfile examples
Some Jenkinsfile examples
@spicycode
spicycode / myweechat.md
Last active October 19, 2022 15:04 — forked from pascalpoitras/config.md
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

Enable mouse support

/mouse enable

Encrypted password in sec.conf

@edsiper
edsiper / kubernetes_commands.md
Last active April 4, 2024 03:27
Kubernetes Useful Commands
## Depends on your network setup of the global zone build environment
echo '{
"brand": "joyent",
"resolvers": ["8.8.8.8"],
"ram": 512,
"nics": [{
"nic_tag": "switch0",
"ip": "192.168.200.200",
"netmask": "255.255.255.0",
"gateway": "192.168.200.1",
@Vestride
Vestride / encoding-video.md
Last active April 24, 2024 09:59
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@boojums
boojums / Sublime Text 3 Linux Shortcuts.textile
Last active May 3, 2018 13:30 — forked from lucasfais/gist:1207002
Sublime Text 3 - Linux shortcuts

Sublime Text 3 – Useful Shortcuts (Linux, Norwegian keyboard)

I changed a few of the key mappings to work with a Norwegian layout:

{ “keys”: [“ctrl+\\”], “command”: “show_panel”, “args”: {"panel": “console”, “toggle”: true} },
{ “keys”: [“ctrl+7”], “command”: “toggle_comment”, “args”: { “block”: false } },
{ “keys”: [“ctrl+9”], “command”: “indent” },
{ “keys”: [“ctrl+8”], “command”: “unindent” },

And installed the package Emmet, which is what provides some of the functions here.

@renatolfc
renatolfc / android-client.ovpn
Created December 28, 2014 18:59
A sample OpenVPN client configuration file in the unified format
client
dev tun
remote example.com
resolv-retry infinite
nobind
persist-key
persist-tun
ca [inline]
cert [inline]
key [inline]
@corny
corny / dynv6.sh
Last active April 10, 2024 07:42
Update script for dynv6.com to set your IPv4 address and IPv6 prefix
#!/bin/sh -e
hostname=$1
device=$2
file=$HOME/.dynv6.addr6
[ -e $file ] && old=`cat $file`
if [ -z "$hostname" -o -z "$token" ]; then
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]"
exit 1
fi