Skip to content

Instantly share code, notes, and snippets.

View eightseventhreethree's full-sized avatar
👾
Focusing

Rush eightseventhreethree

👾
Focusing
View GitHub Profile
/*Yoselyn Rea, 10/09/17, Large Program 1, Letter Guessing Game*/
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
//#include <iostream>
#include <ctype.h> //tolower
#define MAXGUESSES 5
//paste all the function prototypes here
//with the comments
//this function provides instructions to the user on how to play the game
{
"workbench.colorTheme": "Monokai",
"vim.disableAnnoyingNeovimMessage": true,
"window.zoomLevel": 1,
"files.autoSave": "onFocusChange",
"window.restoreWindows": "all",
"terminal.external.osxExec": "iTerm.app",
"terminal.explorerKind": "integrated",
"workbench.fontAliasing": "antialiased"
}
@eightseventhreethree
eightseventhreethree / demo_var_types.py
Created September 4, 2017 23:44
Demostration of variable types and how to obtain them for debugging
#!/usr/bin/env python
# global vars
varInt=1
varFloat=1.1
varStr="Hello World"
varList=['hello', 'world', 'this', 'is', 'a', 'list']
# Doing stuff with tacos
print "Below are the types associated to the variables: \n"
print varInt,"is",type(varInt)
print varFloat,"is",type(varFloat)
@eightseventhreethree
eightseventhreethree / create_ascii_art.sh
Last active August 14, 2017 15:38
Creates ascii art, the url is the first argument of the script only work on Ubuntu.
#!/usr/bin/env bash
sudo apt-get install ruby ruby-dev
sudo apt-get install imagemagick libmagickwand-dev
sudo gem install asciiart
url_of_file=$1
ruby_script_var="$(cat <<EOF
#!/usr/bin/env ruby
require 'asciiart'
art_file = AsciiArt.new("${url_of_file}")
#Tkinter calls for GUI
from Tkinter import *
import ttk
import Tkinter
import tkMessageBox
#Elementree and Subprocess calls
from xml.etree.ElementTree import ElementTree
from xml.etree.ElementTree import Element
#Tkinter calls for GUI
from Tkinter import *
import ttk
import Tkinter
import tkMessageBox
#Elementree and Subprocess calls
from xml.etree.ElementTree import ElementTree
from xml.etree.ElementTree import Element