Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am techmexdev on github.
  • I am rrodolfo (https://keybase.io/rrodolfo) on keybase.
  • I have a public key whose fingerprint is 2280 65C3 FC37 DD62 070D 06E8 5DA6 BC57 9030 8EEF

To claim this, I am signing this object:

@techmexdev
techmexdev / jekyll-and-liquid.md
Created January 20, 2017 17:12 — forked from magicznyleszek/jekyll-and-liquid.md
Jekyll & Liquid Cheatsheet

Jekyll & Liquid Cheatsheet

A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.

Running

Running a local server for testing purposes:

//config.rb
activate :s3_sync do |s3_sync|
s3_sync.bucket = 'my.bucket.com' # The name of the S3 bucket you are targeting. This is globally unique.
s3_sync.region = 'us-west-1' # The AWS region for your bucket.
s3_sync.aws_access_key_id = 'AWS KEY ID'
s3_sync.aws_secret_access_key = 'AWS SECRET KEY'
s3_sync.delete = false # We delete stray files by default.
s3_sync.after_build = false # We do not chain after the build step by default.
s3_sync.prefer_gzip = true

Keybase proof

I hereby claim:

  • I am rodolfo-r on github.
  • I am rrodolfo (https://keybase.io/rrodolfo) on keybase.
  • I have a public key ASBgPVxcQStivurqP-d18sTtKUHFyES4TyuwmCn6Fgo41Qo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@techmexdev
techmexdev / delete-helm-chart-resources.sh
Last active October 15, 2022 20:54
Deletes the leftover resources after purging a chart. Workaround for: https://github.com/helm/helm/issues/6646
#!/usr/bin/env bash
ENV=$1
APP=$2
NAMESPACE=$3
FILENAME=upgrade-error.txt
while true
do
function upgrade() {