Skip to content

Instantly share code, notes, and snippets.

@doneee
doneee / piforcetools.py
Created August 3, 2020 00:17
Fixed backlight line for Piforcetools
#!/usr/bin/python
# Written by TravistyOJ (AKA Capaneus)
import os, collections, signal, sys, subprocess, socket
import triforcetools
from Adafruit_CharLCDPlate import Adafruit_CharLCDPlate
from time import sleep
ips = ["192.168.1.2", "192.168.1.3", "192.168.1.4", "192.168.1.5"] # Add or remove as many endpoints as you want
rom_dir = "/boot/roms/" # Set absolute path of rom files ending with trailing /
@doneee
doneee / index.html
Created July 25, 2018 19:18
Price Calculator // source https://jsbin.com/dufomiq
<!DOCTYPE html>
<html>
<head>
<title>JS Class #4</title>
</head>
<body>
<div class="calculator-container">
<h1>Price Calculator</h1>
<table summary="List of items">
<thead>

Keybase proof

I hereby claim:

  • I am doneee on github.
  • I am donnyswany (https://keybase.io/donnyswany) on keybase.
  • I have a public key whose fingerprint is 462A 5630 09D2 1ABB 8854 839E F489 F25C C71D B45E

To claim this, I am signing this object:

@doneee
doneee / PKGBUILD - Upwork 4.0.103.0
Last active August 29, 2015 14:27 — forked from MaxMansfield/PKGBUILD - Upwork 4.0.103.0
This is the updated PKGBUILD for upwork version 4.0.103.0 since the maintainer hasn't updated it yet.
# Maintainer: Lev Lybin <lev.lybin@gmail.com>
pkgname=upwork
pkgver=4.0.103.0
pkgrel=3
pkgdesc="Team App (ex. oDesk)"
arch=('i686' 'x86_64')
url="https://www.upwork.com/downloads/new-team-application"
license=('unknown')
depends=('gtk2' 'nss' 'gconf' 'alsa-lib' 'glu' 'libxtst' 'gtkglext' 'libgcrypt15' 'libudev0')
@doneee
doneee / class.custom_query.php
Last active November 12, 2016 05:24
Wordpress Custom_Query
<?php
namespace CL\query;
// This function allows you to modify the specific fields and joins of a standard WP_Query object
class custom_query {
private $clauses = array(), // Contains clauses to be passed to the query intercept
$cleared_request = ''; //Returns the query for stripping WP_Query container
public $posts = array(); //Contains the returned posts