Skip to content

Instantly share code, notes, and snippets.

View Geobert's full-sized avatar
🦀

Geobert Quach Geobert

🦀
View GitHub Profile
use std::cmp::Ordering;
use liquid;
use cobalt_model::pagination_config::Include;
use cobalt_model::pagination_config::PaginationConfig;
use cobalt_model::permalink;
use cobalt_model::slug;
use cobalt_model::SortOrder;
use document;
use std::cmp::Ordering;
use liquid;
use cobalt_model::pagination_config::Include;
use cobalt_model::pagination_config::PaginationConfig;
use cobalt_model::permalink;
use cobalt_model::slug;
use cobalt_model::SortOrder;
use document;
@Geobert
Geobert / userChrome.css
Last active March 29, 2019 14:20
userChrome to darken tooltips and context menu in FFx + get rid of white page on opening a tab, copy pasted and slightly modified from https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme
/* DO NOT DELETE THIS LINE */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* v Fix to make the pre-render loading page dark instead of white v */
#tabbrowser-tabpanels {background: #202020 !important}
tooltip, #statuspanel-label {
-moz-appearance: none !important;
background: rgba(60,60,60,0.9) !important;
color: #eee !important;
@Geobert
Geobert / youtube.rs
Last active December 11, 2019 21:08
use std::io::Write;
use std::sync::Arc;
use liquid::compiler::{Language, ParseTag, TagReflection, TagTokenIter, TryMatchToken};
use liquid::error::Result;
use liquid::interpreter::{Context, PartialStore, Renderable};
use liquid::partials::{InMemorySource, LazyCompiler, PartialCompiler};
use liquid::value::Value;
#[derive(Debug)]
use std::collections::HashMap;
use std::io::Write;
use std::path::Path;
use std::sync::Arc;
use liquid::compiler::{Language, ParseTag, TagReflection, TagTokenIter};
use liquid::error::Result;
use liquid::interpreter::{Context, PartialStore, Renderable};
use liquid::partials::{InMemorySource, LazyCompiler, PartialCompiler};
use liquid::value::Value;
INFO [08/07/2020, 09:37:30]: Extension version: 0.3.234-nightly
INFO [08/07/2020, 09:37:30]: Using configuration {
diagnostics: { enable: true, warningsAsInfo: [], warningsAsHint: [] },
lruCapacity: null,
files: { watcher: 'client', exclude: [] },
notifications: { cargoTomlNotFound: true },
cargo: {
noDefaultFeatures: false,
allFeatures: false,
features: [],
@Geobert
Geobert / Sofle-V2.kbd.json
Last active August 27, 2022 18:39
Sofle V2
[
{
"name": "Sofle V2",
"author": "Geobert Quach",
"switchMount": "cherry"
},
[
{
"y": 0.2,
"x": 3,
@Geobert
Geobert / Avalanche.kbd.json
Last active January 27, 2022 15:05
Avalanche
[
1200,
{
"backcolor": "#ffffff",
"name": "Avalanche",
"author": "",
"radii": "",
"switchMount": "cherry",
"switchBrand": "kailh",
"switchType": "PG151101D64/D10",
#include "progmem.h"
// Corne 8x6 font with QMK Firmware Logo
// Online editor: https://helixfonteditor.netlify.com/
// See also: https://github.com/soundmonster/glcdfont_converter
const unsigned char font[] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 0x00,
0x3E, 0x6B, 0x4F, 0x6B, 0x3E, 0x00,
#include "progmem.h"
// Corne 8x6 font with QMK Firmware Logo
// Online editor: https://helixfonteditor.netlify.com/
// See also: https://github.com/soundmonster/glcdfont_converter
const unsigned char font[] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xF8, 0x08, 0x68,
0x68, 0x08, 0x68, 0x68, 0x08, 0x68,