Skip to content

Instantly share code, notes, and snippets.

View dvtate's full-sized avatar
🐧
chilling

Dustin Van Tate Testa dvtate

🐧
chilling
View GitHub Profile
#version 3.7;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }}
#include "colors.inc"
light_source {
<50, 20, 10>
color White
import tkinter as tk;
import random;
import time;
def randomColor():
return "#%03x" % random.randint(0, 0xFFF);
class BouncyBall(object):
@dvtate
dvtate / Wireframe.pov
Last active July 6, 2016 20:16
wire-frame box with colors and stuff
#version 3.7;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }}
// libraries
#include "colors.inc"
#include "textures.inc"
#include "glass.inc"
#include "metals.inc"
@dvtate
dvtate / client.py
Created June 24, 2016 14:21
python server test
import socket;
import sys;
host = "127.0.0.1";
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM);
client_addr = ("127.0.0.1", 10000);
@dvtate
dvtate / axiis.pov
Last active June 27, 2016 19:50
a short POV Ray render file I made @ GHP
#version 3.7;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }}
#include "colors.inc"
#include "textures.inc"
#include "glass.inc"
#include "metals.inc"
#include "golds.inc"
@dvtate
dvtate / conway.py
Last active June 22, 2016 22:04
python implementation of conway's game of life. (incomplete)
from tkinter import *;
from random import randint;
from time import sleep;
WIDTH = 500;
HEIGHT = 500;
# create the cells matrix
def init_cells(window, population):
global HEIGHT;
@dvtate
dvtate / codequest_prob07_2014.java
Last active June 9, 2016 23:28
a morse code translator I made as practice for codequest 2015
import java.io.*;
import java.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;//arrayList and .sort()
import java.util.*;
/**Morse Code translator
*-Summary:
* Translates text to morse code until it reaches
* "END OF TRANSMISSION" where it translates morse to text
*-Date: 4-29-2015
@dvtate
dvtate / dav.cs
Last active March 31, 2017 06:37
a helloworld application was all it took to tell me that C# wasn't for me...
using System;
class Dav {
string name;
bool noname = false;//default = no-loop
static void Main(){//run once @ start-up
@dvtate
dvtate / search_bot.vbs
Created June 9, 2016 23:04
another old program of mine
Dim objIE, objWSH, intSC
MsgBox "Welcome to SearchBot 0.2" &vbNewLine& "-By: DV Tate Testa", 0, "Welcome - SearchBot 0.2"
'Get Info
strQ = InputBox("What do you want to search for?", "Query - SearchBot 1.2")
intSC = InputBox("How many times?", "SearchBot 1.2")
strQ = trim(strQ)
'Create IE obj
Set objIE = CreateObject("InternetExplorer.Application")
''''''''''!'TriProg
'Author: Dustin Van Tate Testa
'Purpose: To find the area between any three points on a coordinate plane
'Original production date: 1-2-2014
'This is one of the many files lost on my programming drive which I have rebuilt
'Rebuild date: 12-28-2014
'
'TODO:
' Rebuild based on an ASP classic page I made based on this program
' Replace math process with heron's formula(like in website)