Skip to content

Instantly share code, notes, and snippets.

View arces's full-sized avatar
⌨️
Working on 8bitdashboard.com

Dan Janes arces

⌨️
Working on 8bitdashboard.com
View GitHub Profile

Keybase proof

I hereby claim:

  • I am arces on github.
  • I am starfox (https://keybase.io/starfox) on keybase.
  • I have a public key whose fingerprint is 9F77 DA1C CD77 C5F9 D49D 786E DC12 0DFB 25A3 66E0

To claim this, I am signing this object:

@arces
arces / cu.sh
Created January 21, 2018 21:16
sudo kill -kill $(pgrep -f -d " " python)
sudo kill -kill $(pgrep -f -d " " led-image-viewer)
import time
import os
import signal
import subprocess
folder_names = ['android','computer', 'defcon', 'cat', 'defcon9', 'defcon12', 'defcon13','defconlogo','cube','free','hacked','heart','loading','mario','meeseeks','mrrobot','nyancat','pacman','pepe','pika','pokemon','pop','rick','static','throwupp','titan','wp']
pids = ""
def run_animation(name, timez):
wd = '/home/pi/Desktop/{}/'.format(name)
sudo ./led-image-viewer --led-gpio-mapping=adafruit-hat-pwm -L -f -w .09 0.gif 1.gif 2.gif 3.gif --led-brightness=70 --led-pwm-lsb-nanoseconds 300
@arces
arces / error
Created February 9, 2018 21:52
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory