Original: https://gist.github.com/svofski/ce9bfc37d865b8ef38c43d52e0a8e82a
List devices
DEV
| diff --git a/src/sk/vx/connectbot/service/TerminalBridge.java b/src/sk/vx/connectbot/service/TerminalBridge.java | |
| index 762323f..56ba895 100644 | |
| --- a/src/sk/vx/connectbot/service/TerminalBridge.java | |
| +++ b/src/sk/vx/connectbot/service/TerminalBridge.java | |
| @@ -763,10 +763,17 @@ public class TerminalBridge implements VDUDisplay { | |
| // write the text string starting at 'c' for 'addr' number of characters | |
| defaultPaint.setColor(fg); | |
| - if((currAttr & VDUBuffer.INVISIBLE) == 0) | |
| - canvas.drawText(buffer.charArray[buffer.windowBase + l], c, |
| encoding #channel NONE | |
| # (and another crash): | |
| #encoding #channel ISO-8859-1 | |
| #encoding #channel NONE |
| $ git clone https://github.com/desaster/kippo/ | |
| $ cd kippo | |
| $ virtualenv env | |
| $ . ./env/bin/activate | |
| $ pip install twisted | |
| $ pip install pyasn1 | |
| $ pip install pycrypto | |
| (optional): |
| #!/usr/bin/env python | |
| # {u'vms': [{u'memory': 0, | |
| # u'name': u'honeydrive', | |
| # u'ostype': u'hvm', | |
| # u'state': 5, | |
| # u'uuid': u'a14eb9b0-c5fc-d66a-0665-b32972a893e3'}, | |
| # {u'memory': 0, | |
| # u'name': u'dvx', | |
| # u'ostype': u'hvm', |
| $app = Start-Process -PassThru -FilePath C:\windows\system32\notepad.exe | |
| Write-Host "Hello World!" | |
| Write-Host "Process PID seems to be" $app.Id | |
| Wait-Process -Id $app.Id |
| ! URxvt*termName: string | |
| URxvt*termName: xterm-256color | |
| ! URxvt*geometry: geometry | |
| ! URxvt*chdir: string | |
| ! URxvt*reverseVideo: boolean | |
| ! URxvt*loginShell: boolean | |
| ! URxvt*multiClickTime: number | |
| ! URxvt*jumpScroll: boolean | |
| ! URxvt*skipScroll: boolean | |
| ! URxvt*pastableTabs: boolean |
| # | |
| # How to run tomcat as non-root with docker | |
| # | |
| # We want to map the tomact process to host user, which is created here | |
| sudo useradd -r docker-tomcat | |
| # start a container, but don't run tomcat yet | |
| docker run -it -d --name=tomcat-intermediate -u $(id docker-tomcat -u) tomcat:8.0 /bin/sh |
| # | |
| # This powershell script automates the task of restarting a network | |
| # adapter on a particular System event. | |
| # | |
| # The practical application is to work around the issue of | |
| # buggy Killer Wifi (Qualcomm Atheros) cards crashing during standby. | |
| # | |
| # Tested on XPS 13 9370 (2018) | |
| # | |
| # The predefined trigger checks for the following event: |
| diff --git a/script/sasl_auth b/script/sasl_auth | |
| index 49894bb..d5288e9 100644 | |
| --- a/script/sasl_auth | |
| +++ b/script/sasl_auth | |
| @@ -124,7 +124,7 @@ on #-server_established 100 '\\\\[$$sasl_auth.servers\\\\] %' { | |
| }; | |
| }; | |
| -on ^odd_server_stuff '\\\\[$$sasl_auth.servers\\\\] CAP % ACK :*sasl*' { | |
| +on ^odd_server_stuff '\\\\[$$sasl_auth.servers\\\\] CAP % ACK *sasl*' { |
Original: https://gist.github.com/svofski/ce9bfc37d865b8ef38c43d52e0a8e82a
List devices
DEV