Skip to content

Instantly share code, notes, and snippets.

@kaisargaming
kaisargaming / file-system-changes-recursive-linux.md
Created May 24, 2019 08:33 — forked from tajidyakub/file-system-changes-recursive-linux.md
Monitor perubahan file system secara recursive di linux

Watcher.py untuk Monitoring File System secara recursive

Script python beserta contoh konfigurasinya dapat dipelajari melalui https://github.com/splitbrain/Watcher.git

$ cd ~/
$ git clone https://github.com/splitbrain/Watcher.git
$ cd Watcher
$ chmod +x watcher.py
@kaisargaming
kaisargaming / certbot-dns-challenges.md
Created May 24, 2019 08:33 — forked from tajidyakub/certbot-dns-challenges.md
Obtaining let's encrypt certificate using dns as the preferred challenge
$ certbot certonly --manual --cert-name <cert-name> -d <host.domain.name> --agree-tos -m <[email protected]> --preferred-challenge dns-01 
@kaisargaming
kaisargaming / nginx-ssl-security-enhancement.md
Created May 24, 2019 08:35 — forked from tajidyakub/nginx-ssl-security-enhancement.md
Implementasi SSL di nginx dengan security enhancement actions tambahan
@kaisargaming
kaisargaming / npm-cloudlinux.md
Created July 2, 2019 15:39 — forked from mcnamee/npm-cloudlinux.md
Install Node / NPM into CloudLinux

How to install Node.js & NPM on CentOS with CloudLinux and CageFS

Add node.js yum repository

yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_6.x | sudo -E bash -

Install node.js and NPM

yum install nodejs

@font-face {
font-family: SegoeUI;
src:
local("Segoe UI Light"),
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2) format("woff2"),
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff) format("woff"),
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf) format("truetype");
font-weight: 100;
}
@kaisargaming
kaisargaming / UuidModel.php
Created December 30, 2021 13:36 — forked from danb-humaan/UuidModel.php
Trait for implementing UUIDs in Laravel models
<?php
namespace App\Traits;
use Rhumsaa\Uuid\Uuid;
use Illuminate\Database\Eloquent\ModelNotFoundException;
/**
* Trait UuidModel
* @package App\Traits