Skip to content

Instantly share code, notes, and snippets.

@somecuitears
somecuitears / git-ssh-configuration.md
Created February 9, 2017 15:47 — forked from cham11ng/git-ssh-configuration.md
Configuring SSH for Git

Git Installation and SSH Configuration

By: Sagar Chamling

Installation

For Linux (Debian/Ubuntu):

sudo apt install git
@somecuitears
somecuitears / homebrew.md
Created February 9, 2017 15:44
Homebrew and UPX Installation Procedure for macOS

UPX detail : Compress/expand executable files;

Open terminal | Command+Space and type Terminal and press enter/return key.

Paste following code :

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
@somecuitears
somecuitears / git.md
Last active March 27, 2017 10:28
Git Basics

Git Basics

Initialize git repository on folder of project

git init

Check current status of projects i.e. files added to project folder

git status
@somecuitears
somecuitears / log4j properties.md
Last active March 27, 2017 10:29
Log4J properties

Log4J

To show the log in both console and file create log4j.properties file on scr folder then paste the following code inside the properties file.

log4j.rootLogger=DEBUG,console, FILE
log4j.appender.FILE=org.apache.log4j.FileAppender    
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.Target=System.out