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== | |
// @id wallsearch@vkopt | |
// @name Wall Search by UID for VkOpt | |
// @version 1.0 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, ищущий по стене посты и комменты заданного пользователя | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
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
LIST=$(curl https://www.last.fm/player/station/user/$USER/recommended?ajax=1 | jq -r '.playlist|.[]|._playlinks|.[0]|.url') | |
FILENAME="lastfm.pls" | |
echo "" > $FILENAME | |
i=1 | |
for url in $LIST | |
do | |
echo "File$i=$url" >> $FILENAME | |
i=$((i+1)) | |
done |
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== | |
// @id linkshighlight@vkopt | |
// @name Links Highlight for VkOpt | |
// @version 1.1 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, подсвечивающий некоторые неподсвечиваемые ссылки | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
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
# Dependencies: | |
# jq https://stedolan.github.io/jq/ | |
# ffmpeg https://ffmpeg.org/ | |
# Usage: | |
# add to crontab schedule with command: twitch.sh [username] [oauth token] | |
USER="$1" | |
OAUTH="$2" | |
FFMPEG="ffmpeg" # change this if you have ffmpeg installed in other place | |
JQ="./jq" # change this if you have jq downloaded in other directory. By default, jq called from current directory. |
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 | |
MASK="mask.png" | |
NEGATE_FIXED="negate_fixed.png" | |
NEGATE="negate.png" | |
#convert -density 300 -trim test.pdf -quality 100 -flatten -sharpen 0x1.0 test.jpg | |
convert $MASK -negate $MASK | |
for i in *.png | |
do | |
convert $i -negate $NEGATE |
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
#!/usr/bin/env bash | |
JQ="jq" | |
TEMP="temp.json" | |
COMMENTS="comments.txt" | |
CURSOR="" | |
PARAM="" | |
echo "" > ${TEMP} | |
echo "" > ${COMMENTS} |
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== | |
// @id imdump@vkopt | |
// @name Скачивание всех диалогов в TXT | |
// @version 1.2 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, позволяющий получить zip-архив со всеми диалогами ВКонтакте | |
// @include *vk.com* | |
// @run-at document-end | |
// @downloadURL https://gist.github.com/Pmmlabs/0caeee114c77b7037922/raw/c4a79c6819ef1980eb43626693201afcfbe4105c/imdump.user.js |
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== | |
// @id exactsearch@vkopt | |
// @name Точный поиск для VkOpt | |
// @version 1.0 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, добавляющий функцию точного поиска по аудиозаписям | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
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== | |
// @id font@vkopt | |
// @name Font for VkOpt | |
// @version 1.0 | |
// @namespace https://greasyfork.org/users/23 | |
// @author Pmmlabs@github | |
// @description Плагин для VkOpt, добавляющий возможность форматирования текста в диалогах (жирный,курсив,зачеркнутый) | |
// @include *vk.com* | |
// @run-at document-end | |
// @noframes |
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
preset="-c:v h264 -crf 18 -preset veryslow" | |
width=640 | |
height=1136 | |
audiorate=44100 | |
output="output.ts" | |
rm -rf processed $output | |
mkdir processed | |
pad_vertical() { |
NewerOlder