Skip to content

Instantly share code, notes, and snippets.

Avatar
🔮
Wondering

Luca Palmieri LukeMathWalker

🔮
Wondering
View GitHub Profile
@LukeMathWalker
LukeMathWalker / audit-on-push.yml
Last active Oct 14, 2020
GitHub Actions - Rust setup with Postgres + sqlx
View audit-on-push.yml
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
@LukeMathWalker
LukeMathWalker / .gitlab-ci.yml
Created Jun 7, 2020
GitLab CI - Rust setup
View .gitlab-ci.yml
image: rust
test:
script:
- rustc --version
- cargo --version
- cargo test
- rustup component add rustfmt
- cargo fmt -- --check
- rustup component add clippy
@LukeMathWalker
LukeMathWalker / audit-on-push.yml
Last active Oct 1, 2020
GitHub Actions - Rust setup
View audit-on-push.yml
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
@LukeMathWalker
LukeMathWalker / .travis.yml
Last active Jun 22, 2020
Travis CI - Rust setup
View .travis.yml
language: rust
cache: cargo
rust:
- stable
before_cache: |
cargo install cargo-tarpaulin
before_script:
- rustup component add rustfmt
- rustup component add clippy
- cargo install cargo-audit
@LukeMathWalker
LukeMathWalker / config.yml
Created Jun 1, 2020
CircleCI - Rust setup
View config.yml
version: 2
jobs:
build-and-test:
docker:
- image: circleci/rust
environment:
# Fail the build if there are warnings
RUSTFLAGS: '-D warnings'
steps:
- checkout
View Mdbook with actions
name: CI
on:
push
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
View .ideavimrc
nmap <space><space>s :action KJumpAction<cr>
nmap <space><space>w :action KJumpAction.Word0<cr>
nmap <space><space>l :action KJumpAction.Line<cr>
set hlsearch
set scrolloff=3
set ignorecase smartcase
set showmode
set history=1000
View keybase.md

Keybase proof

I hereby claim:

  • I am lukemathwalker on github.
  • I am lukemathwalker (https://keybase.io/lukemathwalker) on keybase.
  • I have a public key ASCK705Ubq3v6NAJOqHbVewiei1nyOPQda_yIMcF9yOAgQo

To claim this, I am signing this object:

@LukeMathWalker
LukeMathWalker / init.vim
Last active Aug 21, 2018
init.vim - Work
View init.vim
call plug#begin('~/.local/share/nvim/site/plugged')
Plug 'scrooloose/nerdtree'
Plug 'tmhedberg/SimpylFold'
"Git:
Plug 'tpope/vim-fugitive'
"Ctags:
Plug 'craigemery/vim-autotag'
Plug 'ludovicchabant/vim-gutentags'
"Remove swap file pain
Plug 'gioele/vim-autoswap'
@LukeMathWalker
LukeMathWalker / markdown.vim
Created Feb 2, 2018
vim-syntax-markdown/syntax/
View markdown.vim
" Vim syntax file
" Language: Markdown
" Maintainer: drdr.xp@gmail.com
" Borrowed from the one by Tim Pope <vimNOSPAM@tpope.org>
" Filenames: *.markdown
" Last Change: 2015 Sep 21
if exists("b:current_syntax")
finish
endif
You can’t perform that action at this time.