Skip to content

Instantly share code, notes, and snippets.

View wandersoncferreira's full-sized avatar
🐢

bartuka wandersoncferreira

🐢
View GitHub Profile
@didibus
didibus / complex_business_process_example.clj
Last active October 12, 2023 11:16
Example of a complex business process to implement in Clojure. Please link to your solutions for alternative ways to implement the same in Clojure (or other languages).
(ns complex-business-process-example
"A stupid example of a more complex business process to implement as a flowchart.")
;;;; Config
(def config
"When set to :test will trigger the not-boosted branch which won't write to db.
When set to :prod will trigger the boosted branch which will try to write to the db."
{:env :prod})
@wandersoncferreira
wandersoncferreira / pgformatter_installer.sh
Created June 14, 2021 12:51
pgFormatter installer for Fedora 34
#!/usr/bin/env bash
# 1. Download pgFormatter Release
wget https://github.com/darold/pgFormatter/archive/refs/tags/v5.0.zip
# 2. Unzip
unzip v5.0.zip
# 3. Install Perl Dependencies
sudo dnf install perl-ExtUtils-MakeMaker perl-autodie perl-open perl-FindBin
@agzam
agzam / custom-org-insert-link.org
Last active June 30, 2020 23:29
Customize org-insert-link