Source Info: https://linuxize.com/post/how-to-install-visual-studio-code-on-debian-10/
Install dependencies
sudo apt update
sudo apt install software-properties-common apt-transport-https curl
Source Info: https://linuxize.com/post/how-to-install-visual-studio-code-on-debian-10/
Install dependencies
sudo apt update
sudo apt install software-properties-common apt-transport-https curl
ffmpeg -i COC-HGC.mp4 -i COC-CGAmono.mp4 -i COC-CGA.mp4 -i COC-EGA.mp4 -filter_complex "\ | |
[0:v]scale=320:240,pad=324:244:2:2:#CCCCCC,setpts=PTS-STARTPTS[v0]; \ | |
[1:v]scale=320:240,pad=324:244:2:2:#CCCCCC,setpts=PTS-STARTPTS[v1]; \ | |
[2:v]scale=320:240,pad=324:244:2:2:#CCCCCC,setpts=PTS-STARTPTS[v2]; \ | |
[3:v]scale=320:240,pad=324:244:2:2:#CCCCCC,setpts=PTS-STARTPTS[v3]; \ | |
color=size=648x488:color=black [base]; \ | |
[base][v0]overlay=shortest=1:x=0:y=0[tmp1]; \ | |
[tmp1][v1]overlay=shortest=1:x=324:y=0[tmp2]; \ | |
[tmp2][v2]overlay=shortest=1:x=0:y=244[tmp3]; \ | |
[tmp3][v3]overlay=shortest=1:x=324:y=244" -t 120 -c:v libx264 -crf 18 -preset slow COC_output_with_grey_borders.mp4 |
public static char askChar() { | |
return new Scanner(System.in).next().charAt(0); | |
} |
git log --pretty=format:"%h - %an, %ar : %s" |
public class PalindromeChecker { | |
public static boolean isPalindrome(String string) { | |
String strippedString = string.replaceAll("\\W", ""); | |
int length = strippedString.length(); | |
if (length > 1) { | |
return palindrome(strippedString.toLowerCase(), 0, length - 1); | |
} |
static void pause(int seconds) { | |
try { | |
Thread.sleep(1000 * seconds); | |
} catch (InterruptedException e) { | |
} | |
} |
static void cleanScreen() { | |
System.out.print("\033[H\033[2J"); | |
System.out.flush(); | |
} |
import java.util.Scanner; | |
class ClassWithScanner { | |
public static void main(String[] args) { | |
Scanner entrada = new Scanner(System.in); | |
entrada.close(); | |
} |
class ClassName { | |
public static void main(String[] args) { | |
} | |
} |