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 swapchat | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description swap chat with userlist. | |
// @author You | |
// @match https://stumblechat.com/room/valhalla | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=stumblechat.com | |
// @grant none | |
// ==/UserScript== |
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
// Colors | |
$black: hsl(0, 44%, 41%) !default | |
$black-bis: hsl(0, 0%, 7%) !default | |
$black-ter: hsl(0, 0%, 14%) !default | |
$grey-darker: hsl(0, 0%, 21%) !default | |
$grey-dark: hsl(0, 0%, 29%) !default | |
$grey: hsl(0, 0%, 48%) !default | |
$grey-light: hsl(0, 0%, 71%) !default | |
$grey-lighter: hsl(0, 0%, 86%) !default |
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 python3 | |
import i3ipc | |
from i3ipc import Event | |
from i3ipc.events import IpcBaseEvent, Event | |
i3 = i3ipc.Connection() | |
# callback for when workspace focus changes | |
def on_workspace(i3, e:IpcBaseEvent): | |
print(e.__dict__) |
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 ssh_client import ssh | |
import sys | |
import time | |
for arg in sys.argv: | |
room = arg | |
if True: | |
connection = ssh() | |
print('Attempting to connnect to pi zero.') |