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 command performs video and audio processing using FFmpeg. | |
# Video Processing: | |
# - Scale the video to a width of 480 pixels, maintaining the aspect ratio. | |
# - Adjust the color saturation to 0.8 times the original value. | |
# - Add noise to the video with an intensity of 20, using a temporal and spatial noise pattern. | |
# Audio Processing: | |
# - Add a delay to the noise audio to synchronize it with the original audio. | |
# - Adjust the volume of the noise audio to 0.1 times the original volume. |
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
mkdir '#1_T_OPEN_CATEGORY_TASKNAME' | |
cd '#1_T_OPEN_CATEGORY_TASKNAME' | |
echo Target: > notes.txt |
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
mkdir '#1_P_OPEN_CATEGORY_PROJECTNAME' | |
cd '#1_P_OPEN_CATEGORY_PROJECTNAME' | |
echo Target: > notes.txt |
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
# День: | |
xgamma -rgamma 1.0 -bgamma 1.0 -ggamma 1.0 | |
# Вечер: | |
xgamma -ggamma 0.85 -bgamma 0.75 | |
# Ночь: | |
xgamma -ggamma 0.75 -bgamma 0.6 |
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
ffmpeg -i video.avi -b:v 800k -s 256x144 -vcodec mpeg2video -ab 48k -ar 8000 -acodec ac3 final_video.mp4 |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'tpope/vim-surround' | |
Plugin 'scrooloose/syntastic' |
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
sudo add-apt-repository ppa:mc3man/trusty-media | |
sudo apt-get update | |
sudo apt-get install ffmpeg x264 |
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
# Игнор-лист файлов проекта | |
# Игнорировать ВСЕ файлы и директории, включая поддиректории и файлы в них | |
* | |
# ---- ФАЙЛЫ ---- | |
# Игнорирование по типу файла, будут игнорироваться в АБСОЛЮТНО всех директориях | |
# Например /files/data.zip, /server.log, /uploads/users/data/info.xls | |
*.zip | |
*.log | |
*.xls |
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
import java.util.Properties; | |
import javax.mail.Folder; | |
import javax.mail.Message; | |
import javax.mail.MessagingException; | |
import javax.mail.NoSuchProviderException; | |
import javax.mail.Session; | |
import javax.mail.Store; | |
public class CheckingMail { |
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
public List<Record> getResult(String query) { | |
List<Record> out = new ArrayList<>(); | |
try (Statement statement = connection.createStatement()) { | |
logConnect(query); | |
ResultSet result = statement.executeQuery(query); | |
while (result.next()) { | |
Record record = new Record(); | |
try { | |
for (int i = 1;; i++) { | |
record.addValue(result.getString(i)); |
NewerOlder