Skip to content

Instantly share code, notes, and snippets.

Avatar
🐛

Kye Russell KyeRussell

🐛
View GitHub Profile
@KyeRussell
KyeRussell / keybase.md
Created Feb 13, 2017
keybase verification
View keybase.md

Keybase proof

I hereby claim:

  • I am kyerussell on github.
  • I am kyerussell (https://keybase.io/kyerussell) on keybase.
  • I have a public key whose fingerprint is 3723 DA1F B7D4 B502 A2F6 A956 0DE9 1520 BECF 5478

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am kyerussell on github.
  • I am kye (https://keybase.io/kye) on keybase.
  • I have a public key whose fingerprint is E9E4 7A5F 8F4B C4FA 2AEF F71B 430A A94B 9606 6566

To claim this, I am signing this object:

View such gdb, wow!
lab220-07:~/librarymanager:16927140$ gdb ./librarymanager
GNU gdb (GDB) Red Hat Enterprise Linux (7.1-29.el6_0.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
View DSA120 assignment output
Main Menu
- load from file
- sort array
- search array
- build bst
- search bst
- exit
>>> load from file
path> /Users/KyeRussell/Downloads/DataMillion.csv
View TIL.java
public class Dicks
{
public static void main(String[] args)
{
try
{
throw new Exception();
} catch (Exception e) {
return;
} finally {
View sshd.conf
# Basics
Port 22
Protocol 2
# Keys
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
AuthorizedKeysFile %h/.ssh/authorized_keys
@KyeRussell
KyeRussell / bubble.py
Created Aug 2, 2013
Python bubble sort
View bubble.py
set = [1, 6, 2, 1, 21, 8, 34, 9, 9.1, 1, 12, 901, 0.31, -3]
searchable_set = len(set) - 1;
while searchable_set >= 0:
count = 0
while count <= searchable_set - 1:
if set[count] > set[count + 1]:
old = set[count + 1]
set[count + 1] = set[count]
@KyeRussell
KyeRussell / argument-passing-for-dummies.php
Created Jun 7, 2013
Argument passing for dummies, for somebody else. Gross oversimplifications.
View argument-passing-for-dummies.php
<?php
/* Let's say we have this function, it just adds one to a
* number and returns the resulting value.
*
* It takes in a paramater, which we call $number.
*
* $number is a variable which only exists within the function, when we try
* to access $number from outside the function, it simply doesn't exist.
* $number simply refers to whatever we've passed to addOneToNumber. We use
@KyeRussell
KyeRussell / battleship.c
Created Mar 12, 2013
battleship.c, or how to suck at programming. I DID NOT WRITE THIS.
View battleship.c
/* - Battle Ship - */
/* - By Simplicity - */
#include <stdio.h>
//#include <conio.h>
#include <stdlib.h>
void checkShips();
void quitGame();
void targeting();
@KyeRussell
KyeRussell / parse.py
Created Sep 26, 2011
Facebook API Example
View parse.py
import urllib2
import json
class FBParser(object):
"""Receive Facebook Open Graph API calls and return an object containing
the results"""
def call(self, call, api="https://graph.facebook.com/"):
"""Process Facebook API calls."""
# Grab the content.