Skip to content

Instantly share code, notes, and snippets.

View eightseventhreethree's full-sized avatar
👾
Focusing

Rush eightseventhreethree

👾
Focusing
View GitHub Profile
#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
@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}")
@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)
{
"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"
}
/*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
//Giovanna Rea-espin, COP2220, October 10, 2017, Large Program 1 Algorithm. Letter guessing game.
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <ctype.h>
#define MAXGUESSES 5
//this function provides instructions to the user on how to play the game
void GameRules() {
printf("Welcome to the Letter Guesing Game\n");
printf("\nYou will begin by entering the number of games you want to play\n");
#!/usr/bin/env python3
import sys
from datetime import datetime
from datetime import timedelta
class Input(object):
def _set_input(self):
try:
x = input('Enter minutes as an integer: ')
@eightseventhreethree
eightseventhreethree / JolokiaCommands.md
Created April 24, 2019 21:00 — forked from yashpatil/JolokiaCommands.md
Jolokia URLs for quick access to A-MQ statistics

This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console.

@eightseventhreethree
eightseventhreethree / specs.txt
Created September 22, 2019 01:24
threadripper_build_specs
System Information
PROCESSOR: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz
Core Count: 16
Thread Count: 32
Extensions: SSE 4.2 + AVX2 + AVX + RDRAND + FSGSBASE
Cache Size: 512 KB
Microcode: 0x8001137
Scaling Driver: acpi-cpufreq ondemand