view counter

Servers & Storage Feed

Sun Servers and Storage, Solaris, Oracle Linux, Red Hat Linux, Oracle VM for x86, Oracle VDI and Virtualization resources, news, and support articles.

Create slide show from pictures - part 2 (GUI)

Part 1 of this series shows how to create a video or slide show from a set of image files using ffmpeg, a command-line tool. This post describes Imagination, a GUI-based tool, which offers some fancy animation features in slide show creation. To install Imagination on a Debian Linux system:

Two advanced bash tricks

Well, tricks is not the right word to describe advanced shell scripting usage, however, it does make some sense. These two topics are relevant to Bash version 4.0 and above, which is common for all modern-enough Linux distributions. Yours probably.
These ‘tricks’ are for advanced Bash scripting, and will assume you know how to handle the other advanced Bash topics. I will not instruct the basics here.
Trick #1 – redirected variable
What it means is the following.

Make sure you typed the name correctly, and then try again error message

Sometimes the Windows uninstall program leaves orphan files after a removal event. Here were the error messages and some background information.http://www.shouldiremoveit.com/iWebar-91441-program.aspxhttp://www.shouldiremoveit.com/Sense-102076-program.aspx"Windows cannot find 'C:\users\myuser\AppData\Local\Temp\iwebar.exe""Make sure you typed the name correctly, and then try again.""Windows cannot find 'C:\users\myuser\AppData\Local\Temp\sense.exe""Make sure you typed the name correctly, and then try again."

How fast is Xen on ARM, really?

With Xen on ARM getting out of the early preview phase and becoming more mature, it is time to run a few benchmarks to check that the design choices paid out, the architecture is sound and the code base is solid. It is time to find out how much is the overhead introduced by Xen on ARM and how it compares with Xen and other hypervisors on x86.

Python list – get max value

 
There is method called max in python which returns the element from the list with maximum value.
Syntax:
$ max(list)
Example:
>>> mylist = ['1', '2', '3', '4']

>>> max(mylist)

4
Since max value in my list is 4, so max method returned 4 as output.

Python list – get max value

 
There is method called max in python which returns the element from the list with maximum value.
Syntax:
$ max(list)
Example:
>>> mylist = ['1', '2', '3', '4']

>>> max(mylist)

4
Since max value in my list is 4, so max method returned 4 as output.

Python convert list values to int values

 
I have a list with int values as strings as following:
>>> mylist = ['1', '2', '3', '4']

>> mylist

['1', '2', '3', '4']
I would like to convert all values in mylist to int’s.
I used following code to convert values of lists to int’s:
>>> output = map(int, mylist)

>>> output

[1, 2, 3, 4]
Now just observer both list output values, all values in mylist are strings and all values in output list are int’s.

Python convert list values to int values

 
I have a list with int values as strings as following:
>>> mylist = ['1', '2', '3', '4']

>> mylist

['1', '2', '3', '4']
I would like to convert all values in mylist to int’s.
I used following code to convert values of lists to int’s:
>>> output = map(int, mylist)

>>> output

[1, 2, 3, 4]
Now just observer both list output values, all values in mylist are strings and all values in output list are int’s.

PuppetDB API Cheat Sheet and Useful One Liners

This is my puppetdb api cheat sheet of useful one liners for querying against the puppetdb api. These are geared for a command line environment, so you’ll notice that they depend on the curl jq commands. These available through the package manager on most linux distributions. This It’s a work in progress. Generate a host […]
The post PuppetDB API Cheat Sheet and Useful One Liners appeared first on Backdrift.

view counter