Skip to content

Instantly share code, notes, and snippets.

@glitch-afk
glitch-afk / google-webfonts.ttf.css
Created July 10, 2022 07:55 — forked from dotJoel/google-webfonts.ttf.css
CSS for all of Google's TTF web fonts
@font-face {
font-family: 'ABeeZee';
font-style: normal;
font-weight: 400;
src: local('ABeeZee'), local('ABeeZee-Regular'), url(http://themes.googleusercontent.com/static/fonts/abeezee/v1/JYPhMn-3Xw-JGuyB-fEdNA.ttf) format('truetype');
}
@font-face {
font-family: 'Abel';
font-style: normal;
font-weight: 400;
@glitch-afk
glitch-afk / reset.css
Created March 15, 2022 04:02
Modern CSS Reset
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
/**
*Submitted for verification at Etherscan.io on 2021-09-05
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// [MIT License]
/// @title Base64
@glitch-afk
glitch-afk / arxh_wsl.md
Last active February 4, 2022 18:17
Arch wsl

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.

Installing Arch Linux

@glitch-afk
glitch-afk / init.vim
Created November 16, 2021 15:02
A basic vimrc
syntax on " enable syntax highlighting
set background=dark " we like it dark!
try | colorscheme gruvbox | catch | endtry " use this awesome theme if possible
highlight Pmenu ctermbg=black guibg=black | " fix popup color so it's easier to read
filetype plugin on " load plugins based on file type
filetype indent on " load indent settings based on file type
set shiftwidth=2 " number of spaces to use for indenting
set softtabstop=2 " number of spaces to use when inserting a tab
set tabstop=2 " show tabs as 2 spaces
set expandtab " convert tabs into spaces
@glitch-afk
glitch-afk / alacritty.yml
Last active September 22, 2022 14:36
Alacritty Terminal Config
# The definition of color schemes.
schemes:
gruvbox_material_hard_dark: &gruvbox_material_hard_dark
primary:
background: "0x1d2021"
foreground: "0xd4be98"
normal:
black: "0x32302f"
red: "0xea6962"
green: "0xa9b665"
@glitch-afk
glitch-afk / Starship.toml
Created November 16, 2021 15:00
🚀 Starship prompt config file
## FIRST LINE/ROW: Info & Status
# First param ─┌
[username]
format = " [╭─$user]($style)@"
style_user = "bold red"
style_root = "bold red"
show_always = true
# Second param
[hostname]
@glitch-afk
glitch-afk / profile.ps1
Created November 16, 2021 14:59
Powershell Core profile
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons
@glitch-afk
glitch-afk / .gitignore
Created November 16, 2021 14:57
🐍 Python gitignore
# Editors
.vscode/
.idea/
# Vagrant
.vagrant/
# Mac/OSX
.DS_Store
@glitch-afk
glitch-afk / config.fish
Created November 16, 2021 14:54
My fish config
## Set values
# Hide welcome message
set fish_greeting
set VIRTUAL_ENV_DISABLE_PROMPT "1"
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
## Export variable need for qt-theme
if type "qtile" >> /dev/null 2>&1
set -x QT_QPA_PLATFORMTHEME "qt5ct"
end