• Working with ansible and EC2.

    Ansible is a configuration management and can clearly helps in managing and automating a lot of things which we do in our daily life with servers. This probably is among one of the swiss army knife for sysadmins and developers similar as puppet, chef and cfgengine. I have worked with puppet and now working with ansible. I see advantage of ansible over puppet is unlike puppet it does not require agents running on every node, a centeral ansible server can manage your servers farms and take care of their configuration. Today, I am trying to set up ansible with ec2 and how I can deploy my ELK tesk stack on EC2.

  • What the hell, Docker!

    I mean really, isn’t this a little complex. I tried it so many time with failure, i guess mainly I am not focusing on the right part.

  • Welcome to Jekyll!

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated. add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

  • Wordpress on Docker

    Install Docker

    Install docker on to your system. Docker is only workable for 64 bit system. Install a 64 bit linux system, and further install docker on the same.

  • Wordpress permalinks.

    Everytime I need to setup permalinks, I miss some of the important things to check before hand. This is my document to setup wordpress permalinks.

  • Google Cloud Platform

    Google cloud platform.

  • Working with Jekyll - Common Pitfalls

    Pitfall 1

  • Working with ansible - Pitfalls

    Pitfall 1

  • opencart on ubuntu

    Opencart is a opensource store front and eCommerce platform which provides the flexiblity and control for managing online stores. This document is going to tell you how to setup opencart on an ubuntu based system. I am intentinally avoiding to use any versions in it, but this document is made using Opencart and Ubuntu 16.04. This whole setup(opencart with ubuntu) is running on an linode instance. Before we start I assume you are ready with you LAMP stack and you have already set your hostname pointing to the right server.

  • Welcome To Jekyll

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

  • This post demonstrates post content styles

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit.

  • Some articles are just so long they deserve a really long title to see if things will break well

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.

  • My Example Post

    Eos eu docendi tractatos sapientem, brute option menandri in vix, quando vivendo accommodare te ius. Nec melius fastidii constituam id, viderer theophrastus ad sit, hinc semper periculis cum id. Noluisse postulant assentior est in, no choro sadipscing repudiandae vix. Vis in euismod delenit dignissim. Ex quod nostrum sit, suas decore animal id ius, nobis solet detracto quo te.

  • Using Ipython with Python3

    I started to move along with using python 3, and for the sake of using it, wanted my python shell for to be working properly, now you must have been aware, I use ipython for most of my python work, so while I downloaded and installed python3. I was unable to use ipython. The pip3 install ipython3 didn’t came of much help. Technicall, I am having two versions of python running on to my system, one is the native python version 2.7.11 which by default came with my OS, other python version 3.5.1 which I had explicity downloaded for using python3.

  • Create box from vagrant virtualmachines

    Vagrant Boxes are prepackaged development environments that are the foundation of Vagrant. In most cases, this is usually just a stripped and naked operating system such as Ubuntu, Debian, or CentOS. Boxes exist with the intention to be provisioned with additional features like Apache and PHP using tools like Chef or Puppet. This is really powerful, but it can be time consuming to setup the first configuration and difficult for beginners. Plus, not everyone has the skill-set of a system admin or work with a huge collaborative team. This post will describe to you how to create your own prepackaged Vagrant Box from and existing virtual machine. In my opinion, it’s the quickest and easiest way for beginners to get started with Vagrant. This way you’ll be able to reuse it over and over and even share it. I feel this generally goes against the main idea of Vagrant where you provision your development environments from a single config. You generally lose a lot of the debugging and configurability of your development environment, but this should be helpful for plenty of developers, teams, and projects regardless.

  • Tweet Posts with Octopress

    Thanks to the blog post by Tony Guntharp who got inspired from another blog post by Adnan Abdulhussein on how to integrate twitter posting with Octopress. His post was some 3 Years old and the twitter gem for Octopress version 5.16.0 has gone through a lot of changes, So technically I did some rewrite into the ruby configuration code and fixed it so I can post the tweets with the latest twitter gem. The basic idea remains the same taken from the predecessors blogs, you create a post and print the tweet message you want to give and it create a link to the post in the tweet_queue file. When the rake deploy task is called, it reads from the tweet_queue file and tweets what’s in their line by line. This way you can create multiple posts at a time, and they all will be tweeted when you run your rake deploy task for your blog.

  • working with octopress

    Good old saturday.

  • welcome

  • Using AWS CLI

    Notes on using aws cli.

  • Day 10 - Search and Replace using regex

    It is important that I am also should be able to search within my text/code when using the editor. Emacs have commands to search for occurrences of a string within the buffer and across the buffers. Emacs has the commands to replace occurrences of a string with a different string. Emacs provides the ability to search multiple files under the control of a tags table or through dired ‘A’ command , or ask the ‘grep’ program to do it.

    All the searches done in Emacs are “incremental” in nature i.e. it starts searching as soon as we start typing the first character of the search string. As we start typing emacs shows where the string and as we type further, would be found. We can end our search using RETURN.

  • Day 9 - Cut, Copy, Paste

    As in my last post and coming posts I would be using org2blog to write content further to my blog sites and would further be writing about how to use customize it, in my later posts. This is a cool tool to use when you are writing and posting.

  • Day 8 - Mark and The Region

    Mark and the region

  • Day 7 - Commands for human languages and editing them

    Emacs is wonderful for text editing and related stuff with text. It has many modes which helps in editing and managing text, which help increase the productive overall, here I explored some of the major modes and commands which can quickly help for editing text.

    Text Editing in Emacs

  • Day 6 - Help and Run command by their name

    Sixth day of writing my content, I had never thought i would be even writing for this many posts continuously(I am kind of a lazy writer) and I realize this experience of writing blogs and sharing my learnings or acquired knowledge is actually encouraging. I started to think that if I am able to put some extra time and effort, I may also complete a lot of things by taking similar challenegs. My priority ones are loosing weight(I am still finding myself in tough situation on to get myself motivated) and learning the python programming language, which as I had been told is pretty easy to learning. I may get inconsistent at times due to other priorities coming up, but writing my learnings and posting everyday keeps me motivated and keep reminiding me I have pending stuff to do.

  • Day 5 - Minibuffer

    Emacs have a minibuffer, and called the same because of its small screen space, the minibuffer resides in the same area as echo area so many time when any error or informative message appear in the echo area, it just hides the minibuffer for a few seconds or till the time any new keypress is made.

  • Day 4 - Editing

    I am becoming such an inconsistent learner and writer and have been not being able to post any new learnings a from last 4 days for emacs, but sometimes the work just take over us and do not allow any bandwidth, this really could be a lame excuse, but my sincerely I should be keeping my posts regular. Again, it’s more the like learning from your (in this case my) mistakes and going through your work again and again it’s a way of reorganising your work and fixing it wherever necessary, I would also need help to understanding the mistakes we should avoid overlooking while technical writing or a posting on a blog.

  • Day 3 - Understanding Files and Buffers

    The windows and the buffer.

  • Day 2 - The Emacs Real estate

    The Emacs Real estate.

  • Day 1 - Learn Emacs in 30 days challenge

    Thank you for your support and encouragement. So here I am writing about my beginning of Day 1: part and working with EMACS.

subscribe via RSS