This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Patch Notes: | |
Version 0.5.245 | |
————- | |
Jan 11 | |
More UI Memory Optimizations | |
- Added another Dampeer Alt | |
- Added Russian Blacksmith |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(int y = portion.y; y < portion.height+portion.y; y++) | |
{ | |
for(int x = portion.x; x < portion.width+portion.x; x++) | |
{ | |
int pixelPos = (x*image.width) + y; | |
image.pixelData[pixelPos] = Color.Black; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bmp:Bitmap; | |
var bmpdata:BitmapData; | |
var srect = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); | |
var blurF:BlurFilter = new BlurFilter(3, 3, BitmapFilterQuality.LOW); | |
var colorT:ColorTransform = new ColorTransform(1.0, 1.0, 1.0, 0.9); | |
bmpdata = new BitmapData(0, 0, srect.width, srect.height); | |
bmp = new Bitmap(bmpdata); | |
addEventListener(Event.ENTER_FRAME, onFrame); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Applications | |
# Get all the startup items! | |
path = ["%appdata%\Microsoft\Windows\Start Menu", "%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu"] | |
ext = ["lnk", "exe"] | |
filter = ["uninstall", "welcome", "help", "start here", "readme", "read me", "release notes"] | |
recurse = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public bool TryGetValue<T>(string k, out T value) | |
{ | |
object v; | |
var d = Data.TryGetValue(k, out v); | |
if (d) | |
{ | |
if (v is object[]) | |
{ | |
throw new Exception("TryGetValue does not support arrays, use TryGetArray instead."); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
namespace AxRun | |
{ | |
public class AxConfigEntry | |
{ | |
public string Name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<String> groups = new ArrayList<String>(); | |
groups.add(strLine); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//REPL Script 1.1 | |
#module <Ax/STD.dll> // Needed for console output | |
#module <Ax/Exit.dll> // Needed for exit hook | |
// Exit Handler function. | |
// Whenever the script is stopped this function is called. | |
// It can be used to catch errors and continue the script. | |
~(exit: type error | | |
( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
## Bot, sits in TB server and pings periodically to | |
## remain connected. Parses SAY strings for globals | |
require 'socket' | |
require 'digest/md5' | |
require 'io/wait' | |
def resolver(server) | |
puts "Trying to resolve #{server} to IP..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--dofile("dbg.lua") | |
-- start of graph class | |
graph = { | |
LINE = 0, BAR = 1, | |
Colors = { {1,0,0,0.4}, {0,0,1,0.7}, {0,1,1,0.7}, {1, 0, 1,0.7}, {1, 1, 0, 0.7}, {0, 0.7, 0, 0.7}, {1, 0.5, 0, 0.7}} | |
} | |
graph.__index = graph | |
function graph.new(gtype, x, y, width, height, max) |
OlderNewer