%A - %T - %n - %a - %t
%A - %T - %n - %t
apt-get install checkinstall | |
curl --silent --output /usr/local/pkg https://gist.githubusercontent.com/coolswitcher/6870f51e0281881917318a626ae647a0/raw/af73d87204ba03d184f4924f0fe266c573550930/pkg | |
chmod +x /usr/local/pkg | |
Use: | |
- compile source (configure, make ...) | |
- run pkg or pkg "pkgname" |
[Unit] | |
Description=rsyncd Service Sockets | |
[Socket] | |
ListenStream=873 | |
Accept=yes | |
[Install] | |
WantedBy=sockets.target |
[Unit] | |
Description=memcached daemon for %i | |
After=network.target | |
[Service] | |
ExecStart=/usr/share/memcached/scripts/systemd-memcached-wrapper /etc/memcached_%i.conf | |
[Install] | |
WantedBy=multi-user.target |
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: memcached | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start memcached daemon |
Process: Sequel Pro [31101] | |
Path: /Applications/Sequel Pro.app/Contents/MacOS/Sequel Pro | |
Identifier: com.sequelpro.SequelPro | |
Version: Snapshot r50a0f18540 (4749) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Sequel Pro [31101] | |
User ID: 501 | |
Date/Time: 2017-01-10 11:41:48.657 +0300 |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: memcached | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start memcached daemon |
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: searchd | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start searchd daemon |