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
"line" | |
"1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4" | |
"1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3" | |
"1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6" | |
"1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4" | |
"1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O" | |
"1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6" | |
"1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4" | |
"1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 a6" | |
"1.e4 c5 2.Nf3 e6 3.d4 cxd4 4.Nxd4" |
This file has been truncated, but you can view the full file.
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
[src/query_cacher.rs:70] &condition = Condition { | |
negate: false, | |
condition_type: Any, | |
conditions: [ | |
SimpleExpr( | |
Binary( | |
Binary( | |
Column( | |
TableColumn( | |
SeaRc( |
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
{ | |
"metadata": { | |
"kernelspec": { | |
"name": "python", | |
"display_name": "Python (Pyodide)", | |
"language": "python" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "python", |
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
use image::Luma; | |
use qrcode::QrCode; | |
fn main() { | |
let bytes_limit = 2953; | |
let mut bytes = 1000; | |
let mut step = 100; | |
let hitchikers_text = std::fs::read_to_string("hitchhikers.txt").unwrap(); | |
loop { | |
let head_bytes = hitchikers_text |
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
#![feature(proc_macro_hygiene, decl_macro)] | |
#[macro_use] | |
extern crate rocket; | |
extern crate anyhow; | |
extern crate sled; | |
use rocket_contrib::json::Json; | |
use serde::{Deserialize, Serialize}; |
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
set nocompatible hidden laststatus=2 | |
if !filereadable('/tmp/plug.vim') | |
silent !curl --insecure -fLo /tmp/plug.vim | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
endif | |
source /tmp/plug.vim | |
call plug#begin('/tmp/plugged') | |
Plug 'lotabout/skim', { 'dir': '~/.skim', 'do': './install' } |
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
fn convert_to_html(input: &str) -> String { | |
let cmd = Command::new("pandoc") | |
.args(&["--from=markdown", "--to=html"]) | |
.stdin(Stdio::piped()) | |
.stdout(Stdio::piped()) | |
.spawn() | |
.expect("pandoc failed to start"); | |
{ | |
let mut pandoc_stdin = cmd.stdin.unwrap(); | |
pandoc_stdin.write_all(& input.as_bytes()); |
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 os | |
from subprocess import Popen, PIPE, check_output, STDOUT, CalledProcessError | |
import shlex | |
list_branches_command = "git for-each-ref --sort=committerdate refs/heads/ --format='%(refname:short)'" | |
pipe = Popen(list_branches_command, shell=True, stdout=PIPE) | |
for branch in pipe.stdout: | |
branch = branch.strip().decode("utf-8") | |
get_remote_command = f"git rev-parse --abbrev-ref --symbolic-full-name {branch}@{{u}}" |
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 /Users/marcusbuffett/.vim/plugged/neomake/autoload/neomake/makers/ft/java.vim | |
Sourced 1 time | |
Total time: 0.000946 | |
Self time: 0.000946 | |
count total (s) self (s) | |
"============================================================================ | |
"File: java.vim | |
"Description: Syntax checking plugin for neomake | |
"Maintainer: Wang Shidong <wsdjeg at outlook dot com> |
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
+/etc/zprofile:2> [ -x /usr/libexec/path_helper ']' | |
+/etc/zprofile:3> /usr/libexec/path_helper -s | |
+/etc/zprofile:3> eval 'PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/marcusbuffett/.rvm/gems/ruby-2.3.0/bin:/Users/marcusbuffett/.rvm/gems/ruby-2.3.0@global/bin:/Users/marcusbuffett/.rvm/rubies/ruby-2.3.0/bin:/Users/marcusbuffett/.cabal/bin:/Users/marcusbuffett/Library/Haskell/bin:/Users/marcusbuffett/.local/bin:~/.cargo/bin:/Users/marcusbuffett/go/bin:/Users/marcusbuffett/.rvm/bin:/Users/marcusbuffett/.fzf/bin:/Users/marcusbuffett/.cargo/bin";' export 'PATH;' 'MANPATH="/usr/share/man:/usr/local/share/man:/Users/marcusbuffett/.fzf/man";' export 'MANPATH;' | |
+(eval):1> PATH='/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/marcusbuffett/.rvm/gems/ruby-2.3.0/bin:/Users/marcusbuffett/.rvm/gems/ruby-2.3.0@global/bin:/Users/marcusbuffett/.rvm/rubies/ruby-2.3.0/bin:/Users/marcusbuffett/.cabal/bin:/Users/marcusbuffett/Library/Haskell/bin:/Users/marcusbuffett/.local/bin:~/.cargo/bin:/Users/marcusbuffett/go/ |
NewerOlder