Skip to content

Instantly share code, notes, and snippets.

View kism's full-sized avatar

Kieran Gee kism

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kism on github.
  • I am kism (https://keybase.io/kism) on keybase.
  • I have a public key whose fingerprint is 0FF8 F3B2 E904 A735 1761 9ED5 8A44 7234 26F2 9FB2

To claim this, I am signing this object:

@kism
kism / custom.css
Last active December 28, 2021 10:10
Custom CSS, hide the Vivaldi titlebar when fullscreen, Windows Version
/* Hide the Vivaldi titlebar when maximised, Windows Version */
/* Intended for use with tab position being on the left or right */
/* @import "custom.css"; */
/* resources\vivaldi\style\common.css */
/* Remove header */
:-webkit-any(.native, .maximized)#browser #header {
min-height: 0 !important;
}
@kism
kism / .bashrc
Last active October 27, 2019 22:17
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
@kism
kism / .tmux.conf
Last active October 27, 2019 22:58
General .tmux.conf
# Behaviour
setw -g allow-rename off
set -g base-index 1
setw -g pane-base-index 1
# Clock
setw -g clock-mode-colour colour5
# Statusbar
set -g status-bg green
set -g status-fg black
set -g status-position bottom
@kism
kism / why.sh
Created February 17, 2020 06:30
LaTeX convert with docker
docker run -it --rm -w /tex -v ${PWD}:/tex fbenz/pdflatex pdflatex file.tex
@kism
kism / gist:0dbebd9686c4a0bbf624a7ea2cd8e774
Last active July 20, 2021 09:05
systemd service netcap fix maybe?
AmbientCapabilities=CAP_NET_BIND_SERVICE
@kism
kism / file
Last active July 20, 2021 09:05
what are you doing microsoft
Computer\HKEY_CURRENT_USER\Control Panel\International\🌎🌏🌍
$Hosts = @(
#("host1"),
#("host2"),
#("host3"),
("dpshub.kg.lan")
)
$hoststatusscript = {
$avstatus = Get-MpComputerStatus
@kism
kism / webindexer.py
Last active September 30, 2021 07:30
#!/usr/bin/env python3
import textwrap
import os
import math
from os import listdir, path
from html.parser import HTMLParser
# Globals
debug = True
rootDir = '/var/www/html' # Make sure there is no forward slash at the end
#!/usr/bin/env python3
import requests
import socket
import time
import sys
import sqlite3
from ping3 import ping
from sqlite3 import Error