Skip to content

Instantly share code, notes, and snippets.

View b-ggs's full-sized avatar

boggs 🌊 b-ggs

View GitHub Profile
Adobe Application Manager
Adobe Photoshop CC 2014
Amphetamine.app
Android File Transfer.app
Android Studio.app
App Store.app
AppCleaner.app
Audacity.app
Automator.app
Blackmagic Disk Speed Test.app
Chrome Apps.localized
Hacknet.app
Opus Magnum.app
┌─┐┌┐ ┌─┐┌─┐┌─┐
│└┘├┴┐ │ ┬│ ┬└─┐
└──└─┘────└─┘└─┘└─┘
[e] <empty buffer>
MRU CWD
@b-ggs
b-ggs / remove-subs.sh
Created December 21, 2017 10:27 — forked from arukaen/remove-subs.sh
Remove subtitles from MKVs using mkvtoolnix
#!/bin/bash
# Remove subtitles from MKVs
# If no directory is given, work in local dir
if [ "$1" = "" ]; then
DIR="."
else
DIR="$1"
fi
#!/bin/bash
# usage: ./remove-mkv-subtitles.sh [--no-dry] [path(s)]
# Script to find MKV files in the given paths and remove subtitle tracks from them. Dry run by default.
# (usually) non-default dependencies: mkvtoolnix, dc
remvsub(){
set -e
require 'net/http'
require 'json'
URL = 'https://quote.coins.ph/v1/markets/BTC-PHP'
def get_info
Net::HTTP.get(URI.parse(URL))
end
def parse_info(raw_response)
dpapa release start -v 0.0.1
dpapa release add -v 0.0.1 -b feature/1-add-butterfree-gem feature/2-add-beedrill-gem
dpapa release finish -v 0.0.1
dpapa release patch -v 0.0.1 -b patch/0.0.1/3-add-pidgey-gem
dpapa hotfix start -v 0.0.2
dpapa hotfix add -v 0.0.2 -b bugfix/4-fix-charmeleon-spelling bugfix/5-fix-gem-source
dpapa hotfix finish -v 0.0.2
dpapa hotfix merge -v 0.0.2 -b release/0.0.1
dpapa release merge -v 0.0.1
https://github.com/vivien/i3blocks/issues/190
$ i3-msg -t get_workspaces
[{"num":1,"name":"1","visible":true,"focused":true,"rect":{"x":0,"y":0,"width":1366,"height":747},"output":"eDP1","urgent":false},{"num":2,"name":"2","visible":false,"focused":false,"rect":{"x":0,"y":35,"width":1366,"height":712},"output":"eDP1","urgent":false}]
(function () {
// localStorage with image
var storageFiles = JSON.parse(localStorage.getItem("storageFiles")) || {},
elephant = document.getElementById("elephant"),
storageFilesDate = storageFiles.date,
date = new Date(),
todaysDate = (date.getMonth() + 1).toString() + date.getDate().toString();
// Compare date and create localStorage if it's not existing/too old
if (typeof storageFilesDate === "undefined" || storageFilesDate < todaysDate) {