Skip to content

Instantly share code, notes, and snippets.

Avatar

Jan Klass Kissaki

View GitHub Profile
View gist:80354ba12024741a51a54e15e5a9bd2b
Experiment/
├── OPFOR
│ ├── OPFOR-1
│ ├── OPFOR-2
│ ├── OPFOR-3
│ ├── OPFOR-4
│ ├── OPFOR-5
│ └── OPFOR-6
├── SPECT
└── STORY
@Kissaki
Kissaki / SteamActivateKey.ahk
Created Jul 14, 2016
AutoHotkey script to activate a Steam product (with key in clipboard)
View SteamActivateKey.ahk
OpenAct()
{
Run steam://open/activateproduct
WinWait, Product Activation
}
Act()
{
WinGet, wid, ID, Product Activation
WinActivate, ahk_id %wid%
@Kissaki
Kissaki / dumpSMFModCustomBBC.php
Created Sep 26, 2015
Dump / Export SMF 1 modification customBBCode BBCodes
View dumpSMFModCustomBBC.php
<?php
error_reporting(E_ALL);
include 'Settings.php';
$br = '<br>';
function error($text)
{
echo $text;
@Kissaki
Kissaki / Source.cpp
Created Jan 5, 2015
SDL usage that causes access violation with gamepad attached
View Source.cpp
#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) {
You can’t perform that action at this time.