Skip to content

Instantly share code, notes, and snippets.

@mariusor
mariusor / reader-git.service
Created February 5, 2016 09:10
reader-git.service
# /etc/systemd/system/reader-git.service
[Unit]
Description=caddy service for reader.git
After=network.target
Requires=php-fpm.service
[Service]
Group=33
#User=33
WorkingDirectory=/srv/http/mdreader

Keybase proof

I hereby claim:

  • I am mariusor on github.
  • I am mariusorcsik (https://keybase.io/mariusorcsik) on keybase.
  • I have a public key ASCWh5HERKQPCh54RV1tAegdBbzuNYlFHtEh9P9OvRv_EAo

To claim this, I am signing this object:

@mariusor
mariusor / 49-allow-by-group.rules
Created November 9, 2016 18:57
Polkit rules for KDE related actions
// /etc/polkit-1/rules.d/49-allow-by-group.conf
// PolKit rules to allow mounting, rebooting and network management without password.
// User needs to be in storage, power and users groups.
polkit.addRule(function(action, subject) {
if (action.id.match("org.freedesktop.udisks2.") && subject.isInGroup("storage")) {
return polkit.Result.YES;
}
});
@mariusor
mariusor / 0001-Updated-to-use-meson-for-build.patch
Created December 31, 2019 09:16
wlrobs-hg package patch for using meson
From c961410c0237ec57b8aecdc00ff6e9ed3324a739 Mon Sep 17 00:00:00 2001
From: Marius <marius@habarnam.ro>
Date: Tue, 31 Dec 2019 10:10:42 +0100
Subject: [PATCH] Updated to use meson for build
Removed creating the obs-plugins/wlrobs folder at install time
---
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
@mariusor
mariusor / quote.txt
Created July 19, 2021 06:17
you-can-wake-up-quote-romanian
You can wake up the one who is sleeping, but not one who is pretending to sleep.
Îl poți trezi pe omul care doarme, dar nu și pe acela care se preface că doarme.