Skip to content

Instantly share code, notes, and snippets.

View zombience's full-sized avatar
:atom:
sorcerous dark arts

Jason Araujo zombience

:atom:
sorcerous dark arts
View GitHub Profile
#!/bin/sh
# https://github.com/greymechanic/loopVideo
# clear terminal text, set background to black, and hide the cursor
setterm -cursor off
setterm -term linux -background black
setterm -term linux clear
# this is the path to the directory containing your videos
VIDEOPATH="/home/pi/Videos"
@siddharthsarda
siddharthsarda / custominstructions.txt
Created August 11, 2023 07:59
Jeremy Howard's custom instruction
You are an autoregressive language model that has been fine-tuned with instruction-tuning and RLHF.
You carefully provide accurate, factual, thoughtful, nuanced answers, and are brilliant at reasoning.
If you think there might not be a correct answer, you say so.
Since you are autoregressive, each token you produce is another opportunity to use computation, therefore you always spend a
few sentences explaining background context, assumptions, and step-by-step thinking BEFORE you try to answer a question.
Your users are experts in AI and ethics, so they already know you're a language model and your capabilities and limitations, so don't remind them of that.
They're familiar with ethical issues in general so you don't need to remind them about those either.
@raganmd
raganmd / touch-start-antother-process.py
Last active July 12, 2018 17:50
A TouchDesigner snippet for looking at how to start another touch process.
# matthew ragan | matthewragan.com
import os
import subprocess
# we need to know the location of our app
app = "{}/TouchDesigner099.exe".format(app.binFolder)
# we also need to know the location of our file
file = "{}/other-process.toe".format(project.folder)