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
call plug#begin('~/.vim/plugged') | |
" Make sure you use single quotes | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-surround' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'nathanaelkane/vim-indent-guides' |
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 React from 'react'; | |
export const Row: React.FC = props => { | |
return <div className="row">{props.children}</div>; | |
}; | |
export interface ColProps { | |
size: number; | |
device: 'xs' | 'sm' | 'md' | 'lg'; | |
} |
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
#!/usr/bin/env python3 | |
import os | |
import sys | |
import subprocess | |
import signal | |
import time | |
from typing import List | |
basedir = os.path.dirname(os.path.realpath(__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
import os | |
import sys | |
import subprocess | |
import signal | |
import time | |
from typing import List | |
basedir = os.path.dirname(os.path.realpath(__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
call plug#begin() | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-surround' | |
Plug 'airblade/vim-gitgutter' | |
"Plug 'itchyny/lightline.vim' | |
Plug 'cespare/vim-toml' | |
Plug 'tpope/vim-sleuth' | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } |
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
{ | |
"coc.preferences.extensionUpdateCheck": "daily", | |
"python.jediEnabled": false, | |
"diagnostic.virtualTextCurrentLineOnly": false, | |
"diagnostic.virtualText": true, | |
"suggest.enablePreview": true, | |
"git.enableGutters": true, | |
"clangd.semanticHighlighting": true, | |
"rust-analyzer.updates.channel": "nightly", | |
"rust-analyzer.procMacro.enable": true, |
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 QUIET 1 | |
\timing | |
\x auto | |
\set PROMPT1 '%[%033[1m%]%M %n@%/%R%[%033[0m%]%# ' | |
\set PROMPT2 '[more] %R > ' | |
\pset null '[NULL]' | |
\set VERBOSITY verbose | |
\set HISTFILE ~/.psql_history- :DBNAME | |
\set HISTCONTROL ignoredups | |
\set COMP_KEYWORD_CASE upper |
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
rm -rf build | |
mkdir -p build | |
cd build | |
export CC=/usr/bin/clang | |
export CXX=/usr/bin/clang++ | |
cmake .. -GNinja -DMYSQL=ON -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ | |
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DVIDEORECORDER=ON -DDOWNLOAD_GTEST=ON \ | |
-D_CMAKE_TOOLCHAIN_PREFIX=llvm- | |
ninja |
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 std::{ | |
fmt::{self, write}, | |
str::FromStr, | |
}; | |
#[derive(Debug, Clone)] | |
struct ParseError(String); | |
impl fmt::Display for ParseError { | |
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
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
/* | |
aprilFools.css | |
Written by Wes Bos | |
I assume no responsibility for angry co-workers or lost productivity | |
Put these CSS definitons into your co-workers Custom.css file. | |
They will be applied to every website they visit as well as their developer tools. | |
*/ |