Value In Brief
All You Need To Know Explained In Brief

How to add minimize button Elementary OS ?

Just open the Terminal app, and copy-paste this command and click ENTER. sudo apt install software-properties-common sudo add-apt-repository ppa:philip.scott/elementary-tweaks sudo apt install elementary-tweaks then go to System Settings > Tweaks > Layout > Windows. That’s it. We’re done. What is going on ? Elementary OS team thinks the minimize button is not a needed feature as it makes you have too many opened and minimized apps. Elementary OS team thinks that makes your computer cleaner and performs better.

How to cut a video based on start and end time using ffmpeg

This is the fastest command to cut the video in ffmpeg. ffmpeg -ss 00:01:00 -i input.mp4 -to 00:02:00 -c copy output.mp4 note: the above command trims your video in seconds. explanation of command parts: -i : This specifies the input file. In that case, it is (input.mp4). -ss : Used with -i, this seeks in the input file (input.mp4) to position. 00:01:00 : the time your trimmed video will start with.

Mac OS X Terminal: How to use option+delete to delete a word ?

I can backward delete a word using OPTION+DELETE on any text editor on Mac OS but I can’t use it to delete the last word I wrote on Terminal!! It is simple, just with a click of a box! Open Terminal, click on Terminal in menu bar, choose Preferences…, go to profiles tab, click on keyboard tab, check Use Option as Meta key. That’s it! we’re done. You can see the steps on this screenshot.

How to Stream Your Pre-Recorded Videos to Facebook Live ?

Since Spring 2016, Facebook users have had the option to broadcast live videos to their friends and followers. Live videos are expected to be more personal, candid, and off-the-cuff, so they’re a great option for when you want to add some personality to your Facebook page. Not to mention, they’re pretty darn effective. Live videos tend to receive 10x better engagement than pre-recorded video. They make watching a stream into an event.

How to display and control your Android device on laptop ?

If you are a software developer, just use scrcpy command line tool to display and control your android smartphone or tablet on a laptop. This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. Install scrcpy on Linux To install scrcpy, just use snap package manager like this sudo snap install scrcpy. Choose your Linux distribution to get more information about installation.

How to compress files with xz and upload archive to Google cloud ?

First, install Google cloud command line tool and configure it. pip install gsutil Have your project id ready using gsutil config. Check docs for more info. Create the archive / compressed file tar --create --verbose --xz --file images.tar.xz /directory/containing/images/* Upload the archive/compressed file to Google cloud gsutil cp images.tar.xz gs://<bucket name>. replace <bucket name> with your Google cloud bucket name 😄. If you want to extract contents (images in this case) from archive, use this command tar -xf file.

How to remove an audio track from an mkv ?

You can use final cut pro x or iMovie on Mac OS, or Camtasia Studio or Adobe Premiere Pro or DaVinci Resolve on Windows, or DaVinci Resolve or Blender or Kdenlive or ShotCut on Any Linux distro. But I prefer command line tools. Install mkvtoolsnix or use HomeBrew to install it : brew install --with-qt5 mkvtoolnix. Use mkvinfo to get the audio track IDs that you want. command like this mkvinfo *.

How to Take Screenshot on Windows ?

use the dedicated button on keyboard There is a PrtSc button, or Print Screen, or Prt Scr, or similar name. Press this button, and open Paint program and press ctrl+v to paste the screenshot image. capture the active window To take a screenshot of the currently active window, just press Alt + PrtScn then paste the screenshot image in Paint program or Photoshop or any other image editing / creating program.

How to accept payments through Google Pay in Angular ?

To integrate Google Pay to your Angular project, install Angular component for Google Pay by this command. npm install @google-pay/button-angular Then register Google Pay button module to application module using this line of code. import { GooglePayButtonModule } from '@google-pay/button-angular'; Add it to imports in app.module.ts. imports: [ ... GooglePayButtonModule, ... ] Now, you can add google-pay-button like this. <google-pay-button environment="TEST" buttonSizeMode="fill" [paymentRequest]="paymentRequest" (loadpaymentdata)="onLoadPaymentData($event)" ></google-pay-button> And, in the typescript file, use this.

Create and remove swap files in Ubuntu Linux

Computers use RAM to store data and run programs and services. So, the data / programs in RAM are temporarily available — as you use the program or data. When you shutdown your computer, RAM will be free. RAM is faster than HDD or SSD in read and write speed. So we use it to hold the currently running programs and data. But they are expensive, so we use less of them and rely on swap file to delegate some less used data / program to it.