Skip to content

Instantly share code, notes, and snippets.

@jedypod
jedypod / aftershot3_enable_dng_support.md
Last active November 30, 2024 21:00
Enable Adobe DNG Support in Corel AfterShot Pro 3

Enable DNG Support for Your Camera in Corel AfterShot Pro 3

AfterShot 3 does not support DNG files well, despite their claims to the contrary.

What if we need to use DNG files in our photo collection? There are valid reasons to need this, for example if you use Magic Lantern Dualiso raw files on your Canon camera and you need to use the DNG format to store the raw image after blending the exposures.

AfterShot does open DNG files if certain conditions are met. If you have specific supported cameras, AfterShot will open DNG files, but only if it has the right compression settings and metadata. The DNG file has to be uncompressed, and it must contain the Exif.Image.Model metadata matching a "known" camera.

Hack Your Own Camera Profile

  1. On the Aftershot Downloads Page there are AfterShot Pro Camera Profiles available for download.
@denji
denji / golang-tls.md
Last active August 23, 2025 19:29 — forked from spikebike/client.go
Simple Golang HTTPS/TLS Examples
Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
anonymous
anonymous / config.json
Created August 8, 2014 14:44
Bootstrap Customizer Config
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 46.7%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#5381A3",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
app.all('*', function (req, res, next) {
res.header("Access-Control-Allow-Origin", req.headers.origin);
res.header("Access-Control-Allow-Credentials", true);
res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS');
res.header("Access-Control-Allow-Headers", "X-Requested-With, Content-Type, Authorization, Content-Length");
if (req.method == 'OPTIONS') {
return res.send(200);
}
@haschek
haschek / .jshintrc
Created May 4, 2012 16:08
JSHint Configuration, Strict Edition
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true