Ansible Code to Split Strings

// Source https://gist.github.com/VerosK/9853931 --- - hosts: localhost vars: facter_blockdevices: sda,sdb,sdc,sdd,sde,sdf gather_facts: no tasks: - name: Separate facts set_fact: blockdevices="{{facter_blockdevices.split(',')}}" - name: Show the devices shell: echo {{ item }} with_items: blockdevices

Advertisements

Opera Browser: Architecture

Opera is built on Chromium project. Chromium is an open  source project that uses WebKit, a free and open source rendering engine. WebKit is open sourced by Apple. So, Google Chrome and Opera resemble a lot. They use process for each tab and look similar. The benefit of using processes to handle tabs is: Better [...]

ffmpeg: Part I

BriefSoftware to convert video to format A to format BInstalling on Ubuntu 14.10Courtesy to this ffmpeg install tip$sudo  add-apt-repository ppa:jon-severinsson/ffmpeg$ sudo apt-get install ffmpegQuick facts about ffmpegWritten in COpen source

Google App Engine: Data store with async calls

Google Data Store provides single core CPU  (F class) for applications. Hence heavily multi-threaded applications can't scale enough DataStoreprovidesasync calls for DB access. It has: Async queries Async transactions Async read/writes Documentation is good but lacks clarity on usage and benefits on async calls. It says that async queries can run in parallel after immediately [...]