Skip to content

Instantly share code, notes, and snippets.

View Walkman100's full-sized avatar

░▒▓█│【Walkman】│█▓▒░ Walkman100

View GitHub Profile
@flying-sheep
flying-sheep / Extractor.boo
Created June 4, 2011 18:57
Terraria Sprite Extractor
namespace WindowsGame2
import System.IO
import Microsoft.Xna.Framework
public class Extractor(Game):
private graphics as GraphicsDeviceManager
private basePath as string
private outPath as string
@sapslaj
sapslaj / chrome_app_generator.rb
Last active December 15, 2015 22:39
Quickly make Chrome Apps from URLs! (Now with ICONS!)
# written by sapslaj
print "Quick Chrome URL App Generator Thingy\n"
print "=====================================\n"
print "Name:\n"
name = gets
print "App URL: \n"
appurl = gets
@Danik
Danik / Sublime context menu.reg
Created June 18, 2013 19:05
Sublime Text 2 "Open With" context menu for files and folders in Windows.
Windows Registry Editor Version 5.00
; Sublime context menu.reg
; Sublime Text 2 "Open With" context menu for files and folders.
; Also assigns the icon to the menu item.
; By Danik
;
; IMPORTANT:
; You need to replace all the paths to sublime_text.exe if it's
; installed in a different location than
@Danik
Danik / capslock_remap_alt.ahk
Last active May 4, 2024 05:16
Autohotkey Capslock Remapping Script. Makes Capslock function as a modifier key to get cursor keys etc. on the left side of the keyboard, so you never have to move your hand to the right.
; Autohotkey Capslock Remapping Script
; Danik
; More info at http://danikgames.com/blog/?p=714
; danikgames.com
;
; Functionality:
; - Deactivates capslock for normal (accidental) use.
; - Hold Capslock and drag anywhere in a window to move it (not just the title bar).
; - Access the following functions when pressing Capslock:
; Cursor keys - J, K, L, I
@sapslaj
sapslaj / spriteviewer.html
Last active January 1, 2016 23:09
Mini sprite viewer made with jQuery and some CSS tricks. Set variables in the URL, ie: spriteviewer.html?image=http://i.imgur.com/GAZG8wV.png&framesize=40&framecount=8&fps=30
<!doctype html>
<html>
<body>
<div id="canvas"></div>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script>
var options = {};
window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (m, key, value) {
options[key] = value;
});
@Walkman100
Walkman100 / ProjectsAndFeatures.md
Last active August 1, 2016 16:29
Projects and upcoming features

OUTDATED. PLEASE SEE gists/ProjectsAndFeatures.md

A list of all projects is available here.

  • Command line flags
  • Update checker
  • More buttons
  • Open Deturl download links page
  • Display thumbnail button
  • Release v1.4.2 (Waiting for @Deavmi to look at the thumbnail viewer)
namespace WindowsGame2
import System.IO
import Microsoft.Xna.Framework
public class Extractor(Game):
private graphics as GraphicsDeviceManager
private basePath as string
private outPath as string
@maxov
maxov / FormattingJavadocs.md
Last active August 29, 2015 14:10
Fixing formatting errors

Fixing Javadoc Formatting Errors

Problem

I found it necessary to fix some formatting errors. Here are the big types:

/**
 * @param param uncapitalized parameter or with period.
 * @return uncapitalized return or with period.
@gnumoksha
gnumoksha / telegram-cli_example_usage.md
Last active December 5, 2021 14:24
Telegram-cli example usage

Install the required packages

apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev make git -y

Compile

cd /usr/src
git clone --recursive https://github.com/vysheng/tg.git
@NoraCodes
NoraCodes / SCFAonLinux.md
Last active April 4, 2024 13:26
Supreme Commander: Forged Alliance with Steam on Linux with PlayOnLinux

This guide is out of date. Use https://github.com/FAForever/faf-linux instead.

Install PlayOnLinux with your package manager (i.e. sudo apt-get install playonlinux). Then, type playonlinux and wait for it to refresh its list.

Install Steam under PlayOnLinux. Once Steam is running, exit it, select its entry in PlayOnLinux, and select Configure.

I suggest using Wine 1.7.8-d3d doublebuffer

Now go to the "Install Components" section and install, in any order: d3dx9, directx9, dotnet40