Skip to content

Instantly share code, notes, and snippets.

View scottshuffler's full-sized avatar
🏠
Working from home

Scott scottshuffler

🏠
Working from home
View GitHub Profile
alu (int x, int y, int *flags, int op)
{
int result = 0;
switch (op)
{
CASE ADDL:
result = x+y;
result = (unsigned)x + (unsigned)y;
if (result < x)
{
# ---------------------------------------------------------------------------
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
# 6. Networking
# 7. System Operations & Information
from ftplib import FTP as ftp
session = ftp()
session.connect(host,port)
session.login(username,password)
session.cwd(remote_directory)
fp = open(path,'rb')
//gcc -m32 -std=c99 c_practice.c
//objdump -d a.out
int foo(int, int, int);
void getNumbers(int *, int *, int *);
int main(void) {
int x, y, z;
getNumbers(&x,&y,&z);
int result = foo(x, y, z);
#!/bin/bash
remote_we_loc="/usr/local/apache2/htdocs/cs/wags/***Your_Name***/we"
local_we_loc="/home/***Your_Name***/workspace/Wags_Client/war/we"
if [[ $# == 0 ]]; then
echo "usage: $0 username [local-path]"
exit 1
elif [[ $# == 2 ]]; then
local_we_loc=$2
/*
* changeStack.c
*
* Created: 1/26/2016 2:00:48 PM
* Author : shuffleres
*/
#include <avr/io.h>
#include <avr/interrupt.h>
//#include "../../../../../toolchain/avr8/avr8-gnu-toolchain/avr/include/avr/io86r401.h"
import sys
import time
print('-------------------------------------------')
print('-------~ Beemon Alpha Version 1.0 ~-------')
print('-------~ Type help for commands ~-------')
print('-------------------------------------------')
while True:
arg = input('-> ')
if not bool(arg.strip()):
@scottshuffler
scottshuffler / Main.java
Created February 10, 2016 15:52 — forked from jewelsea/Main.java
Small JavaFX framework for swapping in and out child panes in a main FXML container. Code is for Java 8+.
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import java.io.IOException;
/**
* Main application class.
/*
* timer.c
*
* Created: 2/16/2016 2:55:03 PM
* Author : shuffleres
*/
#include <avr/io.h>
#include <avr/interrupt.h>
/**
* Created by Scott
* Apphack is April 22nd ends the 23rd
* Pizza at:
* Prizes are:
* Come play games and hack!
*/
public class AppHack implements AppHackEvent{
private int startTime;