<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://www.subtend.net/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.subtend.net/wiki/feed.php">
        <title>subtend tech</title>
        <description></description>
        <link>http://www.subtend.net/wiki/</link>
        <image rdf:resource="http://www.subtend.net/wiki/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-06-09T07:39:52+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:dpkg?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:find?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:git?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:halcyon?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:interfaces?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:ipv6?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:kvm?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:mbr?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:mysql?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:postgresql?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:sed?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:ssl?rev=1403588456&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.subtend.net/wiki/tech:start?rev=1403588456&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.subtend.net/wiki/lib/tpl/dokuwiki/images/favicon.ico">
        <title>subtend</title>
        <link>http://www.subtend.net/wiki/</link>
        <url>http://www.subtend.net/wiki/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.subtend.net/wiki/tech:dpkg?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:dpkg</title>
        <link>http://www.subtend.net/wiki/tech:dpkg?rev=1403588456&amp;do=diff</link>
        <description>List of packages typically installed immediately upon a new Debian/Ubuntu install.  Commented out stuff is currently not used by default but kept for reference.


nmap
vnstat
ntp
tcpdump
iperf
ipcalc
autossh
subversion-tools
imagemagick
xchat
#thunderbird
enigmail
gkrellm
vim-gnome
htop
gthumb
vlc
build-essential
bridge-utils
screen
wipe
dh-make-perl
cpuburn
gnupg-agent
dsh
#hamster-applet
mutt
digikam
#ufraw
#gimp-ufraw
lprof
sshfs
alien
libpano13-bin
git-core
gitk
libimage-exiftool-perl
tcptra…</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:find?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:find</title>
        <link>http://www.subtend.net/wiki/tech:find?rev=1403588456&amp;do=diff</link>
        <description>for x in `grep -l &quot;X-Spam-Level: \*\*\*\*&quot; ./*`; do rm -f $x; done</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:git?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:git</title>
        <link>http://www.subtend.net/wiki/tech:git?rev=1403588456&amp;do=diff</link>
        <description>*  &lt;http://www.silassewell.com/blog/2009/03/08/profile-management-with-git-and-github/&gt;
	*  &lt;http://robescriva.com/2009/01/06/manage-your-home-with-git&gt;</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:halcyon?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:halcyon</title>
        <link>http://www.subtend.net/wiki/tech:halcyon?rev=1403588456&amp;do=diff</link>
        <description>MacBook Pro Retina Mid-2012

	*  Processor: 2.6 GHz Intel Core i7
	*  Memory: 16 GB 1600 MHz DDR3
	*  Graphics: NVIDIA GeForce GT 650M 1024 MB
	*  Serial Number: C02JN3BXDKQ5
	*  Software  OS X 10.9.1 (13B42)

Applications

	*  Android: Android File Transfer</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:interfaces?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:interfaces</title>
        <link>http://www.subtend.net/wiki/tech:interfaces?rev=1403588456&amp;do=diff</link>
        <description>Debian /etc/network/interfaces


##
# loopback
#
auto lo
iface lo inet loopback

##
# bond eth[0-1] and assign VLAN tags
# vlan 1003: mgmt
# vlan 1005: nenticom
# vlan 10:   colo1 [internet]
# vlan 20:   colo2 [internet]
#
auto bond0
iface bond0 inet manual
    pre-up  ip link set bond0 up
    up      ifenslave bond0 eth0
    up      ifenslave bond0 eth1
    up      vconfig add bond0 1003
    up      vconfig add bond0 1005
    up      vconfig add bond0 10
    up      vconfig add bond0 20
    up …</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:ipv6?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:ipv6</title>
        <link>http://www.subtend.net/wiki/tech:ipv6?rev=1403588456&amp;do=diff</link>
        <description>Hurricane Electric Tunneling


$SERVERIPV4ADDR == Server IPv4 address as listed on tunnelbroker.net
$CLIENTIPV4ADDR == Client IPv4 address as listed on tunnelbroker.net
$CLIENTIPV6ADDR == Client IPv6 address as listed on tunnelbroker.net
$ROUTED64 == Routed /64 as listed on tunnelbroker.net

    # IPv6 via HE tunnel...
    auto he-ipv6
    iface he-ipv6 inet6 v4tunnel
        address $CLIENTIPV6ADDR
        netmask 64
        remote $SERVERIPV4ADDR
        local $CLIENTIPV4ADDR
        endpoint …</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:kvm?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:kvm</title>
        <link>http://www.subtend.net/wiki/tech:kvm?rev=1403588456&amp;do=diff</link>
        <description>KVM Management

	*  ssh to kvm server `ssh garkbit`
	*  run `virt-manager`

Resize Qemu Image

	*  Convert the qcow2 disk image to raw format if needed

qemu-img convert -f qcow2 mydisk.qcow2 -O raw mydisk.raw

	*  Resize the raw image using dd (the file contents is not touched)</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:mbr?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:mbr</title>
        <link>http://www.subtend.net/wiki/tech:mbr?rev=1403588456&amp;do=diff</link>
        <description>Install New DOS MBR


install-mbr /dev/hdc -v --interrupt n --partition D --timeout 0</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:mysql?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:mysql</title>
        <link>http://www.subtend.net/wiki/tech:mysql?rev=1403588456&amp;do=diff</link>
        <description>Database Creation


create database subtend_gocarma;
flush privileges;
grant all on subtend_gobiowiki.* to &#039;subtend_gowik&#039;@&#039;10.0.16.2&#039; identified by &#039;let-me-in-password&#039;;

that command create the user at the same time --^

select * from db where db=&#039;dotproject&#039;;</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:postgresql?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:postgresql</title>
        <link>http://www.subtend.net/wiki/tech:postgresql?rev=1403588456&amp;do=diff</link>
        <description>1. Login as &quot;postgres&quot; (SuperUser) to start using database:

      # su - postgres

   2. Create a new database:

      $ createdb mydb

   3. Drop database:

      $ dropdb mydb

   4. Access database:

      $ psql mydb

   5. Get help:

      mydb=# \h

   6. Quit:

      mydb=# \q

   7. Read command from file:

      mydb=# \i input.sql

   8. To dump a database:

      $ pg_dump mydb &gt; db.out

   9. To reload the database:

      $ psql -d database -f db.out

  10. Dump all database:

    …</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:sed?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:sed</title>
        <link>http://www.subtend.net/wiki/tech:sed?rev=1403588456&amp;do=diff</link>
        <description>sed - is useful to find and replace text in single multiple files.

    * Replacing foo with foo_bar in a single file.

      sed -i &#039;s/foo/foo_bar/g&#039; somefile.module
          o -i = tell sed to edit the file(s)
          o s = substitute the following text
          o foo = what you want to substitute
          o foo_bar = what you want to replace
          o g = global, match all occurrences in the line

# Replacing foo with foo_bar in a multiple files.

sed -i &#039;s/foo/foo_bar/g&#039;  *.module 

#…</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:ssl?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:ssl</title>
        <link>http://www.subtend.net/wiki/tech:ssl?rev=1403588456&amp;do=diff</link>
        <description>Generating and Placing Self-Signed Key


Generating a quick and dirty key
This is not complete for setting up a proper certificate.

openssl genrsa -out fqdn.website.key 2048
openssl req -new -key fqdn.website.key -out fqdn.website.csr -subj &#039;/C=US/ST=Oregon/L=Portland/O=OpenSourcery/CN=fqdn.hostname.com&#039;
openssl x509 -req -days 60 -in fqdn.website.csr -signkey fqdn.website.key -out fqdn.website.pem

Placing keys/certs

    * Name the key/csr/crt after what the FQDN of the virtualhost will be (o…</description>
    </item>
    <item rdf:about="http://www.subtend.net/wiki/tech:start?rev=1403588456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-24T05:40:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tech:start</title>
        <link>http://www.subtend.net/wiki/tech:start?rev=1403588456&amp;do=diff</link>
        <description>*  dpkg - Fluid list of standard Debian/Ubuntu packages I use
	*  find
	*  git
	*  interfaces
	*  IPv6
	*  KVM
	*  MBR
	*  MySQL
	*  PostgreSQL
	*  sed
	*  SSL

Hosts

	*  halcyon - Primary laptop (Macbook Pro)</description>
    </item>
</rdf:RDF>
