This blog was created to keep a collection of code and contains solutions every problems I’ve had in configuring a system. This can make it easier for me if I have forgotten any code or configuration.
Download Youtube videos with yt-dl
Download/Installation Yt-dlp github official. Download Video Check video format list: yt-dlp -F [URL....] example output: [info] Available formats for 2lAe1cqCOXo: format code extension resolution note 249 webm audio only tiny 60k , opus @ 50k (48000Hz), 2.02MiB 250 webm audio only tiny 78k , opus @ 70k (48000Hz), 2.66MiB 140 m4a audio only tiny 130k , m4a_dash container, mp4a.40.2@128k (44100Hz), 5.20MiB 251 webm audio only tiny 147k , opus @160k (48000Hz), 5....
Spring Logging
Dependency Lombok Log Format Default output from Spring Boot: 2019-03-05 10:57:51.112 INFO 45469 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/7.0.52 2019-03-05 10:57:51.253 INFO 45469 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-03-05 10:57:51.253 INFO 45469 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1358 ms 2019-03-05 10:57:51.698 INFO 45469 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] 2019-03-05 10:57:51.702 INFO 45469 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] Notes:...
OpenSSH Tutorial
I. Installation OpenSSH Install on Ubuntu client: sudo apt install openssh-client Install OpenSSH on server in VirtualBox: sudo apt install openssh-server II. Inspect OpenSSH Basic checking command OpenSSH: sudo systemctl start ssh sudo systemctl stop ssh sudo systemctl restart ssh sudo systemctl status ssh Install Netstat: sudo apt install net-tools Run command below for showing all port connection: sudo netstat -tulpn Sample result OpenSSH listening to port 22: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0....
Shared Folder Feature, Shared Clipboard dan Drag and Drop in VirtualBox
In this tutorial we send files from Linux Operating System to Windows or Linux in Virtualbox. I. Configure VirtualBox Configure Virtualbox Image Choose Operating System in VirtualBox. Click Settings menu. Choose Shared Folders tab. Click Adds new shared folder at the right window. Add Share Pop up will show . In the Folder Path, choose directory that use as sharing directory. Folder Name is the directory that we will use. Gift a check at Auto Mount....
Cut and Make Video Into Gif
I. Installation sudo apt-get install ffmpeg II. First Way Use This way the video is cut and converted into a gif. Cut the video to be in accordance with the duration we want: ffmpeg -i original.mp4 -ss 00:03:20 -c copy -t 00:00:30 output.mp4 Notes: -i: Input file. original.mp4: Video name. -ss: Create video from minute 00:03:20. -t: Video duration is 30 seconds. output.mp4: Name of new video. Change the video whose duration we have set into a Gif....
Format Flash drive in Linux
Hereβs how to format a Flash Drive using the Command Line in Linux Terminal. I. Identify the location of The Flash Drive installed in the linux system lsblk The result is: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111,8G 0 disk ββsda1 8:1 0 549M 0 part ββsda2 8:2 0 56,3G 0 part ββsda3 8:3 0 55G 0 part / sdd 8:16 1 3,7G 0 disk ββsdd1 8:17 1 3,7G 0 part /media/helmiz/HELMI <<< My Flash Drive sr0 11:0 1 1024M 0 rom II....
Modify The Linux Terminal Appearance With Gogh
The main requirements for the Linux Terminal to be used are Gnome Terminal, Pantheon Terminal, Tilix and XFCE4 Terminal. I. Installation Pre-Install in ubuntu: sudo apt-get install dconf-cli uuid-runtime Terminal with Bash: bash -c "$(wget -qO- https://git.io/vQgMr)" Choose the number of color schemes: βββββββββ βββββ βββ βββ βββ βββ ββββββ βββββββ βββββββ βββ βββ βββ βββ βββ βββ βββ βββ βββββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββββββββ ββββββ βββββββ ββββ βββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Themes: ( 01 ) 3024 Day ( 02 ) 3024 Night ( 03 ) Aci ( 04 ) Aco ( 05 ) Adventuretime ....
Create Bootable Linux in Linux
In this tutorial I want to install Linux on my laptop using a flash drive. with dd command in the linux terminal. Here are the steps: I. Identify the location of The Flash Drive installed in the linux system lsblk The result is: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111,8G 0 disk ββsda1 8:1 0 549M 0 part ββsda2 8:2 0 56,3G 0 part ββsda3 8:3 0 55G 0 part / sdd 8:16 1 3,7G 0 disk ββsdd1 8:17 1 3,7G 0 part /media/helmiz/HELMI <<< My Flash Drive sr0 11:0 1 1024M 0 rom II....
How to Create Application Menu in Linux
The Steps Open terminal or console linux and type code below sudo gedit /usr/share/applications/application_name.desktop Notes: application_name: The application that we show in Application Menu. gedit: Text editor like nano/vi. Add Config to the text editor: [Desktop Entry] Encoding=UTF-8 Exec=/home/helmiz/tools/eclipse/eclipse Icon=/home/helmiz/tools/eclipse/icon.xpm Type=Application Terminal=false Comment=Eclipse Integrated Development Environment Name=Eclipse 2019 GenericName=eclipse-2019-12-R StartupNotify=false Categories=Development;IDE;Java; Notes: Exec: Path file where our application saved. Icon: Path file where our application icon saved. Name: Name of our application....