Enter about:config
and change the following configurations:
Key | Value |
---|---|
gfx.font_rendering.cleartype_params.cleartype_level | 0 |
gfx.webrenderer.all | true |
gfx.font_rendering.cleartype_params.rendering_mode | 5 |
gfx.use_text_smoothing_setting | true |
font-family = Berkeley Mono | |
font-style = Regular | |
font-size = 13 | |
font-thicken = true | |
adjust-underline-position = 40% | |
adjust-underline-thickness = -60% | |
cursor-style = block | |
cursor-style-blink = false |
Shader "Unlit/InfiniteGrid" | |
{ | |
Properties | |
{ | |
[Toggle] _WorldUV ("Use World Space UV", Float) = 1.0 | |
_GridScale ("Grid Scale", Float) = 1.0 | |
_GridBias ("Grid Bias", Float) = 0.5 | |
_GridDiv ("Grid Divisions", Float) = 10.0 | |
_BaseColor ("Base Color", Color) = (0,0,0,1) | |
_LineColor ("Line Color", Color) = (1,1,1,1) |
// https://www.reedbeta.com/blog/hash-functions-for-gpu-rendering/ | |
uint pcg_hash(uint input) | |
{ | |
uint state = input * 747796405u + 2891336453u; | |
uint word = ((state >> ((state >> 28u) + 4u)) ^ state) * 277803737u; | |
return (word >> 22u) ^ word; | |
} | |
{ |
# Format: <SettingName>: <Settingvalue> | |
# Setting name must appear at start of line and there must be whitespace after the colon. | |
# Multiple values can be comma separated or on subsequent lines. | |
# | |
# General | |
# | |
# Open the last workspace opened when starting 10x | |
OpenLastWorkspaceOnStartup: false |
;;; naysayer-theme.el --- Aftereight theme for Emacs. | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or | |
;; (at your option) any later version. | |
;; This program is distributed in the hope that it will be useful, | |
;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
import os | |
import sys | |
from fontTools import ttLib | |
def run(argv): | |
if len(argv) != 2: | |
print("USAGE: %s <font-file>" % argv[0]) | |
sys.exit(1) |
{ | |
"name": "Forsythe", | |
"author": "Alex Forsythe", | |
"variables": | |
{ | |
"base_bg": "hsl(0, 0%, 3%)", | |
"base_fg": "hsl(0, 0%, 80%)", | |
"highlight_fg": "hsl(40, 100%, 70%)", | |
"highlight_fg_dim": "hsl(40, 80%, 70%)", |
Enter about:config
and change the following configurations:
Key | Value |
---|---|
gfx.font_rendering.cleartype_params.cleartype_level | 0 |
gfx.webrenderer.all | true |
gfx.font_rendering.cleartype_params.rendering_mode | 5 |
gfx.use_text_smoothing_setting | true |
#include <iostream> | |
#include <sstream> | |
#include <fstream> | |
#include <vector> | |
std::vector<int> parse_input(std::string& in, char delimiter = ' ') | |
{ | |
std::vector<int> result; | |
std::stringstream input_stream(in); | |
std::string parsed_number; |