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
<?php | |
class Characters | |
{ | |
const ERROR_MESSAGE = '<p class="text-danger">The account name is not found or the characters tab is private.</p><p><img src="//i.imgur.com/C0v0IDq.png" class="thumbnail"></p>'; | |
public $config; | |
public $accountName; | |
public $leagueFilter; | |
public $levelFilter; |
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 | |
# Usage: | |
# ~$ sh reduce_video_file_size.sh [./input.mp4] [size mb] [./output.mp4] | |
# Parameters can be preset or set by providing none | |
# Input and output names must end with ".mp4" | |
# Can use Git Bash to run the script on Windows | |
display_help() { | |
local FILE=`basename "$0"` |
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
// ==UserScript== | |
// @name Instagram media | |
// @namespace https://arnoldsk.lv/ | |
// @version 0.1 | |
// @description small images? cringe | |
// @author ArnoldsK | |
// @match https://www.instagram.com/* | |
// @grant none | |
// ==/UserScript== |
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 | |
# Fix the audio | |
for FILE in *; do | |
if [[ $FILE == *.MP4 ]]; then | |
NEWFILE=$(shuf -zer -n10 {A..Z} {a..z} {0..9}) | |
echo "Working on ${FILE}..." | |
ffmpeg -v error -i $FILE -c:v libx264 -crf 22 "${NEWFILE}-audio-fix.mp4" |