Skip to main content

Posts

Showing posts from September, 2020

Git Cheat Sheet

Git is the free and open source distributed version control system that's responsible for everything GitHub related that happens locally on your computer. This cheat sheet features the most important and commonly used Git commands for easy reference. SETUP set a name that is identifiable for credit when review version history. git config --global user.name “[firstname lastname]” set an email address that will be associated with each history maker. git config --global user.email “[valid-email]” set automatic command-line colouring for Git for easy reviewing. git config --global color.ui auto SETUP & INIT initialize an existing directory as a Git repository git init Retrieve an entire repository from a hosted location via URL. git clone [url] STAGE & SNAPSHOT Show modified files in working directory, staged for your next commit. git status Add a file as it looks now to your next commit. git add [file] Unstage a file while retaining the changes in working

Apps to test your internet speed from the command-line

speedtest-cli is a commandline tool made with python that allows you to test your internet speed from the terminal using speedtest.net. It is completely opensource and released under the Apache 2.0 license. This tool allows you to perform a quick speed test, view all available servers sorted by distance, specify a server that you want to use in order to check your internet speeds, perform only a download or upload test or generate a speedtest.net share result image URL like the one below. It has a minimalist interface which is incredibly powerful. Speedtest CLI can run on any platform; Windows, Linux, macOS and FreeBSD. With Speedtest CLI, you can easily: Measure internet connection performance metrics like download, upload, latency and packet loss natively without relying on a web browser Test the internet connection of your Linux desktop, a remote server or even lower-powered devices such as the Raspberry Pi® with the Speedtest Server Network™ Set up automated scripts to coll

3 Ways to preview shortened links before you click on them

Shortened URLs are being used everywhere. From emails, to social media platforms like YouTube, Twitter, Facebook, product recommendations, and even blog posts. STOP clicking on every link you come across without first examining them. In fact, I recently joined the Fediverse   and the hate they have for shortened links cannot even be put into words. So I decided to do some digging of my own and now I understand why. I'll mention just but a few of the disadvantages of clicking on shortened links. Image by PIRO4D from Pixabay They offer no clue to the destination URL Every single URL generated by the URL shortening services like Bit.ly, Owl.ly, TinyURL and Su.pr will show no clue about the destination URL. Can lead to malicious and unsafe webpages. Since the destination landing page URL is not visible when it is shortened, people will have no idea where they’ll land on once they click the link or type the short URL address. Even if provided with a hint, that might just be a disg

Celestia - 3D Space Simulator

Celestia is an open source project that provides a real-time 3D visualization of space.It is a free space simulation that lets you explore our universe in three dimensions. It is available for Windows, Linux and macOS X. Unlike most planetarium software, Celestia doesn't confine you to the surface of the Earth. You can travel throughout the solar system, to any of over 100,000 stars, or even beyond the galaxy. All movement in Celestia is seamless. The exponential zoom feature lets you explore space across a huge range of scales, from galaxy clusters down to spacecraft only a few meters across. A 'point-and-goto' interface makes it simple to navigate through the universe to the object you want to visit. Celestia is expandable. Celestia comes with a large catalog of stars, galaxies, planets, moons, asteroids, comets, and spacecraft. If that's not enough, you

How to use phone as a Microphone

 WO Mic can turn your phone to be a microphone for your computer. You need not to pay a cent to buy any gadget. And it's mobile if you choose wireless transport. Millions of people have installed it and are using it daily for talking, recording, voice remote control and many other activities. There are three components that cooperate to achieve that:   WO Mic App which runs on phone. It captures your voice through phone microphone and transmit them to computer.  WO Mic Client which runs on computer. It connects to app, receives voice data and passes them to virtual mic device. WO Mic Virtual Device which also runs on computer, though in kernel space. It receives voice data from client program, simulates a real microphone device, and provides audio data to applications like Sound Recorder. Main Features: Easy to use and configure. Supports autoconnection when your PC reboots. Supports multile connection methods: USB, Wi-Fi, Bluetooth and Wi-Fi direct. Audio format: 48000 sampling ra

YouTube-DL - Download videos from YouTube and other sites in your terminal

youtube-dl is a command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like. Youtube-dl allows one to download videos from YouTube and a few other similar sites such as DailyMotion , Facebook , Google Video and many more. youtube-dl added video download support for 17 new websites: brightcove.com, auengine.com, RingTV, instagram.com, Jukebox, 3sat, CSpan, Statigr.am, traileraddict.com, hotnewhiphop.com, wat.tv, tu.tv, gamespot.com, tudou.com, Wimp.com, archive.org and break.com. This tool also allows you to choose video quality you wish to download in from those available. But if not specified, youtube-dl will download the highest quality video from the site you're downloading from. It also suppor

How to use phone as Webcam

In this step-by-step tutorial,  you will learn how to use your iPhone or Android phone as a webcam for your Windows, Mac, or Linux PC or laptop. For this to work, you need to install an application on your PC and mobile device. The app we will use is called the Iriun app. The application we are going to use allows you to use your phone's camera as a wireless webcam in your PC or Mac. This app is available on windows, Linux, mac, android and iPhone. You can install the iriun app on your PC from www.iriun.com and on your mobile device via the App Store or the PlayStore by searching for Iriun. Installation on Ubuntu The app is available as a .deb package on Ubuntu Linux and works on ubuntu 18.04 and later. The iriun app can be installed with the following steps. Download the .deb package from the website at www.iriun.com. After a successful download, open your terminal using Ctrl Alt T or form the applications menu. Type in the following command: sudo dpkg -i /path/to/deb