Skip to content

Instantly share code, notes, and snippets.

Aug 25 10:27:05 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png
Aug 25 10:27:06 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png
Aug 25 10:27:06 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png
Aug 25 10:40:45 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png
Aug 25 10:42:51 Tower root: Fix Common Problems Version 2022.08.24
Aug 25 10:42:54 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png
Aug 25 10:42:55 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png
Aug 25 10:42:55 Tower root: Plex-Meta-Manager: Could not download icon https://metamanager.wiki/en/latest/_static/pmm.png
Aug 25 10:43:51 Tower root: Fix Common Problems Version 2022.08.24
Aug 25 10:43:53 Tower root: Plex-Met
@jakabo27
jakabo27 / ArchRob_Project1.ino
Created September 16, 2020 02:19
Architectural Robotics Project 1 for ECE 8680 at Clemson Fall 2020
/*
Name: ArchRob_Project1.ino
Created: 9/5/2020 12:10:28 PM
Author: JACOBT-DESKTOP\Jacob
*/
#include <Servo.h>
#include <Stepper.h>
const int STEPS = 32;
const int StepsPerRotation = 2048; // 2048 steps to 360° of total rotation of motor
@jakabo27
jakabo27 / mp4_to_jpgs_frames.sh
Last active March 25, 2020 17:08
Extract frames between X and Y from an MP4 using FFMPEG
#!/bin/bash -e
# To run: mp4_to_jpgs_frames.sh 00000123 "generated/SpaghettiJPEGS" 5 25
if [ -z "$2" ]; then
output_dir=generated/unlabelled_jpgs
else
output_dir=$2
fi
@jakabo27
jakabo27 / Rename File.gs
Created March 22, 2020 02:44
Renames a file submitted through a Google Form. Mine is set up to rename it to the email (before the @) and then the name the person typed in. So if jat5@g.clemson.edu submitted it with the name IronMan, the file would be "jat5 - IronMan.mp4"
function RenameFile() {
var form=FormApp.getActiveForm();
var length=form.getResponses().length; // returns the total number of form submissions
//replace QUESTION NUMBER through the index of the question prompting the file upload - keep in mind that the first question has the index
var FILESUB = 0; //Where this is the question number starting at 0 that is the file submission. In my file it's the first question. Text description boxes don't count
var id=form.getResponses()[length-1].getItemResponses()[FILESUB].getResponse();
// Logger.log('id = '+ id);
@jakabo27
jakabo27 / LightStopGameJT.ino
Created October 3, 2019 18:53
Light Stop Game for Clemson Makerspace Hackerday 2019
// FastLED Setup
#include <FastLED.h>
#define NUM_LEDS 40
#define DATA_PIN 5
#define BUTTON_PIN 8
#define MOVINGSPOT CRGB(0,0,255);
CRGB leds[NUM_LEDS];
volatile boolean waitingForButton = true;
byte globalBright = 60; //The max brightness for the strip
#include<plib.h>
//Interrupt Function
{
//Send Data to LEDs uses 4 buffers to make it more exact
//shifts bits to only get upper bits
//Reset flag for interrupt
}
main(){
#include <plib.h>
#define maxRotaryNumber 9
#define maxLEDNum 8
//This is here to make timing calculations easier!
#pragma config FPBDIV = DIV_2
#define E 3031
#define F 2866
#define Fs 2703
#define Gb 2703
#!/bin/sh
###########################################################
#To be run if the button is pressed.
#You should have two playlists for each song - one with
# just the song as the "First play" and nothing in main,
# and another with the song as first play and your standby
# sequence as the "Main" sequence. (At least if you want
# to do the exact thing that I'm doing)
#
// WORKING VERSION WITH RENARD PROTOCOL USING SERIAL3 (PINS 14 TO FTDI RX AND 15 TO FTDI TX)
// This code was written by Victor Perez for doityourselfchristmas.com based on the code from Zparticle, Si_champion and Neil Tapp.
// To adapt the code to your case, just change this top section, with the #define lines.
// Includes the watchdog timer library
#include <avr/wdt.h>
// KG add for renard. Include the Arduino Renard library by Bill Porter
#include <Arduino-Renard.h>
#include <plib.h>
void __ISR(3) function2(void){
//turn on indicator LED - useful to know when it should be communicating
for(m = 0; m < 150; m++) // delay for 150ms
for(j = 0; j < 312; j++);
//turn off indicator LED
//Pass data to SPI buffer