This tutorial will show you how to install Let's Encrypt for Nginx and how to setup a auto renewal for your certificates …
We will use a systemd service to run our script during boot process of Arch Linux …
If you prefer to manually install packages from AUR instead of using tools like "yaourt" here you go …
If you have installed the openvpn server and iptable is blocking the service by default then use these configurations for openvpn to function properly. …
To automatically block Brute-Force Attacks reported by Directadmin we will be using some scripts by Directadmin.
Be careful with this tutorial and use it at your own risk. The first commands will block your ssh access to server if you are not using the default ssh port 22. To allow your modified port number for ssh modify the iptables files accordingly. Also, this file is written for a CentOS/Fedora type system and has not been tested on Debian or FreeBSD …
YAZ is a programmers’ toolkit supporting the development of Z39.50/SRW/SRU clients and servers. We first need to install YAZ dependencies using the yum package manager. Here I've explained the steps to get it installed on your box to get the PHP codes using the YAZ package run …
In this post I will introduce the step by step configuration that allows for authenticated access to the Squid service using usernames and passwords. We are going to use "ncsa_auth" that allows Squid to read and authenticate user and password information from an NCSA httpd-style password file when using basic HTTP authentication. …
if you are like me and having both php 5.2 (compiled from source) and php 5.3 (installed by apt-get) on the same development machine (ubuntu 11.10) then one day you decide to install xdebug chances are you may find yourself struggling to follow instructions in xdebug documentation with no luck for hours. Here is what worked for me …
I was never happy with javascript type checking using typeof and comparing the result with a string; as a small spelling error in type name can lead into false results that do not even throw a good error. After a discussion with Afshin Mehrabani (Thank you man!) we thought we can put an end to this. So here is the initial result of that discussion …
I was developing a WordPress plugin using custom post types then I needed to retrieve a post by its slug. Here I'm trying to get a custom post type called "product". you can replace the post type according to your needs. generic types are "post" and "page". …
I'm Arash Milani, hacker & happiness ninja.
@narmand is our teams's lab to experiment awesome things in it.
I write and talk about hacking, developing web apps, teamwork and designing for better user experience.
You can always contact me via me[at]arashmilani.com email address.