Skip to content

Instantly share code, notes, and snippets.

@doyousketch2
doyousketch2 / Add this to your bindings.xml
Last active January 13, 2018 13:08
TiledGGD lua script for Sega Saturn files -- put in your /TiledGGD/Plugins/ dir -- https://git.io/vNnvj
<Binding type="GRAPHICS">
<Name>Sega Saturn</Name>
<FilterSet method="AND">
<Filter type="MAGIC">SEGA</Filter>
</FilterSet>
<Target type="LUA">Graphics_Saturn.lua</Target>
</Binding>
@doyousketch2
doyousketch2 / ScratchMessages.py
Last active January 30, 2018 01:22
Updates Conky when you have messages on Scratch.mit.edu
#!/usr/bin/python
import requests as rq ## used to access URL's in Python
"""========================================================"""
## ScratchMessages.py
## Updates Conky when you have messages on Scratch.mit.edu
##
## by Doyousketch2
## Oct 30, 2016
##
## GNU GPLv3 - https://www.gnu.org/licenses/gpl-3.0.html
@doyousketch2
doyousketch2 / WUtemp.py
Last active January 30, 2018 01:32
Updates Conky with temperature from WeatherUnderground
#!/usr/bin/python
# -*-coding: utf-8 -*-
import requests as rq ## used to access URL's in Python
import time ## used to delay a moment between server retries
"""========================================================"""
## WUtemp.py
## Updates Conky with temperature from WeatherUnderground
##
## by Doyousketch2
## Nov 4, 2016
@doyousketch2
doyousketch2 / body.lua
Created December 2, 2018 02:04
body.lua
-- title: ModelRenderer
-- author: FlamingPandas
-- desc: Shows 3D models
-- script: lua
point={x=0,y=0,z=300}
fov=100 -- Field of View
@doyousketch2
doyousketch2 / beautifulSoup.py
Last active December 30, 2018 15:30
beautifulSoup.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
##=========================================================
## beautifulSoup.py Dec 2018
## Eli Innis @Doyousketch2 Doyousketch2 @ yahoo.com
## GNU AGPLv3 gnu.org/licenses/agpl-3.0.en.html
""" required ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"""
## sudo pip3 install requests beautifulsoup4 html5lib lxml
@doyousketch2
doyousketch2 / taskbar_tint.py
Created March 8, 2019 12:04
color your LXDE taskbar on the weekend
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
##=========================================================
## taskbar_tint.py Mar 2019
##
## Eli Innis @Doyousketch2 Doyousketch2 @ yahoo.com
##
## GNU GPLv3 gnu.org/licenses/gpl-3.0.html
@doyousketch2
doyousketch2 / translate_mt.py
Last active June 28, 2019 09:20
Translate Minetest players in IRC
##=========================================================
## @Doyousketch2 AGPL-3 Jun 17, 2019
## https://www.gnu.org/licenses/agpl-3.0.en.html
#
# sudo apt install translate-shell
##=========================================================
## header
__module_name__ = 'Translate'
__module_version__ = '1.5'
@doyousketch2
doyousketch2 / README.txt
Created July 22, 2019 21:27
Auto grant OP and VOICE in HexChat
https://git.io/fjDec
@doyousketch2
doyousketch2 / README.txt
Last active July 22, 2019 21:30
Simple IRC Chat Bot for HexChat
https://git.io/fjDe4
@doyousketch2
doyousketch2 / firefox-clear-weekly-history.sh
Last active July 29, 2019 20:20
Delete Firefox history older than 1 week - in Debian Linux - https://git.io/fjSWS
#! /bin/bash
## sudo apt update && sudo apt install sqlite3
## if you're on the Default-channel
cd ~/.mozilla/firefox/**.default/
sqlite3 places.sqlite "delete from moz_historyvisits where visit_date < strftime('%s', 'now', '-7 days') * 1000000;"
sqlite3 places.sqlite "delete from moz_places where url like '%duckduckgo%'; vacuum;"