Skip to content

Instantly share code, notes, and snippets.

@doyousketch2
doyousketch2 / conky.conf
Last active November 6, 2016 18:24
Includes both WeatherUnderground and ScratchMessages Python scripts.
conky.config = {
alignment = 'top_right',
background = false,
border_outer_margin = 5,
border_width = 1,
cpu_avg_samples = 2,
default_color = white,
default_outline_color = '#555',
default_shade_color = 'black',
draw_borders = false,
@doyousketch2
doyousketch2 / ! Dim.Twit - UserScript - Instructions.md
Last active November 10, 2016 04:53
Dims the background of your Twitter feed.
@doyousketch2
doyousketch2 / m.fb.Dim.user.js
Last active November 10, 2016 16:51
Dims facebook's mobile page, blocks ads, filters posts with keywords for you, and makes images click-to-fullsize.
// ==UserScript==
// @name m.fb.Dim
// @namespace Sketch2
// @description mobile.facebook.Dimmer
// @include https://m.facebook.*
// @exclude https://m.facebook.com/friends/*
// @version 1.8
// @grant GM_info
// @grant GM_getValue
// @grant GM_setValue
@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 / ! Various.PNG's
Last active January 1, 2017 17:28
Just a collection of images I'll use on GitHub
Nothing to see here...
@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 / !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.

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 / 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
@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"