Skip to content

Instantly share code, notes, and snippets.

View loganintech's full-sized avatar
💭
Look mom, no status

Logan Saso loganintech

💭
Look mom, no status
View GitHub Profile
@loganintech
loganintech / Asus Z97-A Drivers 'n Stuff
Last active August 29, 2015 14:23
Asus Z97-A Driver Stuff
http://dlcdnet.asus.com/pub/ASUS/misc/utils/AISuite3_Win7-8-8-1_Z97-Series_VER10083.zip
http://dlcdnet.asus.com/pub/ASUS/misc/utils/Turbo_LAN_Win7-8-8-1_V10503_201413.zip
http://dlcdnet.asus.com/pub/ASUS/misc/audio/Realtek_audio_Win7-8-8-1_V6017344.zip
http://dlcdnet.asus.com/pub/ASUS/misc/utils/Intel_Chipset_Win7-8-8-1_V10020.zip
http://dlcdnet.asus.com/pub/ASUS/misc/vga/Intel_VGA_Win7-8-8-1_V1018144206.rar
If this last one does not work, do not worry about it. In fact, this is pretty much optional.
https://unigine.com/products/heaven/
Get heaven benchmark after and report your stats.
@loganintech
loganintech / gist:09270e53ade45d77a1d7
Created June 22, 2015 06:39
What does this print assuming parameters[0] is not sent.
@Override
public String execute(String channel, String sender, String... parameters) {
try {
System.out.println(parameters[0]);
}
catch(Exception e) {
parameters[0] = "fish"; //It doesn't matter as long as it is not continue. We didn't check if there was no parameters.
}
if(!parameters[0].equalsIgnoreCase("continue")) {
@loganintech
loganintech / examplejson.json
Created July 14, 2016 17:09
To show MrEegras here how easy it is.
{"kind": "Listing", "data": {"modhash": "sq4wt4c0kr5855f7065550fafecd186c0631d922c6bf1aae5c", "children": [{"kind": "t1", "data": {"subreddit_id": "t5_2sgp1", "link_title": "Totalbiscuit on Twitter: \"If you're complaining that a PC is too hard to build then you probably shouldn't call your site Motherboard.\"", "banned_by": null, "removal_reason": null, "link_id": "t3_4sn1jh", "link_author": "NameSmurfHere", "likes": null, "replies": "", "user_reports": [], "saved": false, "id": "d5as1ce", "gilded": 0, "archived": false, "stickied": false, "author": "TheAppleFreak", "parent_id": "t1_d5ar152", "score": 1, "approved_by": null, "over_18": false, "report_reasons": [], "controversiality": 0, "body": "Gotcha. I don't have any personal experience with their motherboards; I run Gigabyte in both of my PCs. Figured the configuration error message was standard. ", "edited": false, "author_flair_css_class": "text-icon-only color-mod icon-mod", "downs": 0, "body_html": "<div class=\"md\"><p>Gotcha. I don&
@loganintech
loganintech / SpotifyColoredTrackTitle.lua
Created November 14, 2016 20:42
Gets the track title of a spotify song and plays it on the keyboard in a way people can hopefully read.
----------------------------------------------------------------------------------
-------------------------------- Artemis LUA file --------------------------------
----------------------------------------------------------------------------------
-- This is a default script to be executed by Artemis.
-- You do not need to use this if you don't want to script. The default profiles
-- should provide you with a lot of functionality out of the box.
-- However, if you want to change the way profiles work, this is the ideal way
-- go about it.
def generate_table(size):
table = []
for i in range(size):
temp_list = []
for x in range(size):
temp_list.append(-1)
table.append(temp_list)
@loganintech
loganintech / dailyprogrammer183.py
Last active December 15, 2016 10:11
This is for /r/dailyprogrammer 's challenge 183... It's a piece of crap but it works
##Sample Input.txt##
#7
#2.0.11-alpha
#0.1.7+amd64
#0.10.7+20141005
#2.0.12+i386
#1.2.34
#2.0.11+i386
#20.1.1+i386
####################
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cstdint>
#include <ctime>
using namespace std;
bool ask_continue();
bool make_decision();

Keybase proof

I hereby claim:

  • I am jewsofhazard on github.
  • I am jewsofhazard (https://keybase.io/jewsofhazard) on keybase.
  • I have a public key whose fingerprint is 93B4 5B7C FBCB D1D9 164D EB42 D8E1 9CEB 9782 046F

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am HazardDev on github.
  • I am jewsofhazard (https://keybase.io/jewsofhazard) on keybase.
  • I have a public key whose fingerprint is 93B4 5B7C FBCB D1D9 164D EB42 D8E1 9CEB 9782 046F

To claim this, I am signing this object:

#include <string>
#include <cstdlib>
#include <iostream>
using namespace std;
class Animal {
private:
string name;