This file contains hidden or 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 | |
#Start time | |
StTime="00:02:31" | |
#Length of video | |
LenV="00:00:05" | |
#Quantity images per sec | |
R="4" | |
#Width of images | |
WIDTH="600" |
This file contains hidden or 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
# THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP | |
# YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED | |
double_buffer yes | |
# maintain spacing between certain elements | |
use_spacer yes | |
# set to yes if you want conky to be forked in the background | |
background yes | |
use_xft yes |
This file contains hidden or 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
echo "Введите название новой папки для новых изображений" | |
read DestName | |
echo "Введите ширину новых изображений" | |
read WIDTH | |
mkdir "$DestName" | |
for i in *.JPG; do convert $i -resize "$WIDTH" "$DestName"/$i; done | |
cd "$DestName" | |
echo "Введите 1 если хотите сделать видео из набора картинок" | |
read NUM | |
if [[ "$NUM" = "1" ]] |
This file contains hidden or 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
echo "Введите число кадров в секунду" | |
read F | |
mencoder mf://*.JPG -mf fps="$F":type=jpg -ovc copy -oac copy -o output.avi | |
mencoder output.avi -ovc xvid -vf eq2=1.0:0.87:0.0:1.2:0.99:0.99:1 -oac copy -srate 11000 -xvidencopts fixed_quant=1 -o video.avi | |
rm output.avi |
This file contains hidden or 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
echo "Введите rate раскадровки" | |
read VideoRate | |
echo "Введите ширину новых изображений" | |
read WIDTH | |
echo "Введите rate для gif" | |
read GIfrate | |
Filename=$1; | |
DestName='resized_im'; | |
VideoImages='frames'; |
This file contains hidden or 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 | |
#FileName | |
FileName=$1 | |
#Start time | |
echo "Введите начальное время" | |
read StTime | |
#Length of video | |
echo "Введите продолжительность" | |
read LenV |
This file contains hidden or 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
(function(){ | |
var script = document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = "https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js" | |
document.head.appendChild(script); | |
var imageCounter = 0; | |
function getLinkFromHeader(item){ |
This file contains hidden or 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
logoutput: stderr | |
internal: eth0 port = 1080 | |
external: eth0 | |
socksmethod: username | |
user.privileged: root | |
user.unprivileged: nobody | |
user.libwrap: nobody | |
client pass { |
This file contains hidden or 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
function mousePressed() { | |
saveFrames('out', 'png', 1, 25, function(data) { | |
var img = document.createElement('img'); | |
img.src = data[1].imageData; | |
document.body.appendChild(img); | |
}); | |
} |
This file contains hidden or 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
//base | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const QUERY = { | |
name: '[name].[hash].[ext]' | |
}; |
OlderNewer