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
{ | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs?rev=d9a1414346059619d9e13ab93e749bbb82e5252a"; | |
}; | |
outputs = inputs @ { nixpkgs, ... }: | |
let | |
system = "x86_64-darwin"; | |
pkgs = import nixpkgs { inherit system; }; |
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 url("https://fonts.googleapis.com/css?family=Noto Sans"); | |
/* Background colors*/ | |
body { | |
overflow: hidden; | |
background-color: rgba(0,0,0,0); | |
} | |
/* Transparent background. */ | |
yt-live-chat-renderer { | |
background-color: transparent !important; |
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
export NAME="my-animation" | |
export WIDTH=815 | |
export HEIGHT=950 | |
export BG_COLOR="#d1ccff" | |
export SPRITESHEET_SIZE=5x3 | |
export TINIFY_API_KEY="..." | |
# Assuming frames have been exported to `~/Downloads/`... | |
# Make directories |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Animal Crossing Tune Maker</title> | |
</head> | |
<body> | |
<input id="input" value="g-a-bgab-gab-c-b" maxlength="16"></input> |
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
/* ==UserStyle== | |
@name Hide Twitter Likes/RTs | |
@namespace github.com/walfie | |
@version 1.5.0 | |
@description Hide likes/RTs on Twitter and TweetDeck | |
@author Walfie | |
==/UserStyle== */ | |
@-moz-document url-prefix("https://twitter.com/"), url-prefix("https://x.com/"), | |
url-prefix("https://mobile.twitter.com/"), |
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
# Let's say an animation has frames {1,2,3,4}.png and is 24fps. | |
# To make it loop nicely on twitter, we want something like: | |
# | |
# 1 1 2 2 3 3 4 | |
# | |
# at 48fps. The below command, using a bunch of hacks, will | |
# take a PNG sequence and create a gif with the above sequence. | |
# Note that 2.0833333... is 1/48, e.g., 48fps. |
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> | |
<!-- inspired by https://gir.st --> | |
<meta charset=utf-8> | |
<meta name=viewport content="width=device-width, initial-scale=1"> | |
<style> | |
body{max-width:50em;margin:auto;padding:1em;line-height:1.5em} | |
pre{overflow-x:auto} | |
</style> | |
<title>Lorem Ipsum</title> |
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
parse | |
https://enterthegungeon.gamepedia.com/api.php?action=parse&format=json&mobileformat=true&prop=text&disableeditsection=true&page=Space_Friend | |
suggest | |
https://enterthegungeon.gamepedia.com/api.php?action=opensearch&format=json&formatversion=2&search=a&namespace=0&limit=10&suggest=true |
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
[package] | |
name = "http2-example" | |
version = "0.1.0" | |
authors = ["Walfie"] | |
[dependencies] | |
futures = "0.1.18" | |
h2 = "0.1.0" | |
http = "0.1.4" | |
rustls = "0.12.0" |
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
// Valid as of yew commit a6c87e48b42e4977b008ce31281242e2b8684f9f and stdweb 0.3.0 | |
extern crate stdweb; | |
#[macro_use] | |
extern crate yew; | |
use yew::prelude::*; | |
type Context = (); |
NewerOlder