Mounting DMGs w/ HFS partitions:
http://linuxforums.org.uk/index.php?topic=1072.0
apt-get install hfsplus hfsutils hfsprogs dmg2img
#!/bin/bash | |
cat /cgroup/blkio/libvirt/qemu/blkio.throttle.read_bps_device | |
cat /cgroup/blkio/libvirt/qemu/blkio.throttle.write_bps_device | |
cat /cgroup/blkio/libvirt/qemu/*/blkio.throttle.read_bps_device | |
cat /cgroup/blkio/libvirt/qemu/*/blkio.throttle.write_bps_device | |
# 10MBps | |
#BPSLIMIT=10485760 |
#!/bin/bash | |
if [ "$4" == "" ]; then | |
echo "usage: $0 <local_ip> <remote_ip> <new_local_ip> <new_remote_ip>" | |
echo "creates an ipsec tunnel between two machines" | |
exit 1 | |
fi | |
SRC="$1"; shift | |
DST="$1"; shift |
os_http_be.map and os_sni_passthrough.map are both just empty files |
import os | |
import socket | |
import struct | |
# These constants map to constants in the Linux kernel. This is a crappy | |
# way to get at them, but it'll do for now. | |
RTMGRP_LINK = 1 | |
NLMSG_NOOP = 1 | |
NLMSG_ERROR = 2 |
Mounting DMGs w/ HFS partitions:
http://linuxforums.org.uk/index.php?topic=1072.0
apt-get install hfsplus hfsutils hfsprogs dmg2img
UNLOGGED
table. This reduces the amount of data written to persistent storage by up to 2x.WITH (autovacuum_enabled=false)
on the table. This saves CPU time and IO bandwidth
on useless vacuuming of the table (since we never DELETE
or UPDATE
the table).COPY FROM STDIN
. This is the fastest possible approach to insert rows into table.time timestamp with time zone
is enough.synchronous_commit = off
to postgresql.conf
.-- Create a group | |
CREATE ROLE readaccess; | |
-- Grant access to existing tables | |
GRANT USAGE ON SCHEMA public TO readaccess; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
-- Grant access to future tables | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
(originally from my proposal on moby/moby#17142 (comment) but generic)
The profile would generate artificats of an apparmor profile and seccomp filters.
Obviously doesn't have to be toml since that's super hipster :p
Assumptions
aa-genprof
it is never