Skip to content

Instantly share code, notes, and snippets.

View deastrobooking's full-sized avatar

. deastrobooking

  • .
View GitHub Profile
# Make sure you have Anaconda installed
# This tutorial assumes you have an Nvidia GPU, but you can find the non-GPU version on the Textgen WebUI github
# More information found here: https://github.com/oobabooga/text-generation-webui
conda create -n textgen python=3.10.9
conda activate textgen
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
git clone https://github.com/oobabooga/text-generation-webui
cd text-generation-webui
python -m pip install -r requirements.txt
const PIE = 3.14;
function f() {
console.log('function f inside module a');
}
function f123() {
//not accessible
}
@Jackhammer9
Jackhammer9 / MyPaint.py
Created April 28, 2019 12:02
so i made a paint application no hate i am just 14
import turtle
win = turtle.Screen()
win.setup(900,600)
win.title("Jackhammer's Paint")
# ribbon
rib = turtle.Turtle()
rib.hideturtle()
rib.color('thistle')
@AdmiralPotato
AdmiralPotato / bibodhas_triangles.py
Created February 25, 2015 09:39
Another Blender Python Script to animate a large number of group instances in a really captivating motion pattern. Created with my developer friend Bibodha. https://github.com/bibodha
#So far, my Python scripts for Blender are segmented into
#a "create the objects" script,
#and a "describe their motion over time" script.
#The "motion.py" script must be run and have the "register"
#checkbox clicked on it in the Blender "Text Editor" window,
#so that it will add the driver every time the file loads.
#To use the creation script, you must already have a group named
#"Triangle" defined with some renderable mesh in it so that the
#"creation.py" script can create instances of that group.
#My "Triangle" group has a skinned wireframe triangle in it.
@lehmannro
lehmannro / shapes.py
Created January 4, 2013 17:16
Experiment how far we can go in teaching OOP with turtle.
#!/usr/bin/env python
# encoding: utf-8
from __future__ import division
from turtle import Turtle
import math
import random
class ShapefulTurtle(Turtle):