Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / un-golden_skinstones.dtstyle
Created May 12, 2016 22:27
darktable style for skintone adjustment.
<?xml version="1.0" encoding="UTF-8"?>
<darktable_style version="1.0"><info><name>un-golden_skintones</name><description></description></info><style><plugin><num>0</num><module>3</module><operation>colorzones</operation><op_params>gz02eJxjYoAAVU8hO1XPSXbbc28DaSH7vNtm9ttzo+0ZGBrsQfL8O9fYNgnF2e3/NgEu//pCPlxe4sQSW7teA7usllQ76y+z7dD048WMyx7a6RzgtGc8cc3Opuyx3cOJ3+ycOJ/azTv0wA4kF2rGYJ92md3+88YXdjn9v+zWn2eE6wXJMTCccAIAQGI7XQ==</op_params><enabled>1</enabled><blendop_params>gz06eJxjZWBgkGYAgRNODFDAyMjAcPbMGTsGLGCd+0NbBoYGewiGAXrzGRjOoLiPPvYDAD1xHuc=</blendop_params><blendop_version>7</blendop_version><multi_priority>0</multi_priority><multi_name></multi_name></plugin></style></darktable_style>
@thde
thde / alpine-install.sh
Last active February 23, 2024 22:59
A script to install alpine linux on a dedicated server. Tested on Hetzner, Kimsufi / OVH
#!/bin/sh
set -ex
PATH=/bin:/sbin:/usr/bin:/usr/sbin
KEYMAP="us us"
HOST=alpine
USER=anon
ROOT_FS=ext4
BOOT_FS=ext4
@voxxit
voxxit / USING-VAULT.md
Last active July 7, 2022 03:02
Consul + Vault + MySQL = <3
git clone https://gist.github.com/dd6f95398c1bdc9f1038.git vault
cd vault
docker-compose up -d
export VAULT_ADDR=http://192.168.99.100:8200

Initializing a vault:

vault init
@renatolfc
renatolfc / ovpn-writer.sh
Created December 28, 2014 18:50
Script to generate an OpenVPN client configuration file in the unified format
#!/bin/sh
##
## Usage: ./ovpn-writer.sh SERVER CA_CERT CLIENT_CERT CLIENT_KEY SHARED_SECRET > client.ovpn
##
server=${1?"The server address is required"}
cacert=${2?"The path to the ca certificate file is required"}
client_cert=${3?"The path to the client certificate file is required"}
client_key=${4?"The path to the client private key file is required"}
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="your-old-email@example.com"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
@eimajtrebor
eimajtrebor / darktable-workflow.md
Last active September 8, 2023 13:24
My Darktable Workflow

My Darktable Workflow

Basic workflow

  • Copy a film roll (a directory of RAW images) into a directory on the machine running Darktable.
  • Import the film roll into Darktable.
  • Review the images using lighttable mode and remove any images that are beyond repair.
  • Take a snapshot of the image so we can do a before and after comparison.
  • Adjust the white balance.
  • Exposure compensation and recovery.