Skip to content

Instantly share code, notes, and snippets.

Currently leeching...

Seyoum seyoum

Currently leeching...
Block or report user

Report or block seyoum

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ojame / delete.js
Created Jun 29, 2017
Delete all movies that haven't been 'downloaded' in Radarr. Mass/bulk deleting.
View delete.js
// Go to Radarr and click 'settings' => 'general'.
// Open the JavaScript Console in Google Chrome (View => Developer => Javascript Console)
// Past the following in. Hit enter and away you go.
const key = document.getElementsByClassName('x-api-key')[0].value;
if (!key) {
alert('Navigate to /settings/general and run again');
citrusui /
Last active Sep 14, 2019
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<summary>How do I dropdown?</summary>
This is how you dropdown.
Phlow / jekyll-sorted-category-for-loop-alphabetical-date.liquid
Last active Sep 2, 2019
Jekyll (Liquid) for loop to sort posts by category in alphabetical or date-based or similiar order.
View jekyll-sorted-category-for-loop-alphabetical-date.liquid
{% comment %}
# Change date order by adding '| reversed'
# To sort by title or other variables use {% assign sorted_posts = category[1] | sort: 'title' %}
{% endcomment %}
{% assign sorted_cats = site.categories | sort %}
{% for category in sorted_cats %}
{% assign sorted_posts = category[1] | reversed %}
<h2 id="{{category[0] | uri_escape | downcase }}">{{category[0] | capitalize}}</H2>
protrolium /
Last active Oct 14, 2019
using ffmpeg to extract audio from video files


Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

iambibhas / scopes.txt
Last active Sep 29, 2019
Sublime Text 2: Snippet scopes
View scopes.txt
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
You can’t perform that action at this time.