Skip to content

Instantly share code, notes, and snippets.

View loganintech's full-sized avatar
💭
Engineer at @ConductorOne

Logan Saso loganintech

💭
Engineer at @ConductorOne
View GitHub Profile
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);
@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
@loganintech
loganintech / WhyVSCode.md
Created September 22, 2017 18:46
This is why I use VSCode over other text editors :)

Description

Visual Studio Code is an electron-based text editor written in TypeScript and intended for TypeScript development. It has support for TSLint and ESLint out of the box, and is very heavily geared towards modern development with extensions for every need. Extensions can be anything from special coloring of brackets, themes, or entire languages with debug support (see Java extension from RedHat). It has built-in git tools and a diff editor. Debugging is written to be simple and supports many languages. The C++ debugger is quite good.

Features

  • Beautiful and Customizable UI
@loganintech
loganintech / config.json
Created September 24, 2017 02:10
living-status-bot config
{
"token": "MzU5NDY5ODIxNTc1OTU0NDYy.DKHekQ.6B42mNuYThtD2mO8tb6eAHv6wjw",
"autorun": true,
"tracebackChannel": "359812958911725570",
"macAddresses": {
"80:ed:2c:65:3e:12": "Joey",
"90:b6:86:52:03:36": "Shane",
"ac:37:43:77:57:e2": "Alex",
"dc:2b:2a:57:94:90": "Logan"
}
#include <sys/syscall.h>
#define STRING "Hello, World!\n"
.globl main
.type main, @function
main:
jmp call_addr /* jmp to call addr to get the address of STRING */
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions
cinst -y googlechrome
cinst -y steam
cinst -y geforce-game-ready-driver
cinst -y depressurizer
cinst -y steam-cleaner
cinst -y uplay
cinst -y 1password
cinst -y 7zip.install
extern crate image;
pub mod zoom {
use gif::{Encoder, Repeat, SetParameter};
use gif;
use image::{GenericImage, DynamicImage, FilterType};
use std::fs::File;
use std::borrow::Cow;
^m::
SoundGet, master_vol
master_vol += 5
SoundSet, %master_vol%
Return
^n::
SoundGet, master_vol
master_vol -= 5
SoundSet, %master_vol%
@loganintech
loganintech / boxstarter.txt
Created June 17, 2018 06:41 — forked from PxlBuzzard/boxstarter.txt
Boxstarter (Personal)
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions
powercfg -h off
cinst git
cinst nodejs.install
cinst python -version 2.7.13
cinst pip
cinst dmd
cinst dub
cinst DotNet3.5
@loganintech
loganintech / matrix.rs
Created October 9, 2018 19:53
The first assignment for my operating systems class re-written in rust for fun
use std::env;
use std::fs::File;
use std::io::{self, BufRead, BufReader, Read};
use std::process::exit;
// Type alias for matrix. Matrix is a 2-d array of 32-bit signed ints
type Matrix = Vec<Vec<i32>>;
//Loop over our matrix and print it from top to bottom, left to right
//Take it by reference because we don't want to steal ownership from the caller when printing