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 / opensearch.xml
Last active February 14, 2022 20:06
Add Firefox search for Online Etymology Dictionary
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<!-- Generated by http://www.7is7.com/software/firefox/opensearch.html -->
<ShortName>Online Etymology Dictionary</ShortName>
<Description>Online Etymology Dictionary Search</Description>
<Url type="text/html" method="get" template="https://www.etymonline.com/search?q={searchTerms}&amp;sourceid=opensearch"/>
<Image width="16" height="16" type="image/x-icon">https://www.etymonline.com/favicon.ico</Image>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>https://www.etymonline.com/</moz:SearchForm>
<moz:UpdateUrl>https://www.etymonline.com/opensearch.xml</moz:UpdateUrl>
@doyousketch2
doyousketch2 / fff.py
Last active August 3, 2017 20:20
4096 prime numbers in lua list format
#!/usr/bin/python
##~~~~~~~~~~~~~~~
## @Doyousketch2
## Gnu GPLv3
import time
import xaut
## use xev to find keycodes
letter = "123456789ABCDEF"
@doyousketch2
doyousketch2 / UnrequitedLöve.user.js
Last active May 6, 2017 11:19
Highlight disabled functions in the Löve tables @ love2d.org/wiki
// ==UserScript==
// @name Unrequited Löve
// @version 0.2
// @description Highlight disabled functions in the Löve tables
// @author Doyousketch2
// @match https://love2d.org/wiki/*
// @grant GM_info
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_xmlhttpRequest

OpenSource PythonVersions License Git.io

Simple Python GUI for Redshift.

Dim your screen with a click.
Only runs when you want it to.
Doesn't run in background,
So it won't eat up your valuable memory.
Change brightness to your current mood.

@doyousketch2
doyousketch2 / !Python-Padding.py -- Readme.md
Last active January 17, 2017 20:33
Python script to add spacing to Python scripts.

OpenSource PythonVersions License Git.io

It's 2017:bangbang: New Year's resolution is:
1440 x 900 on my main monitor, and 1280 x 1024 on my secondary.

What it does:

Converts tabs to spaces, for posting on GitHub, so you don't get 8 spaces per tab every time...
Scoots comments to the right-margin so your code is easier to read.
You decide how far you'd like right-margin to be, user-set variable.
>Adds spacing after commas, so tuples and lists are easier to digest.

@doyousketch2
doyousketch2 / ScratchJsonExtract.py
Last active January 13, 2017 19:06
Python app to extract and parse JSON data from Scratch .sb or .sb2 files
#!/usr/bin/python3
# -*- coding: utf-8 -*-
##==============================================
## ScratchJsonExtract.py
##
## Eli Innis
## Twitter: @Doyousketch2
## Email: Doyousketch2 @ yahoo.com
##
## 20 Dec, 2016 -- 13 Jan, 2017
@doyousketch2
doyousketch2 / !Volume.md
Last active July 21, 2020 04:33
Python Volume control for Linux

View vol-up.py & vol-down.py scripts, or Download ZIP

OpenSource PythonVersions Git.io License

Normally, when you scroll up-and-down on the volume icon,
the volume jumps 5% every time. 😝

I've got a 600 watt 📻 Yamaha 6.1 surround system, with a 300 watt sub. 🔈
a 5% increase in volume from my :computer

@doyousketch2
doyousketch2 / PythonTest.py
Last active December 13, 2016 03:56
Python test, as described by Pau Dubois.
#!/usr/bin/python
# -*- coding: utf-8 -*-
##=========================================================================
"""Python is the most powerful language you can still read. – Pau Dubois"""
##
## Python test, as described by Pau Dubois.
## programmed by Eli Innis - 12 Dec, 2016
## GNU GPLv3 - gnu.org/licenses/gpl-3.0.txt
## git.io/v1Pvn
##-----------------------------------------
@doyousketch2
doyousketch2 / ! Dim.Twit - UserScript - Instructions.md
Last active November 10, 2016 04:53
Dims the background of your Twitter feed.