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 / .gitignore_global
Created June 5, 2017 23:14
This is the gitignore that I use on my laptop
*~
.DS_Store
config.txt
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
using namespace std;
int main(int argc, char * argv[]){
string test = "start|test|figghty | awdawdawd awdaa| awdawd|WAdawdawdawdawdawdw|awdend";
int array_size = 0;
string * array = split(test, "|", array_size);
#include <string>
#include <cstdlib>
#include <iostream>
using namespace std;
class Animal {
private:
string name;

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:

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:

#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cstdint>
#include <ctime>
using namespace std;
bool ask_continue();
bool make_decision();
@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
####################
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 / 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.
@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": "&lt;div class=\"md\"&gt;&lt;p&gt;Gotcha. I don&amp;