This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <random> | |
#include <iostream> | |
#include <algorithm> | |
#include <array> | |
constexpr int trials = 2000000000; | |
int main() | |
{ | |
constexpr std::array<int, 13> boost_value = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fallen London Wiki Lookup | |
// @namespace https://www.fallenlondon.com/ | |
// @version 0.2 | |
// @description Adds a link to the corersponding wiki page to Fallen London storylets. | |
// @author Princess Grace | |
// @match https://www.fallenlondon.com/ | |
// @icon https://www.google.com/s2/favicons?domain=fallenlondon.com | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile with g++ counter.cpp --std=c++17 -O2 -o counter | |
// if your server does multiple CGI requests at once, define MULTI_CGI, e.g.: | |
// g++ counter.cpp --std=c++17 -DMULTI_CGI -O2 -o counter | |
#include <iostream> | |
#include <stdio.h> | |
#include <unordered_map> | |
#include <string> | |
#include <cstring> | |
#include <fstream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networking.networkmanager.fccUnlockScripts = [ | |
{id = "8086:7560"; path = "${pkgs.lenovo-wwan-unlock}/bin/fcc_unlock.sh";} | |
]; |