Quantcast
Channel: Code Snippets
Browsing all 30 articles
Browse latest View live

Rename git branch locally and remotely

In case you have created a branch with a wrong name and pushed your branch to the remote git repository you can follow these steps to change the name of your branch. git branch -m old_branch new_branch...

View Article



Java – Show System Properties

You can use Properties to configure your java application. The Java platform itself uses System Properties to maintain its own configuration. With the java.lang.System class you can access the...

View Article

Force drop user in Oracle database

If you want to drop a oracle user with the DROP USER statement to remove a database user and optionally remove the user’s objects you can execute ‘drop user @USERNAME cascade’. But if you have a...

View Article

Export and import dump file from MySql inside console

If you want to create a dump file of a mysql database you can use the mysqldump command which is part of the mysql installation. This great utility can perform a backups of your mysql database,...

View Article

How to get an RSS Feed for any YouTube Channel

If you want to get updates on YouTube Channels into your RSS Feed-Reader, you have to do some easy steps. 1. Open the YouTube channel you want to track in your preferred browser 2. Copy the channel...

View Article


zero-width space character ​

The zero-width space (ZWSP) is a non-printing character used in computerized typesetting to indicate word boundaries to text processing systems when using scripts that do not use explicit spacing, or...

View Article

Rename files by replacing a pattern in the filenames using a bash script

If you want to rename a big amount of files and you don’t want to to it one by one, you can use the following bash script. This script will list all *.txt files and replace OLD by NEW in the filename....

View Article

Compare numbers in plsql with greatest und least

Plsql is a nice and simple programming langunage for oracle databases, but sometimes you can’t believe what you see. In the following example you can see the Schrödinger’s cat equivalent of oracle....

View Article


Find Oracle views using specific table

Sometimes you want to find all views using a specific database table in Oracle. If you are using a small amount of views, this is not an issue, but if you have a huge Oracle database with thousands of...

View Article


Menu and Desktop Font too small to read on Nvidia Jetson Nano on TV

If you have connected your Jetson Nano via HDMI to your TV it can happen, your menu and desktop font is much too small to read. I tried to change the settings, but I was unable to read anything. After...

View Article
Browsing all 30 articles
Browse latest View live




Latest Images