Skip to content

Instantly share code, notes, and snippets.

View Walkman100's full-sized avatar

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

View GitHub Profile
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.
@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
@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)
OUTDATED. PLEASE SEE https://walkman100.github.io/formatting
<text>
```java
<code>
```
(Documentation [here](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown))
@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
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
This is a little script to download every song from every playlist
if your Google Play Music account. Songs are organized as follows:
<playlist>/<artist>/<album>/<song>.mp3
I Highly recomend putting this file in your %USER%\Music folder
before running.
@Memphizzz
Memphizzz / Tmp.cs
Last active December 15, 2020 18:39
Helpers.ShowFileProperties(sourcePath);
IntPtr ptr = IntPtr.Zero;
var title = IsDirectory(sourcePath) ? new DirectoryInfo(sourcePath).Name : new FileInfo(sourcePath).Name;
title += " Properties";
while (ptr == IntPtr.Zero)
ptr = Helpers.FindWindow("#32770", title);