Pycon India 2016
Day -1 Day 0: Devsprints Day 1 Day 2
Day -1 Day 0: Devsprints Day 1 Day 2
In this post, I will tell you how to fix “Failed to load SELinux policy. Freezing” issue and reboot your Fedora with SELinux set to Enforcing. It was the first day of Flock 2016, when I was working on my demos, that my laptop failed to boot after a bad system halt. The error was: systemd[1]: Failed to load SELinux policy. Freezing. I was running Fedora 23 on my laptop with SELinux set to enforcing. After searching about this issue on the internet, I found that most people had got around it by setting selinux=0 in the boot parameters. Well, it worked and got me back on my Fedora without SELinux, however, this was not the solution I was looking for. ...
The following is my cheat sheet for basic video editing with ffmpeg split When I want to split a video input.mkv from 10s to 30s and save it as output.mkv: ffmpeg -i input.mkv -ss 10 -t 30 -vcodec copy -acodec copy output.mkv concatenate Let’s say, I want to join (concatenate) 2 video (or audio) files: part1.mkv, part2.mkv into a single file: joined.mkv. I will first create a file: input.txt with the following content: ...
This year, Flock took place in Krakow, Poland from Aug 2 - Aug 5, 2016. I reached at Krakow on July 31, 2016. Day 0 Next day, we met other attendees who started coming down from various places. In the afternoon, we went out for a city tour, visited Oskar Schindler’s Enamel Factory, had lunch and returned back to the hotel. In the evening, we headed out to a nearby mall to have dinner with fellow attendees. ...
Today, I will be speaking about a typical, healthy and active day from my life. This is about a lifestyle I was able to attain and sustain, discovered during the course of my journey to become fit and stronger. Some time ago, I was leading a very undisciplined life, working day and night, eating whatever’s palatable, and I was getting fatter and fatter, reached up to 83 Kgs. Around 2 years back, I started my journey to become fit and get back into shape. I started working out at the gym, experimenting with my diet: eating less, eating more, eating right stuff. After going through hell lot of pain, I came to a point where I was able to see the results: reducing weight and waist line, feeling fit and strong, when I became self motivated to work out daily and follow proper diet and sleeping pattern. I reached a weight of 65 Kgs some months back and I have been maintaining it since then. The best part about it is the feeling of being active and fit throughout the day. ...
Today, I migrated my Ghost blog to a Docker container running on CentOS 7. The config and content data for the blog has been pushed to https://github.com/rtnpro/rtnpro.com. The setup was pretty simple. git clone https://github.com/rtnpro/rtnpro.com cd rtnpro.com # Allow sharing this directory with a Docker container sudo chcon -Rt svirt_sandbox_file_t ./ # Allow nginx access port 2368 expose from Docker container sudo semanage port -a -t http_port_t -p tcp 2368 # Run container sudo docker run -d -ti -p 2368:2368 \ --name rtnpro_com_ghost \ -v $(pwd):/var/lib/ghost \ -v $(pwd)/themes:/usr/src/ghost/content/themes \ -e NODE_ENV=production \ ptimof/ghost cp nginx.conf /etc/nginx/conf.d/www.rtnpro.com.conf sudo service nginx restart And, tada! I have my blog running inside a container now.
We have started working to power realtime IRC chat on Fedora Hubs pages, using Waartaa. We plan to load the Waartaa chat widget as an <iframe> inside Fedora Hubs. The user story we are looking forward to create is as follows. A user logs in to Fedora Hubs using his FAS account. He then creates a network connection to IRC and connects to the IRC server. Under the hood, it will run an ircb bot for the user’s IRC connection in waartaa. The user can now chat on IRC from Fedora Hubs pages, or, from an IRC client of his choice, simultaneously, using the same IRC nick. ...
atomicapp is a reference implementation of the Nulecule Specification. It can be used to bootstrap container applications and to install and run them. atomicapp is designed to be run in a container context. Examples using this tool may be found in the Nulecule library. If you want to know the internals of atomicapp, how it works, etc., or contribute to it’s development, this post is for you. Setup Install python virtualenv utils virtualenv is a tool to create isolated Python environments. virtualenv creates a folder which contains all the necessary executables to use the packages that a Python project would need. virtualenvwrapper is a set of extensions to easily create, manage and destroy virtualenvs. I personally prefer using virtualenvwrapper for my Python developement work. ...
Today, ircb gets 0.1.1 release. It’s a minor release with some bugfixes post 0.1 release: Fix handling nick AWAY command Fixes around SSL options in networks create CLI. make –ssl option of flag type make –ssl-verify option of Choice type We’re now gearing up for our upcoming 0.2 release. Don’t forget to check it out, if you want to be part of the action.
ircb gets it’s initial 0.1 release! ircb is a versatile IRC Bouncer, made for scale. It was born out of our sheer requirements for a better IRC bouncer when hosting the demo instance of waartaa. A bouncer that: scales to multiple hosts, to overcome connection limitations put by IRC servers on a single host accepts multiple simultaneous client connections for the same IRC connection A sane API to control it has awesome dashboard and analytics, built in We plan to ship ircb as a standalone, consumable product. It’s eventually going to be used in waartaa as it’s core engine to handle IRC connections. ...