Skip to content

Instantly share code, notes, and snippets.

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

Andrew Plaza insipx

🏠
Working from home
View GitHub Profile
import random
def genName():
boyNames = {0: "Jack",1: "Andrew", 2: "Mike",3: "Terry",4: "Torvald", 5: "Gatsby"}
girlNames = {0: "Alice", 1: "Hana", 2: "Clare", 3: "Janet", 4: "Daisy"}
genderList = {0: "M", 1: "F"}
import random
def sample(items):
randomIndex = random.randrange(len(items))
return items[randomIndex]
def promptForGender():
genderList = ["male", "female"]
<div id=subnavigation" class="sidebar">
<div class="mt-about-you-widget">
<div class="widget side">
<img class="mt-about-avatar" alst="Andrew Plaza" src="/assets/img/aboutPic.png">
<h4>insidious</h4>
<h5>(Andrew Plaza)</h5>
<div class="mt-about-bio">
<p> I'm a born tech nerd. Well...probably not born, but I'm working on it. I fanaticize everything programming, hacking, or Lovecraft (probably a bit too much for my own good). This blog describes the technical processes behind many of my endeavors. If you're more into theoretical nerdy-geeky stuff, check out <a href="http://www.liquidthink.net">Liquid Think</a>, my other blog!</p>
</div>
</div>
ctrl_interface=/var/run/wpa_supplicant
ap_scan=0
network={
key_mgmt=IEEE8021X
eap=PEAP
pairwise=CCMP TKIP
phase2="auth=MSCHAPV2"
identity="<redacted>"
password="<redacted>"
priority=2
char * readUUI()
{
//allocate 64bytes for usage
size_t size = 64;
char *str = (char*)malloc(size);
if(str){
}else{
die("Mem allocate unsuccessful");
}
public void insert(int val){
//root case
if(this.size == 1){
heap[ROOT] = val;
this.size++;
}else{
if(this.size >= this.maxSize){
//multiplying by two ensures a full (no null array out of bounds) next level of the heap
int increment = maxSize * 2;
int[] tmp = new int[maxSize + increment];
package conway.highest.value;
import conways.Conways;
import java.util.Random;
/**
* Created by insidious on 4/5/16.
* <p>
;-------------------------
;BuildLst()
;------------------------
;---Local Variables----
size: .BLOCK 2 ; size
head: .BLOCK 2
stringrf: .BLOCK 2 ;the addr of the str from readSo
next: .BLOCK 2 ;the addr where we can start putting stuff in the heap
node: .BLOCK 2
;----------------------
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/wait.h>
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("chan.sinister.ly") {
* {
font-family: "Droid Sans", "Source Sans Pro" !important;
font-size: 10pt !important;
}
html,body, .extPanel, .panel, kbd, #bd *, #ft *, .yui-g *, .top-box, .top-box *,
table, tr, td, .pagelist {
background: #17181A !important;