$ qemu-img create -f raw dummy-1G.img 1G
$ ls -ls kvm-image.img
$ ls -lh kvm-image.img
#!/usr/bin/env ruby | |
#coding:utf-8 | |
require 'mechanize' | |
alice = Mechanize.new | |
page = alice.get ARGV[0] | |
url = CGI.unescape page.root.xpath('//*[@id="flash-player-embed"]')[0]['flashvars'].split('&flv_url=').last.split('&').first | |
title = page.root.xpath('//div[@id="main"]/h2')[0].inner_text.to_s+'.flv' |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
package main | |
import ( | |
"io" | |
"log" | |
"os" | |
"os/exec" | |
"io/ioutil" | |
"bytes" | |
) |
日時: | 2018-08-08 |
---|---|
作者: | @voluntas |
バージョン: | 18.08.0 |
url: | https://sora.shiguredo.jp/ |
この記事が良いと思ったらこの記事に Star を是非