Skip to content

Instantly share code, notes, and snippets.

View LukeMathWalker's full-sized avatar
🔮
Wondering

Luca Palmieri LukeMathWalker

🔮
Wondering
View GitHub Profile
font:
normal:
family: firacode
style: Regular
bold:
family: firacode
style: Bold
italic:
@LukeMathWalker
LukeMathWalker / starship.toml
Created August 22, 2021 10:19
Minimal starship prompt configuration for a responsive shell
add_newline = true
format = """\
$username\
$memory_usage\
$hostname\
$directory\
$git_branch\
$git_commit\
$git_state\
@LukeMathWalker
LukeMathWalker / audit-on-push.yml
Last active September 23, 2024 05:37
GitHub Actions - Rust setup with Postgres + sqlx
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
@LukeMathWalker
LukeMathWalker / .gitlab-ci.yml
Last active August 22, 2024 04:24
GitLab CI - Rust setup
image: "rust:latest"
default:
before_script:
- rustc --version
- cargo --version
stages:
- test
@LukeMathWalker
LukeMathWalker / audit.yml
Last active October 6, 2024 00:44
GitHub Actions - Rust setup
name: Security audit
on:
schedule:
- cron: '0 0 * * *'
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
@LukeMathWalker
LukeMathWalker / .travis.yml
Last active August 26, 2023 03:52
Travis CI - Rust setup
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
Last active June 29, 2024 12:20
CircleCI - Rust setup
version: 2
jobs:
build-and-test:
docker:
- image: cimg/rust:1.69
environment:
# Fail the build if there are warnings
RUSTFLAGS: '-D warnings'
steps:
- checkout
name: CI
on:
push
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
Plug 'easymotion/vim-easymotion'
let mapleader=" "
set easymotion
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

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: