Skip to content

Instantly share code, notes, and snippets.

/.idea
@Joshix-1
Joshix-1 / wfc-test.py
Last active July 8, 2022 21:23
Just a fun thing I made
#!/usr/bin/env python3
import random
import re
import sys
from collections.abc import Iterator
from enum import IntFlag
from string import ascii_letters, digits
@Joshix-1
Joshix-1 / yt-search.sh
Created March 15, 2022 18:54
Search for videos with the YouTube API in the terminal to watch your favourite videos in mpv.
#!/bin/sh
# change this key:
API_KEY=""
CACHE_DIR="$HOME/.cache/yt-search"
DEFAULT_COMMAND="mpv '%s'"
if [ -z "$API_KEY" ]; then
echo "Please input an API key in the script."
#!/bin/sh
echo "Command: $1"
echo "Run count: $2"
CURRENT_TIME=$(date +%s)
I=0 # counter counts up to $2 - 1
TIME=0 # the whole time in ns
<!DOCTYPE html>
<html>
<head>
<title>I use arch btw.</title>
<meta property="og:title" content="Hi :)" />
<meta property="og:description" content="I use arch btw." />
<meta property="og:type" content="website" />
<style>
html {
background-color: #000;
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<meta property="og:title" content="Hi :)" />
<meta property="og:description" content="I use arch btw." />
<meta property="og:type" content="website" />
<style>
html {
background-color: #000;
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<meta property="og:title" content="Hi :)" />
<meta property="og:description" content="I use arch btw." />
<meta property="og:type" content="website" />
<style>
html {
background-color: #000;
This file has been truncated, but you can view the full file.
aachens
abarten
abartig
abbauen
abbaute
abbeiße
abbeißt
abbiege
abbiegt
abbilde
@Joshix-1
Joshix-1 / policies.json
Last active October 31, 2021 15:20
My custom policies.json for FireDragon
{
"__COMMENT__ More Information": "https://github.com/mozilla/policy-templates/blob/master/README.md",
"policies": {
"AppUpdateURL": "https://localhost",
"DisableAppUpdate": true,
"OfferToSaveLogins": false,
"OverrideFirstRunPage": "",
"OverridePostUpdatePage": "",
"DisableSystemAddonUpdate": true,
local/a52dec 0.7.4-11
A free library for decoding ATSC A/52 streams
local/aalib 1.4rc5-14
A portable ASCII art graphic library
local/accountsservice 0.6.55-3
D-Bus interface for user account query and manipulation
local/acl 2.2.53-3
Access control list utilities, libraries and headers
local/adapta-gtk-theme 3.95.0.11-1
An adaptive Gtk+ theme based on Material Design Guidelines