Extract audio from a YouTube video file
ffmpeg -i INPUT.mp4 -ab 256k OUTPUT.mp3Cut 3s length
ffmpeg -y -ss 00:00:03 -i INPUT.mp4 -codec copy OUTPUT.mp4| #!/bin/bash | |
| # Define Color text | |
| NONE='\033[00m' | |
| RED='\033[01;31m' | |
| GREEN='\033[01;32m' | |
| YELLOW='\033[01;33m' | |
| PURPLE='\033[01;35m' | |
| CYAN='\033[01;36m' | |
| WHITE='\033[01;37m' | |
| BOLD='\033[1m' |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
| return str | |
| .normalize('NFD') | |
| .replace(/[\u0300-\u036f]/g, '') | |
| .replace(/đ/g, 'd') | |
| .replace(/Đ/g, 'D'); |
Extract audio from a YouTube video file
ffmpeg -i INPUT.mp4 -ab 256k OUTPUT.mp3Cut 3s length
ffmpeg -y -ss 00:00:03 -i INPUT.mp4 -codec copy OUTPUT.mp4git log to check commit [ID]git reset --hard [commit ID]git commit -m "Commit message"git push -f origin [remote branch]| LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so | |
| LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so | |
| LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so | |
| LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so | |
| LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so | |
| # This is the main Apache server configuration file. It contains the | |
| # configuration directives that give the server its instructions. | |
| # See http://httpd.apache.org/docs/2.4/ for detailed information about | |
| # the directives and /usr/share/doc/apache2/README.Debian about Debian specific |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| <IfModule mod_proxy_http.c> | |
| RewriteCond %{HTTP_USER_AGENT} googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp [NC,OR] | |
| RewriteCond %{QUERY_STRING} _escaped_fragment_ | |
| RewriteCond %{REQUEST_URI} ^(?!.*?(\.js|\.css|\.xml|\.less|\.png|\.jpg|\.jpeg|\.gif|\.pdf|\.doc|\.txt|\.ico|\.rss|\.zip|\.mp3|\.rar|\.exe|\.wmv|\.doc|\.avi|\.ppt|\.mpg|\.mpeg|\.tif|\.wav|\.mov|\.psd|\.ai|\.xls|\.mp4|\.m4a|\.swf|\.dat|\.dmg|\.iso|\.flv|\.m4v|\.torrent|\.ttf|\.woff|\.svg)) | |
| RewriteRule ^(index\.html|index\.php)?(.*) https://service.prerender.io/%{REQUEST_SCHEME}://%{HTTP_HOST}/$2 [P,END,L] |
| class TicketBox { | |
| eventId = null; | |
| bookingId = null; | |
| order = null; | |
| recapchaKey = null; | |
| resultStep1 = {}; | |
| resultStep2 = {}; | |
| resultStep3 = {}; | |
| email = null; | |
| phoneNumber = null; |
| #!/bin/python3 | |
| import httpx | |
| import trio | |
| from ghunt.helpers.gmail import is_email_registered | |
| def gen_email(): | |
| email_list = [] | |
| for dd in range(1, 32): |