Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name revert-slack-ui
// @description reverts to the old slack ui for web based users (oct/18/23)
// @version 0.0.03
// @match https://*.slack.com/*
// @grant none
// @run-at document-body
// ==/UserScript==
(function() {
{
"name": "cli-gist",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",

Keybase proof

I hereby claim:

  • I am genesishash on github.
  • I am taky (https://keybase.io/taky) on keybase.
  • I have a public key ASBU96wMU3bJ1sDd6bDtS8gQSM-D4sSZ9zgwYG0Hu5kQigo

To claim this, I am signing this object:

#!/usr/bin/env python3
import os
import math
window = os.popen("xdotool getactivewindow getwindowgeometry | grep Geometry | cut -d : -f 2").read().strip().split('x')
screen = os.popen("xdotool getdisplaygeometry | sed -r 's/ /x/g'").read().strip().split('x')
print(f'Window: {window}')
print(f'Screen: {screen}')
process.env.SILENCE = 1
_ = require('wegweg')({
globals: on
shelljs: on
})
log = (x...) -> try console.log x...
_help = ->