comment 0

Jails in Open Suse. ‘chroot’

What is chroot? A chroot is a way of isolating applications from the rest of your system by jailing them in a particular directory. The idea lies in changing the apparent root directory for the current running process and its children. A program running in such a modified environment cannot access files outside the designated directory tree. However, the reverse is possible. Uses and Advantages. A test environment can be set up in the chroot for software that would otherwise be too risky to deploy on a production system. Software can be developed, built and tested in a chroot populated…

comment 0

How to Poke Money? An Introduction to blockchains and cryptocurrency.

1. Why can’t I just email money? This sounds pretty simple. If I can attach a photo and email it to my friend, why can’t I just do the same with money? Why are 3rd party resources like banks, or services like PayPal required at all? Whenever you send email to another person, you type their email address and you communicate directly with that person, similar is the case for instant messaging services like whats app or snap chat. These types of communications are called ‘peer to peer’. Similarly, when you send a photo or document, you attach it to an…

comment 0

InSpec Handler

I am Amsterdam InSpec Handler! InSpec Handler is a HWRP to automatically run your inspec tests at the end of the chef client run. This directly runs in the target machine eliminating the need for sharing password or keys of privileged accounts. It also detects your runlist and environment and runs those tests that are necessary. Wacht! What is InSpec? InSpec is an open-source testing framework with a human-readable language for infrastructure testing as well as compliance testing which is optimized for DevOps. If you want to learn more about inspec, visit their official website or (My Favourite) blog by Annie Hedgpeth. This series of…

comment 0

OCaml : Concepts – Part 3.1

Keeping the tradition ! Hello World! Open up ocaml console and do the following [siddhant:~] ocaml OCaml version 4.03.0 print_string “Hello world!\n”;; Hello world! – : unit = () # Hello world! – : unit = () It Works! Great! Enough fun!  Now let’s get serious. Things to note: Things to note: Henceforth we will be using utop, which is an improved version of the default ocaml standard top level console.  utop supports line edition, history, real-time and context-sensitive completion, colors, and more. To install utop use opam install utop We will also be using Core, a more full-featured and capable replacement for OCaml’s…

comment 0

Installing OCaml – 2

Windows, Linux and Mac !Attention! OCaml is very available for windows. I am not. I had always been a Linux guy and will encourage you to use UNIX-like environments. If you have a windows only PC, I would suggest you to use containers like docker to get a UNIX environment. Ya ya ya :/ , here is the windows installation guide too (official). Let’s get Started! Installing on Linux I would recommend you to install OCaml using its package manager called OPAM. Ubuntu add-apt-repository ppa:avsm/ppa apt-get update apt-get install ocaml ocaml-native-compilers camlp4-extra opam Cent OS 7 cd /etc/yum.repos.d/ wget http://download.opensuse.org/repositories/home:ocaml/CentOS_7/home:ocaml.repo yum install…

comment 0

A Jump Start to OCaml – 1

Oh CAMEL !  Objective CAML ( Categorical Abstract Machine Language) Before we dive into the sea of codes, let’s have some basic idea of the stuff that we will be dealing with. So why OCaml? Supports functional, imperative and object-oriented styles Functional programming is a sort of programming style that sees programs as mathematical functions. What we mean by that is we define functions and apply them to arguments so that we can obtain results. Programs are essentially mathematical objects, it is easier to use the power of mathematics to reason about this program. Functional languages have simpler syntax than other programming languages and…

comment 0

Hello World ;)

What goes into a blog post? Helpful, industry-specific content that: 1) gives readers a useful takeaway, and 2) shows you’re an industry expert. Use your company’s blog posts to opine on current industry topics, humanize your company, and show how your products and services can help people. class Hello { public static void main(String[] args) { System.out.println(“Hello World”); } } class Hello { public static void main(String[] args) { System.out.println(“Hello World”); } }