Skip to content

Instantly share code, notes, and snippets.

View EnterTheNameHere's full-sized avatar

EnterTheNameHere Bohemian EnterTheNameHere

  • Czech Republic
View GitHub Profile
@EnterTheNameHere
EnterTheNameHere / waitForKeyElements.js
Last active July 24, 2017 21:16 — forked from BrockA/waitForKeyElements.js
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
@EnterTheNameHere
EnterTheNameHere / ZafehouseScript_Task_BuryDeadSurvivor.cs
Created October 28, 2012 19:13
Custom task for Zafehouse: Diaries
/*
* Created by SharpDevelop.
* User: EnterTheNameHere
* Date: 25.10. 2012
* Time: 15:53
*
*/
using System;
using System.Collections.Generic;
using System.Windows.Forms;
@EnterTheNameHere
EnterTheNameHere / ZafehouseScript_Dillema_BoobyTrap.cs
Created October 24, 2012 19:30
Custom dilemma event for Zafehouse: Diaries
/*
* Created by SharpDevelop.
* User: EnterTheNameHere
* Date: 16.10. 2012
* Time: 16:48
*
*/
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
#define SFML_STATIC
#include <SFML/Graphics.hpp>
#define SFGUI_STATIC
#include <SFGUI/SFGUI.hpp>
const int SCREEN_WIDTH = 800;
const int SCREEN_HEIGHT = 600;
class ButtonExample {
@EnterTheNameHere
EnterTheNameHere / ResizableImage.hpp
Created September 7, 2012 06:20
SFGUI ResizableImage
#ifndef RESIZABLEIMAGE_HPP_INCLUDED_2240
#define RESIZABLEIMAGE_HPP_INCLUDED_2240
#pragma once
#include <SFGUI/Image.hpp>
#include <SFGUI/SharedPtr.hpp>
namespace sfg
{
/**