Skip to content

Instantly share code, notes, and snippets.

<div class="ui cards" style="margin: 10px">
<div class="ui icon input" style="width: 100%">
<input type="text" placeholder="Search..." v-model="searchQuery" />
<i class="search icon"></i>
class="card ui fluid"
v-for="product in searchedProducts"
irazasyed /
Created October 7, 2020 00:05
Solution for MySQL / MariaDB Start Issue on MacOS

Solution for MySQL / MariaDB Start Issue on MacOS


On trying to start mysql.server start

./usr/local/bin/mysql.server: line 264: kill: (12262) - No such process ERROR!

hlorand /
Last active June 22, 2024 19:07
Video stabilization using VidStab and FFMPEG

Video stabilization using VidStab and FFMPEG

** Step 1 **

Install ffmpeg with the vidstab plugin.

steven2358 /
Last active July 13, 2024 20:20
FFmpeg cheat sheet
alexanderzobnin /
Last active January 1, 2022 19:47
Script for searching passwords in Pwned Passwords database from
import os
import hashlib
mypasswords = [
SimplGy /
Last active July 27, 2023 07:30
Rename files with a hash based on their contents. eg: `abc.jpg` to `3101ace8db9f.jpg`. Useful for detecting duplicates.
# TODO: skip tiny files (so small they couldn't be photos)
# TODO: make sure sym links and other file system oddities are handled
# TODO: look at paralellization for perf boost
# Constants
pawelszydlo /
Last active June 10, 2024 14:37
Script to clear finished torrents from transmission-daemon
# Clears finished downloads from Transmission.
# Version: 1.1
# Newest version can always be found at:
# Server string is resolved in this order:
# 1. TRANSMISSION_SERVER environment variable
fopina /
Last active January 8, 2022 17:30
Scraper script for
#!/usr/bin/env python
Scraper script for
fopina$ ./ -h
usage: [-h] [--download] [--search] [--system SYSTEM] [--list]
jaydenseric /
Last active July 3, 2024 19:58
A quick guide to using FFmpeg to create cross-device web videos.

Video conversion with FFmpeg


On mac:

  1. Download the latest release.
  2. Extract the binary and place it in /usr/local/bin.

Command basics

protrolium /
Last active July 12, 2024 17:37
ffmpeg guide


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

You can get the list of installed codecs with: