[You may view this document on Stackedit.io to render the inline LaTeX.]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask 'wch-ch34x-usb-serial-driver-unofficial' do | |
# Note: This is *not* the driver found on wch.cn [1][2], which has | |
# pkg identifier 'com.wch.ch34xinstall.usb.pkg' and has a v1.1.1 release | |
# (at least), but is unsigned and thus does not work with Yosemite or | |
# El Capitan (unless kext signature checks are disabled). | |
# This driver has pkg ID 'com.wch.usbserial.pkg', appears to be developed by | |
# the same company (but who knows), and has version no v1.0. It was published | |
# on a blog (unrelated to the company) [3], and later linked on another [4] | |
# which gives a nice summary of various versions. | |
# |
[Diese Notizen können auf Stackedit.io betrachtet werden damit das Inline-LaTeX gerendert wird.]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<list> | |
<item> | |
<name>Neo 2</name> | |
<appendix>Umsetzung der 4. und 6. Ebene. Um problembehaftete Kombinationen mit Control zu vermeiden,</appendix> | |
<appendix>werden Teile von Ebene 4 und 6 per Tottaste umgesetzt.</appendix> | |
<appendix>Ebene 6 ist jetzt über Mod3+Mod4 erreichbar.</appendix> | |
<appendix></appendix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# layer three symbols are interpreted as Alt+key | |
# this can be seen with keytester.py | |
# simply removing the following (currently default) bindings "fixes"* this | |
# *of course the underlying problem remains, e.g., in this Gist text editor … | |
config.unbind('<Alt-D>', mode='command') | |
config.unbind('<Alt-B>', mode='command') | |
config.unbind('<Alt-F>', mode='command') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# 2017-12-24: adapted for Python 3, gmusicapi==11.0.0 | |
# Google password may (must?) be https://myaccount.google.com/apppasswords | |
import requests | |
import gmusicapi | |
import xml.etree.ElementTree as ET | |
def main(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Problem 1: get full 1440p resolution on my 2518 (as the VM's primary display) | |
# initially I tried | |
VBoxManage setextradata Windows\ 8.1 "CustomVideoMode1" "2560x1440x32" | |
VBoxManage setextradata Windows\ 8.1 GUI/LastGuestSizeHint 2560,1440 | |
# as well as some other stuff I don't remember, and it worked. I think that second line did the trick. | |
# Problem 2: get portrait orientation 1080x1920 on my 2414 (as the secondary display) | |
# this time I followed this: https://winaero.com/blog/set-exact-display-resolution-in-virtualbox-virtual-machine/ | |
VBoxManage setextradata global GUI/MaxGuestResolution any | |
VBoxManage setextradata Windows\ 8.1 "CustomVideoMode1" "2560x1440x32" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# there are several brightness related keys, not sure what the difference is -- but they seem to be equivalent | |
MACBOOK_BRIGHTNESS=${${$(ioreg -c AppleBacklightDisplay | ag -o '"brightness"={[^}]*}')#*=*=*=*=}%\}} | |
MACBOOK_BRIGHTNESS_PERCENTAGE="$((100*${MACBOOK_BRIGHTNESS}/1024))" | |
# https://github.com/kfix/ddcctl | |
ddcctl -d 1 -b ${MACBOOK_BRIGHTNESS_PERCENTAGE} | |
ddcctl -d 2 -b ${MACBOOK_BRIGHTNESS_PERCENTAGE} |
OlderNewer