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
FROM wazum/openconnect-proxy as base | |
COPY entrypoint.sh /entrypoint.sh | |
RUN chmod +x /entrypoint.sh | |
ENTRYPOINT ["/entrypoint.sh"] |
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
import board | |
#from kmk.kmk_keyboard import KMKKeyboard | |
#from kmk.matrix import DiodeOrientation | |
#from kmk.keys import KC | |
# Updated to be compatible with the latest KMK release (which requires CircuitPython >= 7.0) | |
from kmk.kmk_keyboard import KMKKeyboard | |
from kmk.keys import KC | |
from kmk.scanners import DiodeOrientation |
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
F13:: | |
ActivateProcess("slack.exe") | |
return | |
F14:: | |
ActivateProcess("telegram.exe") | |
return | |
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
// ==UserScript== | |
// @name dotmain | |
// @namespace http://enlavin.com/ | |
// @version 0.1 | |
// @description Adds a dot at the end of the url domains to mess up with ads | |
// @author enlavin | |
// @match http*://*/* | |
// ==/UserScript== | |
(function() { |
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
import dht | |
import machine | |
import network | |
import utime | |
from umqtt.simple import MQTTClient | |
NODEMCU_PINS = (16, 5, 4, 0, 2, 14, 12, 13, 15, 3, 1, 9, 10) | |
d = dht.DHT11(machine.Pin(NODEMCU_PINS[4])) | |
sta_if = network.WLAN(network.STA_IF) |
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
import __main__ | |
import os | |
import tempfile | |
import paho.mqtt.client as mqtt | |
import rrdtool | |
import telegram | |
import telegram.ext | |
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
import ds18x20 | |
import gc | |
from machine import Timer, Pin | |
import network | |
import onewire | |
from time import sleep_ms | |
from umqtt.simple import MQTTClient | |
import urandom | |
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 | |
# Quick and dirty Minecraft 1.7 -> 1.8 skin converter | |
# skinconvert.py oldskin.png newskin.png | |
from __future__ import print_function | |
import os | |
import sys | |
from PIL import Image | |
if len(sys.argv) != 3: |
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
#!/bin/sh | |
xwit -focus -names /home/username/path/to/passwordfile.kdb | |
if [ "$?" != "0" ] | |
then | |
exec keepassx /home/username/path/to/passwordfile.kdb | |
fi |
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
caption always "%{+b gk}%c %{rk}%d/%m/%Y | %?%{yk}%-Lw%?%{wb}%n*%f %t%?(%u)%?%?%{yk}%+Lw%?" | |
bind f eval "caption splitonly" | |
bind F eval "caption always" | |
hardstatus string "%{.kc}%-w%{.kw}%n*%t%{-}%+w %= %2` %3`/%4` %6`/%7` %5`/%9` %c%a %m/%d/%Y" #black+cyan+normal+white selected | |
bindkey "\033\060" select 0 | |
bindkey "\033\302\272" select 0 | |
bindkey "\033\061" select 1 | |
bindkey "\033\062" select 2 |
NewerOlder