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 { | |
Datum, ColumnInfo, Row, | |
} from '@aws-sdk/client-timestream-query'; | |
type DatumList = Datum[]; | |
interface TimestreamRow { | |
[key: string]: string; | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am adds68 on github. | |
* I am adds68 (https://keybase.io/adds68) on keybase. | |
* I have a public key ASDIQn0Yde9oE_0coUYCpdQ_wVvavXp9kIpU87iyvVGIBAo | |
To claim this, I am signing this object: |
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
##################### | |
### This Config relies on TPM being installed (Tmux plugin manager) | |
#Follow the guide provided by tmux-ressurect: https://github.com/tmux-plugins/tmux-resurrect | |
##################### | |
###################### | |
###Config############# | |
###################### | |
#remap prefix from 'C-b' to 'C-Space' | |
unbind C-b |
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
" this config was modified from | |
" https://afshinm.name/neovim/ | |
" source: https://github.com/afshinm/neovim-config/blob/master/init.vim | |
" it relies on vim-plugin-manager and YouComplete me, commands to install these are in the guide linked above | |
" it also relies on the neovim python module pip3 install neovim --user | |
" this file should be in ~/.config/nvim/init.vim | |
set spell spelllang=en_us | |
set undofile | |
set encoding=utf-8 |
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
##################### | |
### This Config relies on TPM being installed (Tmux plugin manager) | |
Follow the guide provided by tmux-ressurect: https://github.com/tmux-plugins/tmux-resurrect | |
##################### | |
###################### | |
###Config############# | |
###################### | |
#remap prefix from 'C-b' to 'C-a' | |
unbind C-b |
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
###################### | |
###Config############# | |
###################### | |
#remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h |
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
export VISUAL=vim | |
export EDITOR="$VISUAL" | |
#Powerline | |
function _update_ps1() { | |
PS1="$(powerline-shell $?)" | |
} | |
#CTGit | |
alias ctgit='ssh git@git.codethink.co.uk' |
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
###################### | |
###Config############# | |
###################### | |
#remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h |
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
from flask import Flask, render_template, url_for, request, session, redirect | |
from flask_pymongo import PyMongo | |
import bcrypt | |
app = Flask(__name__) | |
app.config['MONGO_DBNAME'] = 'flaskapp' | |
app.config['MONGO_URI'] = 'yourdburlhere' | |
mongo = PyMongo(app) |
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 " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
NewerOlder