Shows a list of tweets, basically it can show any list of comments. We use it to display our Twitter account's latest "saved search" - results.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Youtube playlist importer for VLC media player 1.1 and 2.0 | |
Copyright 2012 Guillaume Le Maout - Updated by bastibeckr | |
Authors: Guillaume Le Maout | |
Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
IN=$1 | |
OUT=$2 | |
true ${SD_PARAMS:="-55dB:d=0.3"}; | |
true ${MIN_FRAGMENT_DURATION:="20"}; | |
export MIN_FRAGMENT_DURATION | |
if [ -z "$OUT" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Will output a list of commands to backup WordPress web-root + Database: | |
# This script won't execute the commands, so you can review them before executing. | |
# | |
# Requirements: wp-cli, rsync | |
# | |
# 1. create backup folder based on date | |
# 2. backup WordPress DB via wp-cli | |
# 3. backup WordPress web-root via rsync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/zsh | |
sizes=( "100x56" "1024x576" "150x150" "150x80" "200x125" "250x140" "256x144" "300x169" "320x180" "400x225" "600x338" "768x432" "800x450" ) | |
filename=${1} | |
echo "Filename: ${filename:r:t}" | |
# Dirname without trailing slash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am bastibeckr on github. | |
* I am bastibeckr (https://keybase.io/bastibeckr) on keybase. | |
* I have a public key ASB9dQmh0GnqfPjKvbky_FnBjwQXGaqD14XDaEPpmBXCHwo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env osascript -l JavaScript | |
ObjC.import('stdlib') | |
console.log = function() { | |
ObjC.import('Foundation'); | |
for (argument of arguments) { | |
$.NSFileHandle.fileHandleWithStandardOutput.writeData($.NSString.alloc.initWithString(String(argument) + "\n").dataUsingEncoding($.NSNEXTSTEPStringEncoding)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const schema = require('./schema') | |
const db = require('./connection') | |
const fileName = './elastic-dump-jsonlines.txt' | |
const readJson = require('./read-json') | |
db.once('open', function () { | |
console.log('Connected to DB.') | |
readJsonLines() | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on https://github.com/amiaopensource/homebrew-amiaos | |
require 'formula' | |
class Bmdtools < Formula | |
env :std | |
depends_on 'ffmpeg' => 'with-tools' | |
depends_on 'amiaopensource/amiaos/bmdtools' => :build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# based on https://github.com/amiaopensource/homebrew-amiaos | |
require 'formula' | |
class Bmdtools < Formula | |
homepage 'http://github.com/lu-zero/bmdtools' | |
head 'https://github.com/lu-zero/bmdtools.git' | |
env :std |
NewerOlder