Open in app

Sign in

Write

Sign in

Sergey Fedotov
Sergey Fedotov

26 Followers

Home

About

Apr 21, 2022

Batch processing video with FFmpeg

Sometimes need to compress a few videos quickly, but few services allow you to do that or you don’t want to use them at all to save time or your privacy. Then you might want to consider FFmpeg and a slick trick in the terminal: mkdir res; for i in *.mov; do ffmpeg -i $i ./res/${i%.*}.mov; done mkdir res — will created a folder for processed videos in *.mov — is responsible for the file extension on the input

Ffmpeg

1 min read

Batch processing video with FFmpeg
Batch processing video with FFmpeg
Ffmpeg

1 min read


Apr 9, 2022

How do I protect my privacy if personal data leak in the service?

Here are a few ways to help you keep your privacy and understand who leaked or whose database was hacked or sold (yes, and it happens). One service = one e-mail (or alias) For example, if leak data from a local food delivery service, attackers will get username123@xyz.com and spam there…

Security

1 min read

How do I protect my privacy if personal data leak in the service?
How do I protect my privacy if personal data leak in the service?
Security

1 min read


Apr 5, 2022

How do I know if I’m on the phone with a robot?

Hello, dear friends! Could you please tell me what signs that I am communicating with a robot that uses realistic human voice synthesis technology? Suppose the robot speaks extremely realistically and answers questions correctly, but it may not breathe like a human (we rarely notice such details). Can you tell us, please, what methods do you use?

Asahiocean

1 min read

How do I know if I’m on the phone with a robot?
How do I know if I’m on the phone with a robot?
Asahiocean

1 min read


Mar 17, 2022

Encrypt text with OpenSSL

Hello! I will tell you how to use the utility “openssl” encrypting and decrypting a text file. The “openssl” has a command “enc”, which is exactly what we need! Command below using password after “-k” will encrypt file “TEXT.txt” and create file with encrypt text: openssl enc -k 'U1F54A' -aes256 -e -in 'TEXT.txt' -out 'ENC.txt' And to decrypt it we use the command: openssl enc -k 'U1F54A' -aes256 -d -in 'ENC.txt' -out 'DEC.txt'

Sergey Fedotov

1 min read

Encrypt text with OpenSSL
Encrypt text with OpenSSL
Sergey Fedotov

1 min read


Mar 10, 2022

QR code reader for OS X via Terminal

Hello, there! I want to share with you how you can extend the functionality of your Mac OS X. To do this, you will need the Homebrew package manager to install a couple of small utilities. With it you can set “zbar” to decode a QR code and “pngpaste” to…

Sergey Fedotov

2 min read

QR code reader for OS X via Terminal
QR code reader for OS X via Terminal
Sergey Fedotov

2 min read


Feb 3, 2022

How to get links to all Behance projects

Hello! Suppose you have the task of getting all direct links to projects on Behance a particular user or yourself, and the number of projects is very large or you just do not want to spend a lot of time on routine work! I had such a task once too…

Asahiocean

2 min read

How to get links to all Behance projects
How to get links to all Behance projects
Asahiocean

2 min read


Jan 21, 2022

Moving PiP-player on Mac OS

I accidentally found a useful feature in macOS and want to share it with you! By default the video player window in Safari can only be in the corners of your screen, but if you press “Command” (⌘) and move the player, you can put it where you want it! Thank you for your attention! Have a good day!

Asahiocean

1 min read

Moving PiP-player on Mac OS
Moving PiP-player on Mac OS
Asahiocean

1 min read


Dec 11, 2021

Firefox Proxy: bash for prefs.js

A script using variables at the end of the story, and shortly here: #!/bin/bash sed -En -i'.backup' '/user_pref\("network\.proxy\.(socks|socks_port|type)"/!p $ a\ user_pref("network.proxy.socks", "127.0.0.1");\ user_pref("network.proxy.socks_port", 9050);\ user_pref("network.proxy.type", 1); ' /home/username/.mozilla/firefox/*.default-release/prefs.js A task has arisen: how to change proxy settings in Firefox relatively quickly?

Asahiocean

2 min read

Firefox Proxy: bash for prefs.js
Firefox Proxy: bash for prefs.js
Asahiocean

2 min read


Jul 25, 2021

Rolling images using ImageMagick

Let’s install ImageMagick brew install imagemagick More download links can be found here: https://imagemagick.org/script/download.php 2. Create a file, for example: “script.sh” and add the following to it: #!/bin/bash DIR=$(dirname "$0") mkdir $DIR/Results/ for FILE in $(ls $DIR); do convert $DIR/$FILE -alpha set \( +clone -distort DePolar 0 -virtual-pixel HorizontalTile -background None -distort Polar 0 \) -compose Dst_In -composite -trim +repage $DIR/Results/${FILE%.*}.png; done

Asahiocean

1 min read

Rolling images using ImageMagick
Rolling images using ImageMagick
Asahiocean

1 min read


May 14, 2021

How do edit multi lines in XCode?

Sometimes it happens that you need to edit several lines at once and do it quickly! XCode has such a function and it is built into the editor by default! Shift ⇧ + Ctrl ⌃ See how easy it is! 👍 And can also select the necessary lines with the mouse cursor, for this need to hold down keys “Shift + Ctrl” and select the lines to edit use cursor. Thanks for your attention! Have a nice day!

Asahiocean

1 min read

How do edit multi lines in XCode?
How do edit multi lines in XCode?
Asahiocean

1 min read

Sergey Fedotov

Sergey Fedotov

26 Followers

Developer and researcher

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams