jessie の標準の kernel だと runc が動かない(cgroup の CPU 制御の問題)。また、CRIU を動かすにも足りないので自前で build(4.0.6)。
CRIU は github からとってきて build。buld に必要な物はすべて debian packege で補った。何が必要かは CRIU についてくる Dockerfile を見ればよい。
Ubuntu あたりを使えばもっと楽にできるかもしれない。
" Vim syntas file for diffs in an email reply: | |
" Unmodified diff.vim, all the matches simply have a "> " prepended. | |
" | |
" Vim syntax file | |
" Language: Diff (context or unified) | |
" Maintainer: Bram Moolenaar <Bram@vim.org> | |
" Last Change: 2005 Jun 20 | |
" Quit when a (custom) syntax file was already loaded |
#!/bin/sh | |
if ! pgrep xlock >/dev/null 2>&1; then | |
xlock -lockdelay 0 -endCmd ssh-add & | |
sleep 1 | |
fi | |
sudo -k | |
ssh-add -D |
--indent-columns=8 | |
--entab-leading-whitespace=8 | |
--continuation-indentation=4 | |
--cuddled-else | |
--opening-sub-brace-on-new-line |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# On OpenBSD, I have a port for p5-Bot-ICB and p5-Net-ICB | |
# pkg_add p5-Bot-ICB p5-LWP-Protocol-https p5-HTML-Tree p5-Text-Unidecode | |
use Bot::ICB; | |
use LWP::Simple; | |
use HTML::Tree; |
# As Bash Alias | |
function vzenter() { | |
vzctl enter $(vzlist | egrep "$1" | awk '{print $1}') | |
} |
#!/usr/bin/env php | |
<?php | |
/** | |
* CSSTidy - Command Line Interface (CLI) | |
* | |
* Command Line Interface that try to mimic as much as possible the C++ CLI | |
* version of csstidy. It should be a drop in replacment for the C++ CLI that is | |
* no longuer maintain. New settings like css_level are added. | |
* | |
* Copyright 2005, 2006, 2007 Florian Schmitz |
MBA-FBA:bin francois$ ./virt-manager | |
RuntimeWarning: tp_compare didn't return -1 or -2 for exception | |
RuntimeWarning: tp_compare didn't return -1 or -2 for exception | |
Traceback (most recent call last): | |
File "/Users/francois/bin/mybuild/share/virt-manager/virt-manager.py", line 393, in <module> | |
_show_startup_error(str(run_e), "".join(traceback.format_exc())) | |
File "/Users/francois/bin/mybuild/share/virt-manager/virt-manager.py", line 63, in _show_startup_error | |
from virtManager.error import vmmErrorDialog | |
File "/Users/francois/bin/mybuild/share/virt-manager/virtManager/error.py", line 173, in <module> | |
class _errorDialog (gtk.MessageDialog): |
<?xml version="1.0" encoding="utf-8"?> | |
<Client name="Sony Bravia 2014"> | |
<Identification> | |
<Header name="X-AV-Client-Info" regex=".*KDL-\d{2}[WR][5689]\d{2}B.*" /> | |
<DeviceDescription> | |
<Manufacturer substring="Sony" /> | |
<FriendlyName regex="KDL-\d{2}[WR][5689]\d{2}B.*" /> | |
</DeviceDescription> | |
</Identification> | |
<DeviceDescription> |
The host machine is Dell Vostro laptop running Fedora core 18. Centos 6.4 openVZ host will be installed on KVM VM on top of the Fedora host. OpenVZ containers will run in Centos openVZ host. The latest version (6.4) was picked due the mirrors no longer having older 6.3 version, which was not supported anymore.