Skip to content

Instantly share code, notes, and snippets.

ftntming / install-kafka.txt
Created Apr 1, 2021 — forked from jarrad/install-kafka.txt
Install Kafka on OSX via Homebrew
View install-kafka.txt
$> brew cask install java
$> brew install kafka
$> vim ~/bin/kafka
# ~/bin/kafka
zkServer start /usr/local/etc/kafka/
ftntming /
Created Mar 2, 2021 — forked from imShara/
Ejabberd (19.08+) mod_http_upload and Nginx reverse-proxy

If we have xmpp server on host domain.tld and want serve files from https://xmpp.domain.tld/upload/…


  port: 5280
  ip: ""
  module: ejabberd_http
package org.keycloak.authentication.authenticators.browser;
import org.keycloak.authentication.AuthenticationFlowContext;
import org.keycloak.models.RoleModel;
import org.keycloak.models.UserModel;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
ftntming / OpenamRESTapi
Created Sep 2, 2020 — forked from burck1/OpenamRESTapi
OpenAM REST api summary
View OpenamRESTapi
Authentication -
Token Validation -
User Self Registration -
Reseting Forgotten Passwords -
Identity Management -
Login v1:
ftntming / final-cut-it-out.js
Created May 7, 2020 — forked from jashmenn/final-cut-it-out.js
Remove Silence from Final Cut Pro clips, automatically, using ffmpeg timecodes and OSX JavaScript Automation - Demo:
View final-cut-it-out.js
#!/usr/bin/env osascript -l JavaScript
* Delete silence from Final Cut Pro timeline using a script.
* Demo:
* This script accepts an ffmpeg silencedetect log as input.
* To setup, have fcp running along with your clip selected. Ensure that the
* timecode will start at zero before running this script. That is, if your clip
ftntming /
Created Apr 22, 2020 — forked from dergachev/
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF


To capture the video (filesize: 19MB), using the free "QuickTime Player" application: