This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ftplib import FTP as ftp | |
session = ftp() | |
session.connect(host,port) | |
session.login(username,password) | |
session.cwd(remote_directory) | |
fp = open(path,'rb') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* timer.c | |
* | |
* Created: 2/16/2016 2:55:03 PM | |
* Author : shuffleres | |
*/ | |
#include <avr/io.h> | |
#include <avr/interrupt.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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; |
OlderNewer