Quantcast
Channel: Gik's notes » gik
Browsing latest articles
Browse All 30 View Live

Image may be NSFW.
Clik here to view.

Subversion (SVN) tricks

When you use Subversion as a source control management system it is useful to know some magic commands. The next command cleans, updates, adds and shows status of local repository: svn cleanup \...

View Article



Image may be NSFW.
Clik here to view.

Apache and SVN configuration with user permissions

This tutorial shows how to configure Apache+SVN couple. 1. First of all you should install Apache Httpd server (version 2.4 in this case) with DAV_SVN module and subversion client: yum -y install...

View Article

Image may be NSFW.
Clik here to view.

Multiple SSH keys configuration

If you are using, for example GIT, it may be needed to use different ssh keys for different servers. By default git client uses “~/.ssh/id_rsa” private key. And you’ll get the error like: Permission...

View Article

Image may be NSFW.
Clik here to view.

Generate SSH key (identity)

To generate SSH key you have to do following: 1. Install any SSH client (if absent). 2. Show existing keys: ls -la ~/.ssh It can be empty. 3. Generate key itself: ssh-keygen -t rsa -b 4096 -C...

View Article

Image may be NSFW.
Clik here to view.

Using RSYNC to backup (synchronize) folders

If you want to synchronize two folders use next snippets. 1. Sync folder “source” content to “target” folder: rsync -arpv --delete /mnt/source/ /mnt/target Notice trailing slash for “source” folder!...

View Article


Image may be NSFW.
Clik here to view.

Change default password for Oracle 11g Database

To change the default password for SYS and SYSTEM users use the trick. 1. Run in shell: sqlplus / as sysdba 2. Change password for SYS: SQL> alter user SYS identified by "your-super-password"; 3....

View Article

Image may be NSFW.
Clik here to view.

Exclude beans from tests in Spring Boot

Running unit tests bootstraps, for example, scheduling tasks (EnableScheduling, Scheduled). To exclude automatic start up auto-configuration beans with annotation you can follow next instruction: 1....

View Article

Image may be NSFW.
Clik here to view.

Install Oracle Java 8 on Ubuntu Linux

To install Oracle JDK 8 on Ubuntu you can choose one of two methods: A. Automatic installation: sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo...

View Article


Image may be NSFW.
Clik here to view.

Access to device over 3g mobile internet or NAT

The problem is to present access to your device (pc, raspberry etc) which has usb-dongle (or wifi) connected to mobile internet provider. So, in this case you have no public (white) IP address and...

View Article


Image may be NSFW.
Clik here to view.

Git configuration across multiple repositories

Often you need to push across many git repositories with different credentials. The simplest way is to edit “$REPO/.git/config” file to setup environment. But may be more convenient is to keep...

View Article
Browsing latest articles
Browse All 30 View Live




Latest Images