Skip to content

Instantly share code, notes, and snippets.

View ProductList.vue
<template>
<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>
</div>
<div
class="card ui fluid"
v-for="product in searchedProducts"
:key="product.id"
@irazasyed
irazasyed / mysq-mariadb-macos-start-issue.md
Created October 7, 2020 00:05
Solution for MySQL / MariaDB Start Issue on MacOS
View mysq-mariadb-macos-start-issue.md
@hlorand
hlorand / vidstab_ffmpeg.md
Last active July 22, 2023 15:20
Video stabilization using VidStab and FFMPEG
View vidstab_ffmpeg.md
@steven2358
steven2358 / ffmpeg.md
Last active September 27, 2023 12:42
FFmpeg cheat sheet
View ffmpeg.md
@alexanderzobnin
alexanderzobnin / pwned-pass-fast.py
Last active January 1, 2022 19:47
Script for searching passwords in Pwned Passwords database from haveibeenpwned.com
View pwned-pass-fast.py
#!/usr/bin/python
import os
import hashlib
mypasswords = [
"doors",
"d00rs",
"Morrison",
"Hotel"
@SimplGy
SimplGy / renameToHash.sh
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.
View renameToHash.sh
#!/bin/bash
# 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
#
CHAR_COUNT=12
BLOCK_COUNT=6
@pawelszydlo
pawelszydlo / transmission_remove_finished.sh
Last active May 21, 2023 23:51
Script to clear finished torrents from transmission-daemon
View transmission_remove_finished.sh
#!/bin/bash
# Clears finished downloads from Transmission.
# Version: 1.1
#
# Newest version can always be found at:
# https://gist.github.com/pawelszydlo/e2e1fc424f2c9d306f3a
#
# Server string is resolved in this order:
# 1. TRANSMISSION_SERVER environment variable
@fopina
fopina / emuparadise.py
Last active January 8, 2022 17:30
Scraper script for emuparadise.me
View emuparadise.py
#!/usr/bin/env python
"""
Scraper script for emuparadise.me
Usage
=====
```
fopina$ ./emuparadise.py -h
usage: emuparadise.py [-h] [--download] [--search] [--system SYSTEM] [--list]
@jaydenseric
jaydenseric / ffmpeg-web-video-guide.md
Last active June 16, 2023 12:09
A quick guide to using FFmpeg to create cross-device web videos.
View ffmpeg-web-video-guide.md
@protrolium
protrolium / ffmpeg.md
Last active September 29, 2023 20:19
ffmpeg guide
View ffmpeg.md