Skip to content

Instantly share code, notes, and snippets.

View Geobert's full-sized avatar
🦀

Geobert Quach Geobert

🦀
View GitHub Profile
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: [],
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;
@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)]
@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;
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;
pub struct UsbContext {
api: hidapi::HidApi,
}
impl UsbContext {
pub fn new() -> UsbContext {
UsbContext {
api: hidapi::HidApi::new().unwrap()
}
}
@Geobert
Geobert / appveyor.yml
Created May 12, 2018 18:48
appveyor for rsass
# Based on the "trust" template v0.1.1
# https://github.com/japaric/trust/tree/v0.1.1
os: Visual Studio 2017
environment:
global:
CRATE_NAME: rsass
#APPVEYOR_CACHE_SKIP_RESTORE: true
DEBUG 2018-03-15T15:28:02Z: rls::server: Language Server starting up. Version: 0.126.0-nightly (b6c5244 2018-03-14)
INFO 2018-03-15T15:28:25Z: rls_analysis: find_all_refs: 0.000002565s
DEBUG 2018-03-15T15:29:22Z: rls::build::cargo: Error running compile_with_exec: ErrorMessage { msg: "build failed" }
INFO 2018-03-15T15:29:23Z: rls_analysis::raw: Considering Listing { kind: File(SystemTime { intervals: 131655378440000000 }), name: "libcore-598a87b19754feda.json" }
INFO 2018-03-15T15:29:23Z: rls_analysis::raw: reading "C:\\Users\\GQ185008\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\analysis\\libcore-598a87b19754feda.json" 0.155583379s
INFO 2018-03-15T15:29:23Z: rls_analysis::raw: Considering Listing { kind: File(SystemTime { intervals: 131655378540000000 }), name: "libprofiler_builtins-617bd059b414416e.json" }
INFO 2018-03-15T15:29:23Z: rls_analysis::raw: reading "C:\\Users\\GQ185008\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-p
DEBUG 2018-03-13T09:39:28Z: rls::server: Language Server starting up. Version: 0.126.0-nightly (d4f0b29 2018-02-28)
DEBUG 2018-03-13T09:40:23Z: rls::build::cargo: Error running compile_with_exec: ErrorMessage { msg: "build failed" }
INFO 2018-03-13T09:40:23Z: rls_analysis::raw: Considering Listing { kind: File(SystemTime { intervals: 131648254560000000 }), name: "libcore-6819054bfe8f72ed.json" }
INFO 2018-03-13T09:40:23Z: rls_analysis::raw: reading "C:\\Users\\Geob\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\analysis\\libcore-6819054bfe8f72ed.json" 0.151590669s
INFO 2018-03-13T09:40:23Z: rls_analysis::raw: Considering Listing { kind: File(SystemTime { intervals: 131648254690000000 }), name: "liblibc-e00373028739c601.json" }
INFO 2018-03-13T09:40:23Z: rls_analysis::raw: Considering Listing { kind: File(SystemTime { intervals: 131648254690000000 }), name: "libprofiler_builtins-f6aabc9e9855f087.json" }
INFO 2018-03-13T09:40:23Z: rls_analysis::raw: reading "C:\