How to create KVM with veewee? - kvm

I am looking for a short tutorial on how to create a KVM with veewee? I would like to use veewee to construct OS that would fit my application needs

Update:
on the veewee github page, you can find now a decent documentation:
https://github.com/jedi4ever/veewee/blob/master/doc/kvm.md
I will use a different solution:
1. start an image with kvm
2. Use chef solo to customize the machine
3. Save an image to use it as a template for others

Related

Bulk text2speech Generation with R

Is it possible to loop through a list of words in R that can each be generated into separate “speech” files using the speech2text website?
https://www.text2speech.org/
To make one file manually one has to type in the text one one page then submit it. A second page then opens with the option to download the file. Since I want to do many of these I would like to find a way to automate it. I have no idea how to approach this idea though.
EDIT
So I am using "say" on mac based on a the helpful comments. I am running it through R using a loop for all strings in a vector
for(i in 1:nrow(test[1:5])){
system("say", intern =F,input = test$English[i])%>%saveRDS(paste0("/Users/Desktop/tts/", test$English[i],".aiff"))
}
This creates the files as expected in the expected location but the .aiff files won't play in any media player. Does anyone see what I am doing wrong?
Consider using a CLI based solution for TTS, like espeak/espeak-ng (cross-platform), festival (linux), say (osx) or via powershell on windows (here's a script). Looks like the page you're referencing is using flite, which is a lightweight (and downloadable) version of festival.

Display most recent image from folder

I want to show the most recent image from a folder (Windows) and have the page (.html) automatically refresh, say, every 5 seconds. What's the easiest way to do this? I prefer not to install any software for this and do it in (for example) the browser.
It is not possible to get the creation date of an image using only JS.
You need to either try an AJAX solution, or use a specific name for the last saved file (f.e: "lastimg.png")
For the 5second refresh mechanism You can use setInterval.
Using this solution, this topic might also be useful for You.
For a more specific answer, try to ask a more specific question.

UserExtendedProperties.GetValue("ANID") equivalent on Windows 8

On Windows Phone 7 you can do like this to get an anonymous unique id for the current user.
UserExtendedProperties.GetValue("ANID")
I have search for a while to find an equivalent for my current Windows 8 (WinRT), but I can't seem to find it. All the results I find, talks about how to get a Hardware/device specific ID, which IS supported, it's just not what I need.
Thanks in advance,
Mads
Found out, thanks to xamlgeek an others, that it's not possible to get a Unique User Id in Windows 8 - at least for now.
So I have to fallback on Device Id, which is far from what I needed, but found this code snippet with works perfect (C#):
http://bartwullems.blogspot.co.uk/2012/09/windows-8-uniquely-identifying-device.html
The answer is not good at all, because the user can upgrade his PC config (by pluging a bluetooth adapter or anything else). The good answer is to use the object :
Windows.Storage.ApplicationData.Current.RoamingSettings.Values["HighPriority"]
It's synchronized through the different installation of the apps on the cloud, more infos here :
The HighPriority key is special because it's get automatically during the new installation of the app.
http://blogs.msdn.com/b/windowsappdev/archive/2012/07/17/roaming-your-app-data.aspx
It's unwise to use GetPackageSpecificToken. This ID will change even if user just plug USB device into his PC/tab, or turn Wifi on/off. Actually it's a quite unstable thing, no idea why MSFT has ever made it.
I use LiveConnect instead (only Liveconnect user ID is needed and it's the same on all user devices). It much more reliable. See my post here: https://stackoverflow.com/a/22389679/1656824

screen recorder tools - open source/integrated with test management

I have a two-part question:
1) what are available for open source 'screen recorder' tools? Here is what I got so far, but I have not evaluated them yet as I'm trying to collect the list first:
http://camstudio.org/
http://code.google.com/p/zscreen/
http://shutter-project.org/
http://getgreenshot.org/
http://autoscreen.sourceforge.net/
http://sourceforge.net/projects/capturedit/
2) Is there any test management/manual test software that currently uses screen recorders with manual testing to record what the tester does during each test case (instead of requiring them to manually print-screen one step at a time).
Intent is to find a better way to, screen-by-screen, see what gets entered on the 'screens' throughout the test case cycle to help with problem identification if a problem occurs. 'Screens' could be identified as either web-based (traditional or ajax) or thick-client (java, .net, whatever).
Try recordmydesktop and gtk-recordmydesktop. It simple, lightweight and will give u a nice video screencast. Just install and press the stop or play button from your panel, videos will be saved in *.ogv formats.
$ sudo apt-get install recordmydesktop gtk-recordmydesktop

Automate adding entries to a wiki

Once I have my renamed files I need to add them to my project's wiki page. This is a fairly repetitive manual task, so I guess I could script it but I don't know where to start.
The process is:
Got to appropriate page on the wiki
for each team member (DeveloperA, DeveloperB, DeveloperC)
{
for each of two files ('*_current.jpg', '*_lastweek.jpg')
{
Select 'Attach' link on page
Select the 'manage' link next to the file to be updated
Click 'Browse' button
Browse to the relevant file (which has the same name as the previous version)
Click 'Upload file' button
}
}
Not necessarily looking for the full solution as I'd like to give it a go myself.
Where to begin? What language could I use to do this and how difficult would it be?
Check if the wiki you mean to talk to supports XMLRPC, because if it does it should be a snap. I wrote a tool called WikiUp to solve a similar problem (updating a delineated section on a wiki page).
If you're writing in C#, the WebClient classes might be a good place to start. I bet people could give more specific advice if you mentioned which wiki platform you are using, and whether it requires authentication, though.
I'd probably start by downloading fiddler and watching the http requests from doing it manually. Then you could use some simple scripts and regexes to build your http requests for automating the process.
Of course, if your wildly lucky, your wiki would have a backend simple enough that you could just plug them into its db directly. :)
You might find CoScripter useful -- it's a Firefox extension that allows you to automate tasks you perform on websites. I'm not certain how you'd integrate this with the list of files you're changing on your local system, but it can certainly handle the file uploading through a web form.
Better bet is probably using cURL or a similar HTTP library with your programming language of choice. If you're on *nix, you can use the cURL commandline program inside your shell script to get this done fairly easily. (Like #jsight said you will need to analyze the actual forms you're using on the webpage, using Fiddler or just looking at the form elements and re-creating the POST through cURL.)