- aka “Two Wire Interface”
- short distance (generally < 1m)
- developed by Philips
- data rate 0.1 – 5 Mbit/s
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
activatevb() { | |
osascript -e "tell application \"VirtualBox VM\" to activate" | |
} | |
# for some reason it didn't work when decomposing it into these commands, | |
# but it worked fine in a single command | |
#alias click="cliclick -m verbose" | |
#cmdtab() { | |
# click kd:cmd kp:tab ku:cmd w:200 | |
#} |
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} |
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
#!/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
# 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
<?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> |
[Diese Notizen können auf Stackedit.io betrachtet werden damit das Inline-LaTeX gerendert wird.]
[You may view this document on Stackedit.io to render the inline LaTeX.]
NewerOlder