Skip to content

Instantly share code, notes, and snippets.

View GlassGhost's full-sized avatar

GlassGhost GlassGhost

View GitHub Profile
///////////////////////////////////////////////////////////////////////////////
// This file was created with
// Dota Customkey Generator 3.5
//
// Try it out at http://www.drjones.dk/customkeys
// Please check back once in a while for bugfixes and updates
//
// Game: WarCraft III The Frozen Throne
// Map: DotA Allstars 6.73
//
@GlassGhost
GlassGhost / HTML Clipboard.htm
Last active September 27, 2015 12:57
HTML Clipboard
<!DOCTYPE html><html style="width:100%; height:100%; background:url(http://imageshack.us/a/img715/2300/bootanimationf.gif) center center no-repeat; background-color:#000000;color:#ffffff;">
<head><meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>HTML Clipboard</title>
<!--There's tag for documentation of your xml/html-->
<!--------------------------Scripts and Styles by URL-------------------------->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="./default.js"></script>
<link rel="stylesheet" type="text/css" href="./default.css"/>
<!-------------------------Built-In Scripts and Styles------------------------->
<script language=javascript type='text/javascript'>
@GlassGhost
GlassGhost / glxcb.c
Created October 10, 2011 19:23
proper use of xcb and opengl involves x11 since most manufacturers only write libs for x11
/* glxcb.c taken from:
http://xcb.freedesktop.org/opengl/
to compile it use :
gcc -std=c99 -Wall glxcb.c -lxcb -lX11 -lGL -lX11-xcb -o glxcb
*/
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
@GlassGhost
GlassGhost / autoexec.cfg
Last active September 27, 2015 17:28
engi script
//save this file as C:\Program Files (x86)\Steam\steamapps\common\team fortress 2\tf\cfg\autoexec.cfg
//don't render more frames than monitor can show to save energy and reduce temps for longer cpu life; adjust according to your monitor
fps_max 60
------------------
System Information
------------------
Time of this report: 12/18/2011, 18:27:12
Machine name: K53TA-BBR6
@GlassGhost
GlassGhost / autoexec.cfg
Last active October 6, 2015 07:28
Dota 2 cfg
//save this file as C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\cfg\autoexec.cfg
//enables console
bind "`" "toggleconsole"
dota_mouse_window_lock "1" //Locks mouse cursor within windows
// allows u to right-click deny but disables auto follow
dota_force_right_click_attack 1
//changes the block size in health bars
dota_health_per_vertical_marker 125
@GlassGhost
GlassGhost / neroaacAudex.sh
Created August 20, 2012 03:26
audex bash script to use the neroAacEnc AND neroAacTag programs to rip cds
#!/bin/bash
# Kibibit/s bit/s
# 96 98304
# 128 131072
# 160 163840
# 192 196608
# 224 229376
# 256 262144
#audex command: neroaacAudex.sh $i $o $artist $cdno $cover $date $genre $tartist $title $trackno $ttitle
i="$1"
@GlassGhost
GlassGhost / blackrose_worked.txt
Created November 9, 2012 22:24
blackrose_worked
root@K53TA:/home/owner/Downloads/blackrose_120421# ./BlackRose skip
Loading...
* daemon not running. starting it now *
* daemon started successfully *
-------------------------------
| Nexus One BlackRose 120421 |
| Made by Lecahel(XDA-dla5244) |
| Dok-Do belongs to KOREA |
-------------------------------
@GlassGhost
GlassGhost / InstallDebianOnVbox.txt
Last active December 17, 2015 14:39
Debian install on virtualbox the legit hardcore offline install way that dont give 2 shits about no Desktop Environment.
Use a torrent program to Download the debian live rescue iso from:
http://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/
Startup VirtualBox
make a 16gb drive to use as your root partition.
make a 4gb drive to use as a swap partition.
Select the iso you downloaded to be your boot partition, and run virtualbox installing with the gui with custom partition scheme using your drives as you made earlier.
to use "vi" you start in "command mode" for more info on vi go to http://www.lagmonster.org/docs/vi.html
i to go into "insertion mode" to type stuff in
@GlassGhost
GlassGhost / perfect_de-warding.txt
Last active December 20, 2015 16:59
de-warding command list help file
#Pick NS then type these commands in your dota 2 console:
dota_creeps_no_spawning_enable; dota_ability_debug_enable;
dota_hero_level 25;
dota_create_item item_ultimate_scepter;
dota_create_item item_blink;
dota_create_item item_rapier;
dota_create_item item_rapier;
dota_create_item item_rapier;
dota_create_item item_bfury;