Skip to content

Instantly share code, notes, and snippets.

Avatar
🛹
Shreddin'

Aaron Turner torch2424

🛹
Shreddin'
View GitHub Profile
@torch2424
torch2424 / personal bash.rc
Last active Feb 10, 2016
My Added variables and things for stuff like android and Ionic, and random aliases I use
View personal bash.rc
#This was done automatically by: https://github.com/glenpike/npm-g_nosudo
NPM_PACKAGES="/home/torch2424/.npm-packages"
NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
PATH="$NPM_PACKAGES/bin:$PATH"
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
# command
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
@torch2424
torch2424 / Ascii Art to jpg
Created Nov 14, 2015
For Code and Coffee. Can take any ascii art text file, and create a huge image of random colors representing that Ascii art
View Ascii Art to jpg
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.geom.AffineTransform;
import java.awt.image.AffineTransformOp;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.Random;
import java.util.Scanner;
@torch2424
torch2424 / Macro-MicrosoftOffice-SaveEveryIndividualPageAs-HTML
Last active Nov 10, 2015
A Microsoft Offics Macro used in the process of converting a large word document into individual html files
View Macro-MicrosoftOffice-SaveEveryIndividualPageAs-HTML
/*********************************
COMMENTS - DO NOT COPY THIS CODE
Worked in the past, I remember having to do this weird thing to get the pages to save a certain place, but I forget.
You may need to adjust "For idx = 1 To numPages" to numPages being the actual pages, as the loop broke on me once.
Also, If you navigate to the desired output folder with the "save as" button,
@torch2424
torch2424 / JDBC Java
Last active Oct 15, 2015
Java code for the jdbc project
View JDBC Java
---JAVA CODE---
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
@torch2424
torch2424 / JDBC SQL Database Project
Last active Apr 1, 2019
SQL For creating the database for the JDBC project
View JDBC SQL Database Project
---SQL CODE---
/* Create Our Tables */
CREATE TABLE recgroup
(
groupname VARCHAR(15) NOT NULL,
leadsinger VARCHAR(15),
yearformed VARCHAR(20) NOT NULL,
genre VARCHAR(15),
@torch2424
torch2424 / SqlPractice
Last active Apr 16, 2019
Lab 3 Databases, Sql practice for the lab exams
View SqlPractice
CREATE TABLE authors
(
au_id CHAR(3) NOT NULL,
au_fname VARCHAR(15) NOT NULL,
au_lname VARCHAR(15) NOT NULL,
phone VARCHAR(12) ,
address VARCHAR(20) ,
city VARCHAR(15) ,
state CHAR(2) ,
zip CHAR(5) ,