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
# site-available/blog.dmnd.sh.conf | |
server { | |
listen [::]:443 ssl; | |
listen 443 ssl; | |
server_name blog.dmnd.sh; | |
include snippets/ssl-dmnd.sh.conf; | |
include snippets/robots.conf; |
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
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<style> | |
body { background-color: #001f3f; } | |
video { | |
max-width: 1920px; | |
width: 90vw; |
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 twiblur | |
// @namespace mail@zera.tax | |
// @version 0.2 | |
// @description blur twitter images | |
// @author ZerataX | |
// @license Unlicense | |
// @match https://twitter.com/* | |
// @grant GM_addStyle | |
// @run-at document-start |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from flask import Flask, request, abort, jsonify, request | |
import hashlib | |
import hmac | |
import requests | |
SERVER_LOCATION = 'https://homeserver.tld/' | |
SHARED_SECRET = b'registration_shared_secret see homeserver.yaml' | |
app = Flask(__name__) |
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
import discord | |
import asyncio | |
import cool_names | |
client = discord.Client() | |
invite = "https://discordapp.com/api/oauth2/authorize" | |
permissions = "201326592" | |
@client.event |
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
import discord | |
import asyncio | |
from datetime import datetime | |
import time | |
client = discord.Client() | |
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
<div class="background"></div> | |
<div class="widget"> | |
<div class="center"> | |
<h1>漢字</h1> | |
<img id="object"> | |
</div> | |
</div> | |
<div class="info"> | |
<p>Source: | |
<a href="https://danbooru.donmai.us/posts/2735908" target="_blank"> |
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
from PIL import Image | |
from matplotlib import pyplot as plt | |
import numpy as np | |
# Edit these values | |
file = "quecksilber_graphonly.BMP" | |
line_color = np.array([0, 192, 192]) | |
# colors in rgb | |
black = np.array([0, 0, 0]) | |
white = np.array([255, 255, 255]) |