Skip to content

Instantly share code, notes, and snippets.

Seth Bromberger sbromberger

Block or report user

Report or block sbromberger

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:8d984627a7dedc8c327dd920b33d0947
git diff ale_linters/julia/languageserver.vim
diff --git a/ale_linters/julia/languageserver.vim b/ale_linters/julia/languageserver.vim
index 564bec3..c79ca01 100644
--- a/ale_linters/julia/languageserver.vim
+++ b/ale_linters/julia/languageserver.vim
@@ -4,9 +4,12 @@
" Set julia executable variable
call ale#Set('julia_executable', 'julia')
+echom "In julia langserver vimscript"
View gist:0e4f1b6d63bfce6e8afbeecc5f0b6d3b
set cmdheight=4
set encoding=utf8
set fileencoding=utf8
scriptencoding utf-8
set t_Co=256
set number " line numbering
set ruler
set fillchars+=vert:\│ " vertical window separator
set noshowmode " disable show mode since liteline has it already
View gist:e05c620e4e567f66da357b88d6844950
┌ Warning: `format = :html` is deprecated, use `format = Documenter.HTML()` instead.
│ caller = ip:0x0
└ @ Core :-1
[ Info: SetupBuildDirectory: setting up build directory.
[ Info: ExpandTemplates: expanding markdown templates.
[ Info: CrossReferences: building cross-references.
┌ Warning: no doc found for reference '[`AbstractSimpleGraph`](@ref)' in `src/types.md`.
└ @ Documenter.CrossReferences ~/.julia/packages/Documenter/J3Jag/src/CrossReferences.jl:161
[ Info: CheckDocument: running document checks.
┌ Warning: 113 docstrings potentially missing:
View gist:f80e6bbdca47f07553cfb91abffe80b9
22 call plug#begin('~/.vim/plugged')
23 Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
24 Plug 'itchyny/lightline.vim'
25 Plug 'airblade/vim-gitgutter'
26 Plug 'joshdick/onedark.vim'
~ 27 Plug 'prabirshrestha/async.vim'
+ 28 Plug 'prabirshrestha/vim-lsp'
+ 29 " Plug 'w0rp/ale'
30 Plug 'AndrewRadev/splitjoin.vim'
31 Plug 'SirVer/ultisnips'
View gist:64b4e02ac1e8c3e0ef7938ddbb4a581b
23 Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
24 Plug 'itchyny/lightline.vim'
25 Plug 'airblade/vim-gitgutter'
26 Plug 'joshdick/onedark.vim'
27 Plug 'w0rp/ale'
28 Plug 'AndrewRadev/splitjoin.vim'
29 Plug 'SirVer/ultisnips'
30 Plug 'maximbaz/lightline-ale'
31 Plug 'maralla/completor.vim'
32 Plug 'tomtom/tcomment_vim'
View gist:d72fc008740fc753091b29c99d76e1ca
set cmdheight=7
set encoding=utf8
set fileencoding=utf8
scriptencoding utf-8
set t_Co=256
" line numbering
set number
set ruler
View gist:6737abece2cc147aa8214d45f5d301bd
julia> function catstrings(ss::Vector{String})
i = IOBuffer(sizehint=15)
for s in ss
write(i, s)
end
return String(take!(i))
end
catstrings (generic function with 1 method)
View gist:4ceceb885623b7181f38957643989c50
set number
set ruler
set tabstop=4
call plug#begin('~/.vim/plugged')
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'itchyny/lightline.vim'
Plug 'joshdick/onedark.vim'
Plug 'w0rp/ale'
Plug 'AndrewRadev/splitjoin.vim'
Plug 'SirVer/ultisnips'
View gist:cdf282088bb89103bd480b891be2f452
seth@flash21:~$ /usr/gapps/julia/bin/julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.0.0 (2018-08-08)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
View bfs.cpp
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <chrono>
#include <random>
// Edge List Storage
uint32_t num_vertices = 0;
You can’t perform that action at this time.