This guide will show you how to install Outline Server on an Ubuntu 16.04/18.04 Server, use Outline Manager for Windows and connect to your Outline Server on Windows and Android.
Install Outline Manager
Outline Manager supports Windows, macOS and Linux.
When pushing to a non-default branch, you need to specify the source ref and the target ref:
git push origin branch1:branch2
git push <remote> <branch with new changes>:<branch you are pushing to>
In this post I show how you can tune your Spring Boot application’s logging output – such that it has even more information when you need to troubleshoot. The method is actually so generic that you can apply it to other types of Java applications as well – for example Java EE applications.
Deluge is a free, open-source and lightweight BitTorrent client, available for Linux, FreeBSD, Mac OS X and Windows. It has a rich collection of plugins that you can install to extend its functionality.
Install Deluge BitTorrent on Ubuntu Server
You can install Deluge BitTorrent daemon on a server and manage the program via a Web browser. Using a server to download torrrent is very fast. Today’s server typically has 100Mbit download and upload speed.
If you have ever needed to quickly decode or encode base64, Linux has a command line utility called base64 that works great. I’ll show you how it works!
To encode text to base64, use the following syntax:
$ echo -n 'codediary.net rocks' | base64
To decode, use base64 -d. To decode base64, use a syntax like the following:
$ echo -n Y29kZWRpYXJ5Lm5ldCByb2Nrcw== | base64 -d
Note: if on OS X, use capital D:
echo -nY29kZWRpYXJ5Lm5ldCByb2Nrcw== | base64 -D
Databases are all about saving data. With DBMS and RDBMS, the entire data became relational and all the records became related to each other as in the real world. So came into existence the concepts of primary keys, foreign keys, foreign key constraints and whole bunch of other terms like composite keys, referential integrity, indexes and what not.
Repacking an unpacked JAR is a little frustrating because of the folder structure
When unpacking with:
jar xvf JAR_NAME.jar
you get a
To repack the JAR:
remove old jar
get inside the folder
pack the jar referencing the parent folder
jar cf ../JAR_NAME.jar *
and you will end up with the JAR_NAME.jar in the parent folder, where the original was unpacked from, without the first folder level you would get if you had packed the folder itself.
In this post, we will see how to send HTTP Get/Post in java.
There are many times when you need to send HTTP GET or POST request. You can use HttpURLConnection for sending get/post request in java. It belongs to java.net package.
In the simplest terms,
git pull does a
git fetch followed by a
You can do a
git fetch at any time to update your remote-tracking branches under
This operation never changes any of your own local branches under
refs/heads, and is safe to do without changing your working copy. I have even heard of people running
git fetchperiodically in a cron job in the background (although I wouldn’t recommend doing this).
git pull is what you would do to bring a local branch up-to-date with its remote version, while also updating your other remote-tracking branches.
Git documentation: git pull
This quick step by step will show you how to make a bootable USB stick from a downloaded ISO image file using an Apple Mac OS X.
Note: this procedure requires an .img file that you will be required to create from the .iso file you download.