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
import subprocess | |
from PIL import Image | |
import numpy as np | |
import sys | |
def convert_flowgraph_to_highres_png(input_path, output_path): | |
subprocess.run([ | |
'gswin64', | |
'-sDEVICE=pngalpha', | |
f'-o', output_path, |
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
} | |
Found 5 unique results: | |
=== Results from archive.org === | |
Title: Fresh Fruits Magazine | |
Year: 2005 | |
URL: https://archive.org/details/fresh-fruits | |
Description: Following on from the enormous success of Fruits , Fresh Fruits features the latest from Tokyo based Fruits Magazine . Fresh Fruits uncovers |
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 <iostream> | |
#include <climits> | |
const static int longsize = sizeof(long) * CHAR_BIT; | |
constexpr const static long pow10[19] = { | |
1, | |
10, | |
100, | |
1000, | |
10000, |
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
// nodejs Spierpinski squares script | |
// hangs after 8 recursions on my machine for some reason | |
const prompt = require('prompt-sync')(); | |
const { createCanvas, loadImage } = require('canvas'); | |
const n = parseInt(prompt('Number (int) to generate: ')); | |
// Creating tile |
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
window.addEventListener("load", function(){ | |
const vBadges = document.getElementsByClassName("verifiedBadge"); | |
if(vBadges.length > 0){ | |
for(const b of vBadges){ | |
const parentBadge = b.parentElement; | |
parentBadge.classList.add("verifiedBadgeParent"); | |
} | |
} | |
}); |
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
(function(){"use strict";function styleInject(e,o){void 0===o&&(o={});var t=o.insertAt;if(e&&"undefined"!=typeof document){var s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&s.firstChild?s.insertBefore(n,s.firstChild):s.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}var css_248z='.gm-store-card{background-color:var(--background-secondary);border-radius:8px;box-shadow:var(--elevation-medium);box-sizing:border-box;height:380px;margin:10px;padding:12px;position:relative;width:330px}.gm-store-card>:first-child{-webkit-user-drag:none;background-color:var(--background-secondary-alt);border-radius:8px 8px 0 0;height:200px;margin-left:-12px;margin-top:-12px;object-fit:contain;user-select:none;width:calc(100% + 24px)}.gm-store-card>:nth-child(2){background-color:rgba(0,0,0,.5);border-radius:16px;cursor:default;opacity:.95;padding-right:10px;position:absolute;right:10px;top:152px;width:fit-content}.g |
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
#!/bin/sh | |
username=qt | |
password=CHANGE-THIS-OR-GESHI-WILL-BE-SAD | |
adduser --gecos "" --disabled-password $username | |
chpasswd <<<"$username:$password" | |
usermod -aG sudo qt | |
apt -y update | |
apt -y install ufw |