Skip to content

Instantly share code, notes, and snippets.

View Kissaki's full-sized avatar

Jan Klass Kissaki

View GitHub Profile
Experiment/
├── OPFOR
│ ├── OPFOR-1
│ ├── OPFOR-2
│ ├── OPFOR-3
│ ├── OPFOR-4
│ ├── OPFOR-5
│ └── OPFOR-6
├── SPECT
└── STORY
@Kissaki
Kissaki / SteamActivateKey.ahk
Created July 14, 2016 08:10
AutoHotkey script to activate a Steam product (with key in clipboard)
OpenAct()
{
Run steam://open/activateproduct
WinWait, Product Activation
}
Act()
{
WinGet, wid, ID, Product Activation
WinActivate, ahk_id %wid%
@Kissaki
Kissaki / dumpSMFModCustomBBC.php
Created September 26, 2015 12:35
Dump / Export SMF 1 modification customBBCode BBCodes
<?php
error_reporting(E_ALL);
include 'Settings.php';
$br = '<br>';
function error($text)
{
echo $text;
@Kissaki
Kissaki / Source.cpp
Created January 5, 2015 23:58
SDL usage that causes access violation with gamepad attached
#include <iostream>
#include <SDL.h>
int main(int argc, char* args[])
{
// Whether we do SDL_Init before-hand,
// initialize the JOYSTICK subsystem in SDL_Init,
// or initialize separately like as follows,
// ...
if (SDL_Init(0) < 0) {