- Install
osxfuse:
brew cask install osxfuse-
Reboot your Mac.
-
Install
ntfs-3g:
| #!/bin/sh | |
| # This script needs ffmpeg v3.2 (--enable-libebur128) + jq | |
| # Check if source and target files are provided | |
| if [ $# -ne 2 ]; then | |
| echo "Usage: $0 <source> <target>" | |
| exit 1 | |
| fi | |
| SOURCE="$1" |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Building JSON-LD APIs: Best Practices</title> | |
| <meta charset='utf-8'> | |
| <script class="remove" src="local-biblio.js"></script> | |
| <script src='https://www.w3.org/Tools/respec/respec-w3c-common' | |
| async class='remove'></script> | |
| <script class='remove'> | |
| var respecConfig = { |
| #!/bin/sh | |
| # This script needs ffmpeg v3.2 (--enable-libebur128) + jq | |
| SOURCE=$1; | |
| JSON_ANALYST_FILE="$SOURCE.json" | |
| DEST_I="-23" | |
| DEST_LRA="15" | |
| DEST_TRUE_PEAK="-3" |
| #!/usr/bin/env ruby | |
| require 'open3' | |
| require 'json' | |
| ffmpeg_bin = '/usr/local/bin/ffmpeg' | |
| target_il = -24.0 | |
| target_lra = +11.0 | |
| target_tp = -2.0 | |
| samplerate = '48k' |
osxfuse:brew cask install osxfuseReboot your Mac.
Install ntfs-3g:
| #!/bin/sh | |
| # Ensure we've got libxml2 | |
| apt-get update | |
| apt-get install libxml2-dev | |
| # Make /src directory, if required | |
| mkdir /src | |
| cd /src |
| cd ~ | |
| apt-get install libfontenc1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig -y | |
| #https://github.com/wkhtmltopdf/wkhtmltopdf/releases | |
| #replace arch | |
| wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb | |
| dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb | |
| apt --fix-broken install |
| CREATE OR REPLACE FUNCTION table_update_notify() RETURNS trigger AS $$ | |
| DECLARE | |
| id bigint; | |
| BEGIN | |
| IF TG_OP = 'INSERT' OR TG_OP = 'UPDATE' THEN | |
| id = NEW.id; | |
| ELSE | |
| id = OLD.id; | |
| END IF; | |
| PERFORM pg_notify('table_update', json_build_object('table', TG_TABLE_NAME, 'id', id, 'type', TG_OP)::text); |
| ### Keybase proof | |
| I hereby claim: | |
| * I am drlinux on github. | |
| * I am drlinux (https://keybase.io/drlinux) on keybase. | |
| * I have a public key ASB_03p2zPyRqB88NEfYaMGqX2bpR0wUM55DVNIrGcySdQo | |
| To claim this, I am signing this object: |
| from base64 import b64decode | |
| from defusedxml.lxml import fromstring | |
| from signxml import xmldsig | |
| class SAMLParser(object): | |
| def __init__(self, rawresp): | |
| self.b64 = rawresp |