Skip to content

Instantly share code, notes, and snippets.

View agaviria's full-sized avatar
:octocat:

Alejandro agaviria

:octocat:
View GitHub Profile
ARG VCS_REVISION
FROM docker.io/lukemathwalker/cargo-chef:0.1.66-rust-1.76 AS chef
# set the work directory for the backend application
WORKDIR /app
FROM chef AS planner
COPY . .
RUN cargo chef prepare --recipe-path recipe.json
-- https://github.com/geckoboard/pgulid
-- pgulid is based on OK Log's Go implementation of the ULID spec
--
-- https://github.com/oklog/ulid
-- https://github.com/ulid/spec
--
-- Copyright 2016 The Oklog Authors
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
[
// jj is the keybinding to replace escape key. Vi nav preference.
{
"keys": ["j", "j"],
"command": "_enter_normal_mode",
"args": {
"mode": "mode_insert"
},
"context": [{"key": "vi_insert_mode_aware"}]
},
@agaviria
agaviria / .gitignore
Last active April 27, 2016 20:57
gitignore for Go dev
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
# Architecture specific extensions/prefixes
@agaviria
agaviria / Ledger_3_commands.dat
Created August 10, 2012 20:03
Collection of ledger-cli commands
# comments example for .dat or .ledger files
@smallexample
; This is a single line comment,
# and this,
% and this,
| and this,
* and this.
# If you have a deeply nested tree of accounts,
# it may be convenient to define an alias, for example: