Skip to content

Instantly share code, notes, and snippets.

View AntDek's full-sized avatar

Anton Dekterev AntDek

View GitHub Profile
@mnadeem
mnadeem / pom.xml
Created July 15, 2017 16:02
Add non maven jar in maven way
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.demo.app</groupId>
<artifactId>demo-app</artifactId>
<version>0.0.1-SNAPSHOT</version>
<properties>
<version.maven-install-plugin>2.5.2</version.maven-install-plugin>
<version.non-maven1>1.0.0</version.non-maven1>
@petrkohut
petrkohut / setting_up_systemd.md
Last active March 16, 2017 09:16
How to setup Systemd (tested on Debian:jessie)

How to setup Systemd

Create our first autostarted daemon service

sudo vim /etc/systemd/system/ping.service

Edit this file like this:

[Service]
ExecStart=/bin/ping google.com