Skip to content

Instantly share code, notes, and snippets.

View ndlrx's full-sized avatar
💭
/dev/null

ndlrx

💭
/dev/null
  • Indonesia
View GitHub Profile
@ndlrx
ndlrx / docker-help.md
Created February 12, 2019 03:15 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@ndlrx
ndlrx / urxvt.md
Created December 8, 2018 11:50
Urxvt missing unicode powerline fonts

Just change the font configuration as below:

URxvt*font:                 xft:Agave:pixelsize=24:minspace=False, xft:DejaVu Sans:pixelsize=18
URxvt*boldFont:             xft:Agave:pixelsize=24:minspace=False, xft:DejaVu Sans:pixelsize=18
URxvt*letterSpace: 0

Reload.

@ndlrx
ndlrx / openldap-tls.md
Last active December 28, 2020 07:55
OpenLDAP Error TLS: ldap_modify: Other (e.g., implementation specific) error (80)

I got an error when importing the TLS key and certificate on OpenLDAP CentOS 7.

Below is my cers.ldif configuration:

dn: cn=config
changetype: modify
replace: olcTLSCertificateFile
olcTLSCertificateFile: /etc/openldap/certs/myldap.server.hakase.io.cert

dn: cn=config
@ndlrx
ndlrx / vbox-error-extensions-pack.md
Last active November 20, 2018 15:36
VirtualBox error updating Extensions Pack

Error:

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ExtPackManagerWrap
Interface: IExtPackManager {edba9d10-45d8-b440-1712-46ac0c9bc4c5}

Check virtualbox packages.

@ndlrx
ndlrx / Vagrantfile
Created October 29, 2018 13:31
Vagrantfile Multiple vms
# Defines our Vagrant environment
#
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# create ceph-deploy node
config.vm.define :ceph do |ceph_config|
ceph_config.vm.box = "hakase"
@ndlrx
ndlrx / dnscrypt-proxy.md
Last active March 19, 2023 17:43
Install dnscrypt-proxy on Archlinux or Manjaro

Step 1 - Install and Configure dnscrypt-proxy

sudo su
pacman -S dnscrypt-proxy
cd /etc/dnscrypt-proxy/
@ndlrx
ndlrx / LEMP-ndlr.sh
Created October 18, 2018 02:50
LEMP Stack Provision for Vagrant
#!/usr/bin/env bash
echo ""
echo ""
echo "======================================="
echo "| Initializing Vagrant LEMP Setup |"
echo "======================================="
echo ""
# Turnoff interactivemode