Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Stack Experiment Off
// @author CertainPerformance
// @description Turns off the voting experiment - shows true vote totals on pageload and after voting
// @description https://meta.stackoverflow.com/questions/390178/new-popup-message-when-voting-on-a-question
// @version 1.1.1
// @include /^https://stackoverflow\.com/questions/(?:\d+|tagged|search)/
// @run-at document-start
// @grant none
// ==/UserScript==
@miguelmartin75
miguelmartin75 / SDL.cpp
Last active September 22, 2024 22:53
A simple application with SDL (1.2 and 2), to check whether it is working or not.
#include <iostream>
#include <SDL/SDL.h>
int main(int argc, char * argv[])
{
// Initialize SDL with video
SDL_Init(SDL_INIT_VIDEO);
// Create a window with SDL