Skip to content

Instantly share code, notes, and snippets.

View mralext20's full-sized avatar

Alexander Terry mralext20

  • Alaska
  • 02:46 (UTC -09:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mralext20 on github.
  • I am mralext20 (https://keybase.io/mralext20) on keybase.
  • I have a public key whose fingerprint is 55DF CA4A 2F95 7785 0004 0B10 74AA 4FCE 2682 0C92

To claim this, I am signing this object:

root@TERRY-DESKTOP-RESURRECTED:~# lsusb
Bus 001 Device 005: ID 18d1:4e40 Google Inc. Nexus 7 (fastboot)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@TERRY-DESKTOP-RESURRECTED:~# fastboot devices
015d2bc2ad38000a fastboot
<html>
<head>
<script>
var currphoto;
var play;
currphoto = '1';
function next(){
if(currphoto==33){
currphoto=1}
else{
@mralext20
mralext20 / logcat.logcat
Created October 21, 2014 00:10
boardwalk crash
--------- beginning of /dev/log/system
I/ActivityManager( 573): Process ch.bitspin.timely (pid 17098) has died.
I/ActivityManager( 573): Process android.process.media (pid 17201) has died.
I/ActivityManager( 573): Process com.laurencedawson.reddit_sync:remote (pid 17243) has died.
I/ActivityManager( 573): Start proc ch.bitspin.timely for broadcast ch.bitspin.timely/.widget.WidgetProvider_: pid=17460 uid=10151 gids={50151, 3003}
@mralext20
mralext20 / Calculator.java
Last active August 29, 2015 14:08
java based calculator
import java.util.Scanner;
public class Calculator {
public static void main(String[] args) {
int type;
double first, secound, answer;
Scanner scan = new Scanner(System.in);
System.out.println("hello! what kind of math would you like to do today?");
System.out.println("[1]: addition");
System.out.println("[2]: subtraction");
@mralext20
mralext20 / CM
Created November 19, 2014 00:17
CM install instructions
Make sure your tablet it plugged in, and send me a hangouts message if you need help with this.
First, download Ubuntu desktop 64 but from http://www.ubuntu.com/download/desktop/ here.
Next, follow the instructions https://help.ubuntu.com/community/Installation/FromUSBStickQuick here.
You should have Ubuntu at least running
This may be all you need, but whatever. Let's install Ubuntu. You should devote ~3-5gb to Ubuntu for it to work nicely. Now navigate to the cyanogenmod download page for your nook. Start that download.
@mralext20
mralext20 / keybase.md
Created December 10, 2014 20:07
keybase.md

Keybase proof

I hereby claim:

  • I am mralext20 on github.
  • I am mralext20 (https://keybase.io/mralext20) on keybase.
  • I have a public key whose fingerprint is 5015 EE20 9AFB DA4B 721D DDD0 C43A 3BBE 29FD 27B6

To claim this, I am signing this object:

#Fire

###Flameshot

actually going to be the move

###Description

your basic firebending move. shoots a projectile in a direction.

#!/usr/bin/env python3
from lxml import html
import requests
import re
from datetime import date
from calendar import monthrange
date = date.today()
year = date.year
#!/usr/bin/env python3
import requests, json, calendar, datetime
prejson = requests.get('http://schedule-server.riffle.tv/schedule/peekingboo')
data = json.loads(prejson.text)
#create empty list containing None, will be popped latter.