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
:root { | |
--sfwindow: #272e33E6; | |
--sfsecondary: #272e33E6; | |
--browser-background: transparent !important; | |
} | |
/* Tabs colors */ | |
#tabbrowser-tabs:not([movingtab])>#tabbrowser-arrowscrollbox>.tabbrowser-tab>.tab-stack>.tab-background[multiselected='true'], | |
#tabbrowser-tabs:not([movingtab])>#tabbrowser-arrowscrollbox>.tabbrowser-tab>.tab-stack>.tab-background[selected='true'] { | |
background-image: none !important; |
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 Remove bilibili live PK Bar | |
// @namespace Violentmonkey Scripts | |
// @match https://live.bilibili.com/* | |
// @grant none | |
// @version 1.0 | |
// @author ocfox | |
// @description 2/22/2025, 10:32:10 PM | |
// ==/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
"""Converts JSON objects into nix (hackishly).""" | |
import sys | |
import json | |
INDENT = " " * 2 | |
def strip_comments(t): |
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
258590.1900 470574.4900 53.3612 | |
258590.3300 470574.7300 53.3612 | |
258590.4700 470574.9600 53.4500 | |
258590.6200 470575.2000 53.4500 | |
258590.7600 470575.4300 53.2623 | |
258590.8900 470575.6300 53.2623 | |
258590.1000 470576.0700 53.5000 | |
258591.1000 470576.0400 53.5200 | |
258590.2500 470576.3200 53.3921 | |
258591.2900 470576.4000 53.4000 |
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
using Base: parse_input_line, prompt | |
using Combinatorics | |
function gene_anspool(len::Int) | |
collect(permutations(vcat(0:9), len)) | |
end | |
function main() | |
anspool = gene_anspool(parse(Int, prompt("Game number length"))) | |
work_problem_ab(anspool) |
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
[zack@leto ~]$ sudo tee << EOF /etc/wpa_supplicant.conf > /dev/null | |
ctrl_interface=/run/wpa_supplicant | |
EOF | |
[zack@leto ~]$ sudo wpa_supplicant -iwlp1s0 -Dnl80211 -c/etc/wpa_supplicant.conf -B | |
Successfully initialized wpa_supplicant | |
[zack@leto ~]$ sudo wpa_cli | |
wpa_cli v2.0 | |
Copyright (c) 2004-2012, Jouni Malinen <j@w1.fi> and contributors | |
This software may be distributed under the terms of the BSD license. |
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 <GL/glew.h> | |
#include <GLFW/glfw3.h> | |
#include <bits/stdc++.h> | |
void framebuffer_size_callback(GLFWwindow *window, int width, int height); | |
void processInput(GLFWwindow *window); | |
// settings | |
const unsigned int SCR_WIDTH = 800; | |
const unsigned int SCR_HEIGHT = 600; |