This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
code | name | station | district | division | |
---|---|---|---|---|---|
1360 | Demra | Demra | Dhaka | Dhaka | |
1362 | Matuail | Demra | Dhaka | Dhaka | |
1361 | Sarulia | Demra | Dhaka | Dhaka | |
1206 | Dhaka Cantonment TSO | Dhaka Cantt. | Dhaka | Dhaka | |
1350 | Dhamrai | Dhamrai | Dhaka | Dhaka | |
1351 | Kamalpur | Dhamrai | Dhaka | Dhaka | |
1209 | Jigatala TSO | Dhanmondi | Dhaka | Dhaka | |
1213 | Banani TSO | Gulshan | Dhaka | Dhaka | |
1212 | Gulshan Model Town | Gulshan | Dhaka | Dhaka |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
server: | |
########################################################################### | |
# BASIC SETTINGS | |
########################################################################### | |
# Time to live maximum for RRsets and messages in the cache. If the maximum | |
# kicks in, responses to clients still get decrementing TTLs based on the | |
# original (larger) values. When the internal TTL expires, the cache item | |
# has expired. Can be set lower to force the resolver to query for data | |
# often, and not trust (very large) TTL values. | |
cache-max-ttl: 86400 |
31.13.24.0/21 | |
31.13.64.0/19 | |
31.13.64.0/24 | |
31.13.69.0/24 | |
31.13.70.0/24 | |
31.13.71.0/24 | |
31.13.72.0/24 | |
31.13.73.0/24 | |
31.13.75.0/24 | |
31.13.76.0/24 |
We will gather all URLs next - this may take a short while. Please remain patient. | |
(1) 3ddesktop -> http://desk3d.sourceforge.net/download.php | |
(2) 3dpong -> ftp://ftp.billsgames.com/unix/x/3dpong/src/3dpong-0.5.tar.gz | |
(3) 855resolution -> http://perso.orange.fr/apoirier/ | |
(4) a2png -> http://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.gz | |
(5) a2ps -> http://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz | |
(6) a52dec -> http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz | |
(7) aalib -> http://sourceforge.net/projects/aa-project/files/aa-lib/1.4rc5/aalib-1.4rc5.tar.gz | |
(8) aamath -> http://fuse.superglue.se/aamath/aamath-0.3.tar.gz | |
(9) abcde -> http://abcde.googlecode.com/files/abcde-2.5.3.tar.gz |
from __future__ import print_function | |
from sqlalchemy import * | |
from sqlalchemy.orm import create_session | |
from sqlalchemy.ext.declarative import declarative_base | |
Base = declarative_base() | |
engine = \ | |
create_engine("postgresql://...") | |
metadata = MetaData(bind=engine) |
1) Exim config | |
a. Global settings: | |
dmarc_history_file = /var/spool/exim/dmarc_history.txt | |
dmarc_tld_file = /etc/exim/opendmarc.tlds | |
b. Get the tld file (list of valid TLD's) from http://publicsuffix.org/list/ | |
c. Somewhere early in the RCPT ACL I have: | |
.include_if_exists /etc/exim/dmarc_acl_control.conf |
#!/usr/bin/perl -w | |
# hook script for vzdump (--script option) | |
=begin comment | |
backuphook for Proxmox | |
renames files so that they include the hostname of the machine | |
Instructions for Hetzner Backup Server auth via SSH |
var _ = require('lodash'), | |
Waterline = require('waterline'), | |
path = require('path'), | |
url = require('url'), | |
kue = require('kue'), | |
redis = require('../../node_modules/sails/node_modules/socket.io/node_modules/redis'), | |
q = require('q') | |
//////////////////////////////////////////////////////////////////// |