This file contains hidden or 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
| # watch logs in another terminal with: podman logs clippydip -f | |
| # you'll get prompted to let wine install stuff, say yes every time | |
| # click through the CSP installer like normal | |
| # this should export the clip studio paint stuff to your application launcher with an (on clippydip) suffix, use those. | |
| [clippydip] | |
| image=docker.io/library/debian:stable-backports | |
| additional_packages="wine32 libwine:i386 libfreetype6:i386 cabextract libc6:i386 zstd" | |
| exported_apps=".local/share/applications/clipstudiopaint.desktop" | |
| exported_apps=".local/share/applications/clipstudio.desktop" |
This file contains hidden or 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";} | |
| ]; |
This file contains hidden or 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 hidden or 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 hidden or 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 = { |