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
@font-face { | |
font-family: "Sarasa Term SC Nerd Regular"; | |
src: | |
local('Sarasa Term SC Nerd Regular') format('truetype'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
body | |
{ |
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
<script src="quine_clock_explained.js"></script> | |
<style> | |
body { | |
background-color: black; | |
color: #FFF; | |
padding: 9vw; | |
font-size: 20px; | |
} | |
</style> |
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 sys | |
import os | |
import subprocess | |
DEBUG_MODE = False | |
def debug_log(message): | |
if DEBUG_MODE: | |
print(f"DEBUG: {message}") |
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
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then | |
print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f" | |
command mkdir -p "$HOME/.local/share/zinit" && command chmod g-rwX "$HOME/.local/share/zinit" | |
command git clone https://github.com/zdharma-continuum/zinit "$HOME/.local/share/zinit/zinit.git" && \ | |
print -P "%F{33} %F{34}Installation successful.%f%b" || \ | |
print -P "%F{160} The clone has failed.%f%b" | |
fi | |
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh" | |
autoload -Uz _zinit | |
(( ${+_comps} )) && _comps[zinit]=_zinit |
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
### little edit from https://github.com/cmus/cmus/blob/master/data/night.theme | |
### replace them from `set color_cmdline_attr` to `set color_win_title_fg=` in `~/.config/cmus/autosave` | |
### {{{ | |
set color_cmdline_bg=145 | |
set color_cmdline_fg=black | |
set color_error=lightred | |
set color_info=lightgoldenrodyellow | |
set color_separator=240 | |
set color_statusline_bg=145 | |
set color_statusline_fg=black |
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
# Modify from https://github.com/CoderCharmander/starfetch/blob/master/convert.py | |
# By GPT-3.5🧙, see https://shareg.pt/a2IZp52 | |
# Run `python convert.py file.json` to convert `file.json` to `cvt_file.json`. | |
# Then run `prettier --write --paser json cvt_file.json` to format it. | |
""" | |
Converts constellations from the format in Haruno19/starfetch to the format | |
used in this Rust rewrite of the program. | |
""" | |
import sys |
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
# A script for using https://github.com/PrithivirajDamodaran/Gramformer | |
# Write by GPT-3.5🧙, scillidan🤡 | |
# see https://shareg.pt/9aQy8UZ | |
import sys | |
import warnings | |
import torch | |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM | |
from gramformer import Gramformer |
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
@echo off | |
mklink ...\gd_forvo\ForvoAfrikaans.dsl.files.zip ...\gd_forvo\export\opus\af.zip | |
mklink ...\gd_forvo\ForvoAlbanian.dsl.files.zip ...\gd_forvo\export\opus\sq.zip | |
mklink ...\gd_forvo\ForvoAncientGreek.dsl.files.zip ...\gd_forvo\export\opus\grc.zip | |
mklink ...\gd_forvo\ForvoArabic.dsl.files.zip ...\gd_forvo\export\opus\ar.zip | |
mklink ...\gd_forvo\ForvoArmenian.dsl.files.zip ...\gd_forvo\export\opus\hy.zip | |
mklink ...\gd_forvo\ForvoAzerbaijani.dsl.files.zip ...\gd_forvo\export\opus\az.zip | |
mklink ...\gd_forvo\ForvoBasque.dsl.files.zip ...\gd_forvo\export\opus\eu.zip | |
mklink ...\gd_forvo\ForvoBelarusian.dsl.files.zip ...\gd_forvo\export\opus\be.zip |
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
curl -k https://raw.githubusercontent.com/scillidan/WALLPAP-ENG-resource/main/table.md ^ | |
| sd "\[\d{10}\]\(" "" ^ | |
| sd "(\)\|\S+subsc)" "|![](//img.shields.io/steam/subsc" ^ | |
| mdtable2csv ^ | |
| sd "//steamc" "https://steamc" ^ | |
| xsv select source,version,urlid ^ | |
| csview |
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
/* global api */ | |
class encn_Collins_noen { | |
constructor(options) { | |
this.options = options; | |
this.maxexample = 2; | |
this.word = ''; | |
} | |
async displayName() { | |
let locale = await api.locale(); |
NewerOlder