Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
#!/usr/bin/env ruby | |
# | |
# Recreate Lightroom catalog by replacing corrupt files with recovered copies | |
# | |
# Keeps the directory structure and creates the new catalog in a new path, | |
# which means you'll need at least 3x the size of your photos of free space. | |
# | |
# Dependencies: | |
# - ruby | |
# - exiftool |
# Download latest archlinux bootstrap package, see https://www.archlinux.org/download/ | |
wget 'ftp://ftp.nluug.nl/pub/os/Linux/distr/archlinux/iso/latest/archlinux-bootstrap-*-x86_64.tar.gz' | |
# Make sure you'll have enough entropy for pacman-key later. | |
apt-get install haveged | |
# Install the arch bootstrap image in a tmpfs. | |
mount -t tmpfs none /mnt | |
cd /mnt | |
tar xvf ~/archlinux-bootstrap-*-x86_64.tar.gz --strip-components=1 |
#!/usr/bin/python | |
import json | |
import os | |
from flask import Flask | |
from ConfigParser import ConfigParser | |
app = Flask(__name__) | |
LOGICAL_DIR = "{{ vault_backend_path}}/logical/" | |
VAULT_URL = "https://{{ vault_default_cert_url }}:{{ vault_default_port }}" |
{ | |
"version":2.0, | |
"display_hints":[ | |
{ | |
"key":"GPCAMERA_GROUP_VIDEO", | |
"display_name":"Video Settings", | |
"settings":[ | |
{ | |
"setting_id":5, | |
"widget_type":"select", |
import codeanticode.syphon.*; | |
OPC opc; | |
SyphonClient client; | |
PImage dot; | |
PImage img; | |
void setup() { | |
size(640, 360, P3D); | |
client = new SyphonClient(this); |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |