<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:base="http://everything2.com/">
    <title>elem_125's New Writeups</title>
    <link rel="alternate" type="text/html" href="http://everything2.com/index.pl?node=Everything%20User%20Search&amp;usersearch=elem_125" />
    <link rel="self" type="application/atom+xml" href="?node=New%20Writeups%20Atom%20Feed&amp;type=ticker&amp;foruser=elem_125" />
    <id>http://everything2.com/?node=New%20Writeups%20Atom%20Feed&amp;foruser=elem_125</id>
    <updated>2003-05-14T20:53:28Z</updated>
<entry><title>Ways to overthrow a government (idea)</title><link rel="alternate" type="text/html" href="http://everything2.com/user/elem_125/writeups/Ways+to+overthrow+a+government"/><id>http://everything2.com/user/elem_125/writeups/Ways+to+overthrow+a+government</id><author><name>elem_125</name><uri>http://everything2.com/user/elem_125</uri></author><published>2003-05-14T20:53:28Z</published><updated>2003-05-14T20:53:28Z</updated>
<content type="html">&lt;p&gt;Ahhhh, so you've decided that its time for a &lt;a href=&quot;/title/change&quot;&gt;change&lt;/a&gt; have you?

&lt;p&gt;&lt;a href=&quot;/title/Come+in&quot;&gt;Come in&lt;/a&gt;, come in. Please sit down. Some &lt;a href=&quot;/title/tea&quot;&gt;tea&lt;/a&gt;? Of course, &lt;a href=&quot;/title/coffee&quot;&gt;coffee&lt;/a&gt; it is then.

&lt;p&gt;So, let us begin. You've decided to &lt;a href=&quot;/title/overthrow&quot;&gt;overthrow&lt;/a&gt; the &lt;a href=&quot;/title/government&quot;&gt;government&lt;/a&gt; then? Wonderful, a superb choice if I may say so. But let us now discuss how you're going to do it. You see there are &lt;a href=&quot;/title/many+ways&quot;&gt;many ways&lt;/a&gt;.

&lt;p&gt;&lt;b&gt;&lt;a href=&quot;/title/Disclaimer&quot;&gt;Disclaimer&lt;/a&gt;&lt;/b&gt;: Plotting to overthrow a government is a &lt;a href=&quot;/title/serious&quot;&gt;serious&lt;/a&gt; business for &lt;a href=&quot;/title/serious+people&quot;&gt;serious people&lt;/a&gt;. Please don't try it &quot;&lt;a href=&quot;/title/just+for+a+laugh&quot;&gt;just for a laugh&lt;/a&gt;&quot;, if you fail you might find that there are some very pissed people looking for you afterwards....

&lt;p&gt;So let us now look at the various ways in which we could presume to overthrow a government, with &lt;a href=&quot;/title/historical+examples&quot;&gt;historical examples&lt;/a&gt; of course.

&lt;p&gt;&lt;h3&gt;&lt;b&gt;&lt;a href=&quot;/title/Revolution&quot;&gt;Revolution&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;blockquote&gt;&lt;b&gt;Revolution&lt;/b&gt; &lt;i&gt;n.&lt;/i&gt; &lt;b&gt;1 a&lt;/b&gt; the &lt;a href=&quot;/title/forcible&quot;&gt;forcible&lt;/a&gt; overthrow of government or &lt;a href=&quot;/title/social+order&quot;&gt;social order&lt;/a&gt;, in favor of a new system. &lt;b&gt;b&lt;/b&gt; (in &lt;a href=&quot;/title/Marxism&quot;&gt;Marxism&lt;/a&gt;) the replacement of one ruling class by another; the &lt;a href=&quot;/title/class+struggle&quot;&gt;class struggle&lt;/a&gt; which is&lt;/blockquote&gt;&amp;hellip;</content>
</entry><entry><title>email (thing)</title><link rel="alternate" type="text/html" href="http://everything2.com/user/elem_125/writeups/email"/><id>http://everything2.com/user/elem_125/writeups/email</id><author><name>elem_125</name><uri>http://everything2.com/user/elem_125</uri></author><published>2003-05-13T13:52:53Z</published><updated>2003-05-13T13:52:53Z</updated>
<content type="html">&lt;p&gt;It is the &lt;a href=&quot;/title/killer+app&quot;&gt;killer app&lt;/a&gt;. The &lt;a href=&quot;/title/technology&quot;&gt;technology&lt;/a&gt; that transformed the &lt;a href=&quot;/title/internet&quot;&gt;internet&lt;/a&gt; from being a geeky toy to a ubiquitous form of &lt;a href=&quot;/title/communication&quot;&gt;communication&lt;/a&gt; that many of us would wonder how we could have lived without. But how many of us know its &lt;a href=&quot;/title/history&quot;&gt;history&lt;/a&gt;, its rich &lt;a href=&quot;/title/cultural+heritage&quot;&gt;cultural heritage&lt;/a&gt;? How can we truly appreciate this tool which we have been given with out an understanding of where it came. To do this let us start with a brief history of the Internet.



&lt;p&gt;In the beginning there was &lt;a href=&quot;/title/nothing&quot;&gt;nothing&lt;/a&gt;.



&lt;p&gt;And from the nothingness came the &lt;a href=&quot;/title/ARPAnet&quot;&gt;ARPAnet&lt;/a&gt;. In the glorious year of 1969, while the first moon landings were occurring the ARPAnet was quietly born at &lt;a href=&quot;/title/Stanford+Research+Institute&quot;&gt;Stanford Research Institute&lt;/a&gt; (SRI), &lt;a href=&quot;/title/UCLA&quot;&gt;UCLA&lt;/a&gt;, &lt;a href=&quot;/title/UCSB&quot;&gt;UCSB&lt;/a&gt; and the &lt;a href=&quot;/title/University+of+Utah&quot;&gt;University of Utah&lt;/a&gt;.



&lt;p&gt;It was on the 1st October 1969 that the ARPAnet really came into being. On this day &lt;a href=&quot;/title/Interface+Message+Processor&quot;&gt;Interface Message Processor&lt;/a&gt; Number 2 was installed at &lt;a href=&quot;/title/SRI&quot;&gt;SRI&lt;/a&gt;. The Interface Message Processor, or &lt;a href=&quot;/title/IMP&quot;&gt;IMP&lt;/a&gt;, was the first ever &lt;a href=&quot;/title/router&quot;&gt;router&lt;/a&gt;. Its role was to interface with a &lt;a href=&quot;/title/host&quot;&gt;host&lt;/a&gt; computer and then&amp;hellip;</content>
</entry><entry><title>Writing a Packet Sniffer (idea)</title><link rel="alternate" type="text/html" href="http://everything2.com/user/elem_125/writeups/Writing+a+Packet+Sniffer"/><id>http://everything2.com/user/elem_125/writeups/Writing+a+Packet+Sniffer</id><author><name>elem_125</name><uri>http://everything2.com/user/elem_125</uri></author><published>2003-05-09T15:14:19Z</published><updated>2003-05-09T15:14:19Z</updated>
<content type="html">&lt;p&gt;&lt;a href=&quot;/title/Packets&quot;&gt;Packets&lt;/a&gt;, flying through the &lt;a href=&quot;/title/ether&quot;&gt;ether&lt;/a&gt;. Don't you just wish that you could see what they said?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;/title/Elem_125&quot;&gt;Elem_125&lt;/a&gt; Productions &lt;a href=&quot;/title/presents&quot;&gt;presents&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;h2&gt;The Easy (&lt;a href=&quot;/title/Cross-platform&quot;&gt;Cross-platform&lt;/a&gt;-ish) &lt;a href=&quot;/title/Packet+Sniffer&quot;&gt;Packet Sniffer&lt;/a&gt; &lt;a href=&quot;/title/Writing+Guide&quot;&gt;Writing Guide&lt;/a&gt;&lt;/h2&gt;&lt;/p&gt;

&lt;p&gt;With the aid of the &lt;a href=&quot;/title/pcap&quot;&gt;pcap&lt;/a&gt; &lt;a href=&quot;/title/library&quot;&gt;library&lt;/a&gt; (available for &lt;a href=&quot;/title/Linux&quot;&gt;Linux&lt;/a&gt;, &lt;a href=&quot;/title/BSD&quot;&gt;BSD&lt;/a&gt;, &lt;a href=&quot;/title/Windows&quot;&gt;Windows&lt;/a&gt; and other &lt;a href=&quot;/title/platforms&quot;&gt;platforms&lt;/a&gt;) we can easily write our own packet sniffers. To aid you in this I will walk through the &lt;a href=&quot;/title/creation&quot;&gt;creation&lt;/a&gt; of a very simple sniffer that just looks for the start of &lt;a href=&quot;/title/HTTP&quot;&gt;HTTP&lt;/a&gt; streams and prints out the source, destination, packet size and packet flags.&lt;/p&gt;

&lt;p&gt;So without further ado let us get started! I've only tested this on my Linux box, but it should (&lt;a href=&quot;/title/in+theory&quot;&gt;in theory&lt;/a&gt;) &lt;a href=&quot;/title/compile&quot;&gt;compile&lt;/a&gt; under &lt;a href=&quot;/title/gcc&quot;&gt;gcc&lt;/a&gt; on windows and BSD, providing the &lt;a href=&quot;/title/libpcap&quot;&gt;libpcap&lt;/a&gt; library is installed.&lt;/p&gt;

&lt;p&gt;First we'll start with a few &lt;a href=&quot;/title/headers&quot;&gt;headers&lt;/a&gt;:&lt;/p&gt;

&lt;pre&gt;
&lt;a href=&quot;/title/%2523include&quot;&gt;#include&lt;/a&gt; &amp;lt;&lt;a href=&quot;/title/pcap.h&quot;&gt;pcap.h&lt;/a&gt;&amp;gt;
#include &amp;lt;&lt;a href=&quot;/title/stdio.h&quot;&gt;stdio.h&lt;/a&gt;&amp;gt;
#include &amp;lt;&lt;a href=&quot;/title/unistd.h&quot;&gt;unistd.h&lt;/a&gt;&amp;gt;
#include &amp;lt;&lt;a href=&quot;/title/arpa%252Finet.h&quot;&gt;arpa/inet.h&lt;/a&gt;&amp;gt;
#include &amp;lt;&lt;a href=&quot;/title/netinet%252Fin.h&quot;&gt;netinet/in.h&lt;/a&gt;&amp;gt;
#include &amp;lt;&lt;/pre&gt;&amp;hellip;</content>
</entry><entry><title>Red Onion Marmalade (thing)</title><link rel="alternate" type="text/html" href="http://everything2.com/user/elem_125/writeups/Red+Onion+Marmalade"/><id>http://everything2.com/user/elem_125/writeups/Red+Onion+Marmalade</id><author><name>elem_125</name><uri>http://everything2.com/user/elem_125</uri></author><published>2003-04-23T14:55:23Z</published><updated>2003-04-23T14:55:23Z</updated>
<content type="html">&lt;p&gt;Very very &lt;a href=&quot;/title/easy&quot;&gt;easy&lt;/a&gt;. It goes wonderfully with &lt;a href=&quot;/title/lamb&quot;&gt;lamb&lt;/a&gt; and &lt;a href=&quot;/title/beef&quot;&gt;beef&lt;/a&gt;. It also goes very well with a strongly flavoured &lt;a href=&quot;/title/cheese&quot;&gt;cheese&lt;/a&gt;, like a good &lt;a href=&quot;/title/cheddar&quot;&gt;cheddar&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;h3&gt;&lt;b&gt;&lt;a href=&quot;/title/Ingredients&quot;&gt;Ingredients&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;&lt;p&gt;

&lt;p&gt;This will make a small bowl's worth, depending on the size of the onions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Two &lt;a href=&quot;/title/Red+Onions&quot;&gt;Red Onions&lt;/a&gt; (there's a suprise...)&lt;/li&gt;
&lt;li&gt;Five teaspoons &lt;a href=&quot;/title/brown+sugar&quot;&gt;brown sugar&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/title/Walnut+Oil&quot;&gt;Walnut Oil&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Quarter cup of &lt;a href=&quot;/title/white+wine+vinegar&quot;&gt;white wine vinegar&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Handfull of &lt;a href=&quot;/title/raisins&quot;&gt;raisins&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;h3&gt;&lt;b&gt;&lt;a href=&quot;/title/Directions&quot;&gt;Directions&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;&lt;/p&gt;

&lt;p&gt;Peel and &lt;a href=&quot;/title/dice&quot;&gt;dice&lt;/a&gt; the onions. Heat the oil in a pan. Once the oil is hot add the onions to the pan.&lt;/p&gt;

&lt;p&gt;Add the sugar, the raisins and the vinegar to the pan.&lt;/p&gt;

&lt;p&gt;Once the liquid is &lt;a href=&quot;/title/bubbling&quot;&gt;bubbling&lt;/a&gt; lower the heat as low as you can and leave it for 20mins to &lt;a href=&quot;/title/reduce&quot;&gt;reduce&lt;/a&gt; the liquid and let the &lt;a href=&quot;/title/flavor&quot;&gt;flavor&lt;/a&gt; come of of the onions.&lt;/p&gt;

&lt;p&gt;Take off the heat and tranfer to a glass &lt;a href=&quot;/title/bowl&quot;&gt;bowl&lt;/a&gt;. Put in fridge. Use as required.&lt;/p&gt;

&lt;p&gt;Yummy!&lt;/p&gt;</content>
</entry><entry><title>Lentil and Salmon Stuffed Peppers (thing)</title><link rel="alternate" type="text/html" href="http://everything2.com/user/elem_125/writeups/Lentil+and+Salmon+Stuffed+Peppers"/><id>http://everything2.com/user/elem_125/writeups/Lentil+and+Salmon+Stuffed+Peppers</id><author><name>elem_125</name><uri>http://everything2.com/user/elem_125</uri></author><published>2003-04-23T14:31:27Z</published><updated>2003-04-23T14:31:27Z</updated>
<content type="html">&lt;p&gt;This is very good as part of a main course, along with &lt;a href=&quot;/title/easy+potato+cakes&quot;&gt;easy potato cakes&lt;/a&gt; and a &lt;a href=&quot;/title/spicy+tomato+sauce&quot;&gt;spicy tomato sauce&lt;/a&gt;. I'd recommend serving it thus:&lt;/p&gt;

&lt;p&gt;Stuffed Pepper with half a baby &lt;a href=&quot;/title/artichoke+heart&quot;&gt;artichoke heart&lt;/a&gt; on it. Potato cake with spicy tomato sauce poured over it, half an artichoke heart on top. Roasted strips of &lt;a href=&quot;/title/zuccini&quot;&gt;zuccini&lt;/a&gt;, half a sliced hard boiled &lt;a href=&quot;/title/egg&quot;&gt;egg&lt;/a&gt; and another half artichoke heart, all drizzled with 15yr old &lt;a href=&quot;/title/balsamic+vinegar&quot;&gt;balsamic vinegar&lt;/a&gt; and extra virgin &lt;a href=&quot;/title/olive+oil&quot;&gt;olive oil&lt;/a&gt;. &lt;a href=&quot;/title/Teaspoon&quot;&gt;Teaspoon&lt;/a&gt; of &lt;a href=&quot;/title/red+onion+marmalade&quot;&gt;red onion marmalade&lt;/a&gt; on the side.&lt;/p&gt;

&lt;p&gt;Mmmmmm good.&lt;/p&gt;

&lt;p&gt;&lt;h3&gt;&lt;b&gt;&lt;a href=&quot;/title/Ingredients&quot;&gt;Ingredients&lt;/a&gt;&lt;/b&gt;&lt;/h3&gt;&lt;/p&gt;

&lt;p&gt;&lt;ul&gt;
&lt;li&gt;6 &lt;a href=&quot;/title/Peppers&quot;&gt;Peppers&lt;/a&gt;, color doesn't matter except for asthetics&lt;/li&gt;
&lt;li&gt;1 Cup of green &lt;a href=&quot;/title/lentil&quot;&gt;lentil&lt;/a&gt;s&lt;/li&gt;
&lt;li&gt;1 Cup of black lentils&lt;/li&gt;
&lt;li&gt;1 &lt;a href=&quot;/title/Lemon&quot;&gt;Lemon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;200g or so of &lt;a href=&quot;/title/Smoked+Salmon&quot;&gt;Smoked Salmon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;100g of Semi-&lt;a href=&quot;/title/Sun+Dried+Tomatoes&quot;&gt;Sun Dried Tomatoes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/title/Vegetable+stock&quot;&gt;Vegetable stock&lt;/a&gt; cubes, or real vegetable stock is even better&lt;/li&gt;
&lt;li&gt;Handfull of dried &lt;a href=&quot;/title/Apricots&quot;&gt;Apricots&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Sprig of &lt;a href=&quot;/title/Rosemary&quot;&gt;Rosemary&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/title/Walnut+Oil&quot;&gt;Walnut Oil&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;(Optional) &lt;a href=&quot;/title/Parmesan&quot;&gt;Parmesan&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&amp;hellip;</content>
</entry><entry><title>Converting ASCII to Base-64 (idea)</title><link rel="alternate" type="text/html" href="http://everything2.com/user/elem_125/writeups/Converting+ASCII+to+Base-64"/><id>http://everything2.com/user/elem_125/writeups/Converting+ASCII+to+Base-64</id><author><name>elem_125</name><uri>http://everything2.com/user/elem_125</uri></author><published>2003-04-23T11:48:55Z</published><updated>2003-04-23T11:48:55Z</updated>
<content type="html">&lt;p&gt;&lt;a href=&quot;/title/Base-64&quot;&gt;Base-64&lt;/a&gt; is quite useful. It allows us to present &lt;a href=&quot;/title/binary&quot;&gt;binary&lt;/a&gt; data in human readable &lt;a href=&quot;/title/character&quot;&gt;character&lt;/a&gt;s. This allows it to be passed through those nice &lt;a href=&quot;/title/e-mail&quot;&gt;e-mail&lt;/a&gt; systems that we all use. Its also quite usefull in that it it means that you can print out binary data and type it in else where. Think &lt;a href=&quot;/title/crypto&quot;&gt;crypto&lt;/a&gt;, &lt;a href=&quot;/title/crypto-keys&quot;&gt;crypto-keys&lt;/a&gt;, &lt;a href=&quot;/title/export+law&quot;&gt;export law&lt;/a&gt; and &lt;a href=&quot;/title/OCR&quot;&gt;OCR&lt;/a&gt;...&lt;/p&gt;

&lt;p&gt;The details of how base-64 works are well explained in the &lt;a href=&quot;/title/Base-64&quot;&gt;Base-64&lt;/a&gt; node. All I am presenting here is an easy way to convert &lt;a href=&quot;/title/ASCII&quot;&gt;ASCII&lt;/a&gt; to Base-64 in &lt;a href=&quot;/title/C&quot;&gt;C&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The only complicated part of this &lt;a href=&quot;/title/function&quot;&gt;function&lt;/a&gt; is making sure you get the right &lt;a href=&quot;/title/bits&quot;&gt;bits&lt;/a&gt; from your &lt;a href=&quot;/title/byte&quot;&gt;byte&lt;/a&gt;s.&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
      byte 0           byte 1             byte 2
+---------------+ +---------------+ +---------------+
|7 6 5 4 3 2|1 0| |7 6 5 4|3 2 1 0| |7 6|5 4 3 2 1 0|
+-----------+-------------+-------------+-----------+
  &lt;a href=&quot;/title/quantum&quot;&gt;quantum&lt;/a&gt; 0     quantum 1     quantum 2   quantum 3
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;From the above diagram we can see that its quite easy to get our &lt;a href=&quot;/title/quanta&quot;&gt;quanta&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quantum 0&lt;/b&gt;&amp;hellip;</content>
</entry></feed>
