Compare commits
5 Commits
950d1a928e
...
d1053c6541
Author | SHA1 | Date | |
---|---|---|---|
d1053c6541 | |||
ef43de9101 | |||
068dd457d8 | |||
b6c3430e20 | |||
39c2f883e7 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/janus/*
|
||||
byobu/.ssh-agent
|
||||
*.sqlite
|
||||
|
1337
ipython/profile_default/ipython_config.py
Normal file
1337
ipython/profile_default/ipython_config.py
Normal file
File diff suppressed because it is too large
Load Diff
11
ipython/profile_default/startup/README
Normal file
11
ipython/profile_default/startup/README
Normal file
@ -0,0 +1,11 @@
|
||||
This is the IPython startup directory
|
||||
|
||||
.py and .ipy files in this directory will be run *prior* to any code or files specified
|
||||
via the exec_lines or exec_files configurables whenever you load this profile.
|
||||
|
||||
Files will be run in lexicographical order, so you can control the execution order of files
|
||||
with a prefix, e.g.::
|
||||
|
||||
00-first.py
|
||||
50-middle.py
|
||||
99-last.ipy
|
27
local/bin/cb-uri-tailscale
Executable file
27
local/bin/cb-uri-tailscale
Executable file
@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env python3
|
||||
import subprocess
|
||||
import sys
|
||||
import urllib.parse
|
||||
|
||||
|
||||
def main(sysargs=sys.argv[:]):
|
||||
cb_uri = subprocess.check_output(["cb", "uri", *sysargs[1:]], text=True)
|
||||
|
||||
parsed_cb_uri = urllib.parse.urlsplit(cb_uri)
|
||||
tailscale_cb_uri = parsed_cb_uri._replace(
|
||||
netloc=str(parsed_cb_uri.username)
|
||||
+ ":"
|
||||
+ str(parsed_cb_uri.password)
|
||||
+ "@"
|
||||
+ str(parsed_cb_uri.hostname).split(".")[1]
|
||||
+ ":"
|
||||
+ str(parsed_cb_uri.port)
|
||||
)
|
||||
|
||||
print(tailscale_cb_uri.geturl())
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
4
vimrc
4
vimrc
@ -1,5 +1,4 @@
|
||||
packloadall
|
||||
call pathogen#infect()
|
||||
|
||||
syntax on
|
||||
|
||||
@ -48,6 +47,7 @@ au BufRead,BufNewFile Dockerfile* setfiletype dockerfile
|
||||
au BufRead,BufNewFile Pipfile setfiletype toml
|
||||
au BufRead,BufNewFile kubectl-edit-status-* setfiletype yaml
|
||||
au BufRead,BufNewFile *kubeconfig* setfiletype yaml
|
||||
au BufRead,BufNewFile */.kube/config setfiletype yaml
|
||||
au BufRead,BufNewFile .lintr setfiletype yaml
|
||||
au BufRead,BufNewFile devcontainer.json setfiletype jsonc
|
||||
au BufRead,BufNewFile devcontainer-feature.json setfiletype jsonc
|
||||
@ -122,7 +122,6 @@ let g:vim_markdown_folding_disabled = 1
|
||||
let g:vim_markdown_frontmatter = 1
|
||||
let g:yapf_style = "pep8"
|
||||
|
||||
|
||||
if exists('+termguicolors')
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
@ -132,6 +131,7 @@ endif
|
||||
"colorscheme dichromatic
|
||||
"colorscheme darcula
|
||||
colorscheme molokai
|
||||
"colorscheme elflord
|
||||
|
||||
hi Comment cterm=NONE ctermfg=DarkRed gui=NONE guifg=red2
|
||||
hi minimapCursor ctermbg=59 ctermfg=228 guibg=#5F5F5F guifg=#FFFF87
|
||||
|
Loading…
Reference in New Issue
Block a user