See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sh -c 'echo deb https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list' | |
# Install docker | |
sudo apt-get update | |
sudo apt-get purge lxc-docker | |
sudo apt-get install linux-image-extra-$(uname -r) | |
sudo apt-get install docker-engine | |
sudo service docker start |
#!/bin/sh | |
# check for where the latest version of IDEA is installed | |
IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1` | |
wd=`pwd` | |
# were we given a directory? | |
if [ -d "$1" ]; then | |
# echo "checking for things in the working dir given" | |
wd=`ls -1d "$1" | head -n1` |
#include <cstring> | |
#include <fstream> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
void parse(string const &name); | |
bool is_icon(char const *buffer); |
the following regex will validate all examples provided here: https://www.conventionalcommits.org/en/v1.0.0/
^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)
a grep/posix compatible variant
^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([[:alnum:]._-]+\))?(!)?: ([[:alnum:]])+([[:space:][:print:]]*)
####### UPDATED 2022 ########### | |
##For Linux: | |
###DOWNLOAD YT_DLP: https://github.com/yt-dlp/yt-dlp/releases/download/2022.10.04/yt-dlp_linux | |
#####################################START###################################### | |
alias cls='clear' | |
alias cd..='cd ..' |
@echo off; | |
title OTP FETCHER | |
cd "C:\LDPlayer\LDPlayer9\" | |
###echo "Launching FileManager on first device on LDMultiPlayer9(index 0), macro defined in LDplayer will run and copy the OTP" | |
ldconsole.exe launchex --index 0 --packagename com.google.android.apps.authenticator2 | |
## wait for 15 seconds |
$ ffmpeg \ | |
-f avfoundation \ | |
-video_size 1920x1080 \ | |
-framerate 30 \ | |
-i "2:2" \ | |
-c:v libx264 \ | |
-b:v 6000K \ | |
-maxrate 6000K \ | |
-pix_fmt yuv420p \ | |
-r 30 \ |
$ ffmpeg \ | |
-re \ | |
-i /path/to/video.mp4 \ | |
-c:v libx264 \ | |
-b:v 6000K \ | |
-maxrate 6000K \ | |
-pix_fmt yuv420p \ | |
-s 1920x1080 \ | |
-profile:v main \ | |
-preset veryfast \ |
$ ffmpeg \ | |
-re \ | |
-stream_loop -1 \ | |
-i /path/to/video.mp4 \ | |
-stream_loop -1 \ | |
-i /path/to/audio.mp3 \ | |
-map 0:v:0 \ | |
-map 1:a:0 \ | |
-c:v libx264 \ | |
-b:v 6000K \ |