<?xml version="1.0" encoding="UTF-8"?>




<rss version="2.0"> <channel> <title>Evernote Openbook: Linux</title>
<link>http://www.evernote.com/pub/alpha_nexus/Linux</link>
<description>Notes from alpha_nexus&#039;s  Evernote Openbook: Linux</description> 

  
  <lastBuildDate>Fri, 20 Nov 2009 00:02:33 GMT</lastBuildDate>
 
  
  <item> <title>curl</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#b0362fb9-a469-48da-b528-751e91561ab6</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><div><a name="curl" shape="rect">Surf the Web, conquer the Internet, make world peace with cURL</a><br clear="none"/></div><div><a name="curl" shape="rect"></a><p><a name="curl" shape="rect">A </a><a href="http://www.ibm.com/developerworks/aix/library/au-speakingunix3.html?S_TACT=105AGX20&amp;S_CMP=EDU" shape="rect">prior Speaking UNIX column</a> recommended wget to download files directly from the command-line. Ideal for shell scripts, wgetis great for those times where you do not have ready access to a Web browser. For example, if you are trying to install new software on a remote server, wget can be a real life-saver.</p><p>If you like wget, then you'll love cURL. Like wget, cURL can download files, but it can also post data to a Web page form, upload a file via the File Transfer Protocol (FTP), act as a proxy, set Hypertext Transfer Protocol (HTTP) headers, and a whole lot more. In many ways, cURL is a command-line surrogate for the browser and other clients. Thus, it has many potential applications.</p><p>The cURL utility is readily built using the tried-and-true ./configure &amp;&amp; make &amp;&amp; sudo make install process. Download, extract, and proceed:</p>$ wget <a href="http://curl.haxx.se/download/curl-7.19.4.tar.gz" shape="rect">http://curl.haxx.se/download/curl-7.19.4.tar.gz</a>
$ tar xzf curl-7.19.4.tar.gz
$ cd curl-7.19.4
$ ./configure &amp;&amp; make &amp;&amp; sudo make install
<p>The cURL utility has so many options, it's best to read over its lengthy man page. Here are some common cURL uses:</p><ul><li>To download a file—say, the cURL tarball itself—use:$ curl -o curl.tgz <a href="http://curl.haxx.se/download/curl-7.19.4.tar.gz" shape="rect">http://curl.haxx.se/download/curl-7.19.4.tar.gz</a><p>Unlike wget, cURL emits what it downloads to stdout. Use the -o option to save the download to a named file.</p></li><li>To download a number of files, you can provide a sequence, a set, or both. A <i>sequence</i> is a range of numbers in brackets ([]); a <i>set</i> is a comma-delimited list in braces ({}). For example, the following command would download all files named<i>parta.html, partb.html,</i> and <i>partc.html</i> from the directories named <i>archive1996/vol1</i> through <i>archive1999/vol4,</i> inclusive, for a total of 48 files.$ curl <a href="http://any.org/archive%5B1996-1999%5D/vol%5B1-4%5D/part%7Ba,b,c%7D.html" shape="rect">http://any.org/archive[1996-1999]/vol[1-4]/part{a,b,c}.html</a>  -o &quot;archive#1_vol#2_part#3.html&quot;
</li></ul><br clear="none"/><p/></div><div><ul><li><p>When a sequence or set is specified, you can provide the -o option with a template, where #1 is replaced with the current value of the first sequence or set, #2 is a placeholder for the ...</p></li></ul></div></div>
    
    ]]></description> <pubDate>Fri, 20 Nov 2009 00:02:33 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#b0362fb9-a469-48da-b528-751e91561ab6</guid> 
  
  </item>

  
  <item> <title>Speaking UNIX: 10 great tools for any UNIX system</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#2a7fc3d3-ce89-4450-8b31-c2619250c400</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><div><div>Speaking UNIX: 10 great tools for any UNIX system<p/></div><div><div><a rel="#authortip1" href="http://www.ibm.com/developerworks/aix/library/au-spunix_greattools/index.html#author1" title="" shape="rect" target="_blank">Martin Streicher</a>, Web developer, Pixels, Bytes, and Commas</div><p/><p><a href="http://www.ibm.com/developerworks/aix/library/au-spunix_greattools/index.html#table1" shape="rect">Table 1</a> lists 11 of the significant packages previously discussed in the <a href="http://www.ibm.com/developerworks/views/aix/libraryview.jsp?search_by=speaking+UNIX+Part" shape="rect">Speaking UNIX</a> series.<br clear="none"/></p></div></div><div><div><br clear="none"/><a name="table1" shape="rect"><b>Table 1. Prominent UNIX tools</b></a><br clear="none"/>NamePurposeCygwin A UNIX-like shell and build environment for the Windows® operating system. fish A highly interactive shell with automatic expansion and colored syntax for command names, options, and file names. locateBuild and search a database of all files renameRename large collections of files en masse rsyncEfficiently synchronize files and directories, locally and remotely Screen Create and manage virtual, persistent consoles Squirrel A cross-platform scripting shell tacPrint input in reverse order, last line first (tac is the reverse of cat) typeReveal whether a command is an alias, an executable, a shell built in, or a script wgetDownload files using the command line zsh An advanced shell featuring automatic completion, advanced redirection operands, and advanced substitutions <div><br clear="none"/></div><div></div><div><a name="apropos" shape="rect">Find a command with apropos</a><br clear="none"/></div><p>UNIX has so many commands, it is easy to forget the name of a utility—especially if you do not use the tool frequently. If you find yourself scratching your head trying to recall a name, run apropos (or the equivalent man -k). For example, if you're hunting for a calculator, simply type apropos calculator:
</p>$ apropos calculator
bc (1)        - An arbitrary precision calculator language
dc (1)        - An arbitrary precision calculator

<br clear="none"/><p>Both bc and dc are command-line calculators.
</p><p>Each UNIX manual page has a short description, and apropos searches the corpus of descriptions for instances of the specified keyword. The keyword can be a literal, such as <i>calculator,</i> or a regular expression, such as calc*. If you use the latter form, be sure to wrap the expression in quotation marks (&quot;&quot;) to prevent the shell from interpreting special characters:
</p>$ apropos &quot;calcu*&quot;
allcm (1)     - force the most important Computer-Modern-fonts to be calculated
allec (1)     - force the most important Comp...</div></div></div>
    
    ]]></description> <pubDate>Thu, 19 Nov 2009 23:38:44 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#2a7fc3d3-ce89-4450-8b31-c2619250c400</guid> 
  
  </item>

  
  <item> <title>7zip</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#84b470bb-9ba0-41de-a829-667ccecb192a</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><div><a name="7zip" shape="rect">Compress and extract almost anything with 7zip</a><br clear="none"/></div><div><a name="7zip" shape="rect">Between Windows and UNIX alone, there are dozens of popular archive formats. Windows has long had .zip and .cab, for instance, while UNIX has had .tar, .cpio, and .gzip. UNIX and its variants also employ .rpm, .deb, and .dmg. All these formats are commonly found online, making for something of a Babel of bits.To save or extract data in any particular format, you could install a bevy of specialized utilities, or you can install 7zip, a kind of universal translator that can compress and extract virtually any archive. Further, 7zip also proffers its own format, featuring a higher compression ratio than any other scheme, gigantic capacity reaching into terabytes, and strong data encryption.</a><p><a name="7zip" shape="rect">To build 7zip, download the source for p7zip, a port of 7zip to UNIX, from its project page on SourceForge (see </a><a href="http://www.ibm.com/developerworks/aix/library/au-spunix_greattools/index.html#resources" shape="rect">Resources</a>). Unpack the tarball, change to the source directory, and run make. (Like multitail, the generic makefile should suffice; if not, choose from one of the specialized makefiles provided.)</p>$ wget <a href="http://voxel.dl.sourceforge.net/sourceforge/p7zip/%5C" shape="rect">http://voxel.dl.sourceforge.net/sourceforge/p7zip/\</a>   
  p7zip_4.65_src_all.tar.bz2
$ tar xjf p7zip_4.65_src_all.tar.bz2
$ cd p7zip_4.65
$ make
$ sudo make install

<br clear="none"/><p>The build produces and installs the utility 7za. Type 7za with no arguments to see a list of available commands and options. Each command is a letter—akin to tar—such as a to add a file to the archive and x to extract.</p><p>To try the utility, create an archive of the p7zip source itself in a variety of formats, and extract each archive with 7za:</p>$ zip -r p7.zip p7zip_4.65
$ 7za -ozip x p7.zip
$ tar cvf p7.tar p7zip_4.65
$ 7za -otar x p7.tar 
$ bzip2 p7.tar
$ 7za -so x p7.tar.bz2 | tar tf -

<br clear="none"/><div><br clear="none"/></div><div>In order from top to bottom, 7za extracted a .zip, .tar, and .bz2 archive. In the last command, 7za extracted the .bz2 archive and wrote the output to stdout, where tar decompressed and cataloged the files. Like tar, 7za can be the source or destination of a pipe (|), making it easy to combine with other utilities.</div><div><br clear="none"/></div><div><br clear="none"/></div><div><p><a name="zcat" shape="rect">View compressed files ...</a></p></div></div></div>
    
    ]]></description> <pubDate>Thu, 19 Nov 2009 23:36:59 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#84b470bb-9ba0-41de-a829-667ccecb192a</guid> 
  
  </item>

  
  <item> <title>Git cheatsheet</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#deeb6d69-0fbb-4263-83e4-9e2de14f1bf0</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">Merging conflicts:<div>-Fix conflict</div><div>-git add &lt;file&gt;</div><div>-git ci</div><div>-git push</div><div><br clear="none"/></div><div>Reverting local changes to clean slate, Incase you get &quot;Untracked working tree file /blah/blah.txt would be overwritten by merge&quot;:</div><div>git reset --hard HEAD</div><div>git clean -df<br clear="none"/></div><div><br clear="none"/></div><div>Change Remote Branch</div><div>git branch --track new_landing origin/new_landing<br clear="none"/></div><div><br clear="none"/></div><div>Track different branch locally</div><div>git co new_landing-checkout new branch<br clear="none"/></div><div><br clear="none"/></div><div>Creating Branch</div><div>git push origin origin:refs/heads/new_branch_name<br clear="none"/></div><div><br clear="none"/></div><div>List Branches</div><div>git branch -r<br clear="none"/></div><div><br clear="none"/></div><div>Delete Remote Branch</div><div>git push origin :branch_name<br clear="none"/></div><div><br clear="none"/></div><div>Logs by time</div><div>git log --since=2.days.ago<br clear="none"/></div><div><br clear="none"/></div><div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Thu, 19 Nov 2009 20:50:58 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#deeb6d69-0fbb-4263-83e4-9e2de14f1bf0</guid> 
  
  </item>

  
  <item> <title>ImageMagick install on Debian, CentOS</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#0dfe4a5e-b5f1-491b-9a60-af7cf8bd2405</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">Here my way for someone also trying on Debian etch:<div>0. yum install libpng-devel</div><div>1. wget <a target="_blank" rel="nofollow" shape="rect">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz</a></div><div>2. tar xvfz ImageMagick.tar.gz</div><div>3. cd ImageMagick-x.x.x</div><div>4. export LD_LIBRARY_PATH=/usr/local/bin</div><div>5. ./configure --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes</div><div>6. make</div><div>7. make install</div><div><br clear="none"/></div><div>gem install rmagick</div><div>sudo /sbin/ldconfig /usr/local/lib</div><div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Wed, 04 Nov 2009 05:08:13 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#0dfe4a5e-b5f1-491b-9a60-af7cf8bd2405</guid> 
  
  </item>

  
  <item> <title>PersonalCertificates - elc - Trac</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#198f2e04-5527-4ad9-b6df-55d61f9f8283</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">Background Information on <a shape="rect" href="https://wush.net/trac/elc/wiki/PersonalCertificates" target="_blank">PersonalCertificates</a><a shape="rect" href="https://wush.net/trac/elc/wiki/PersonalCertificates#BackgroundInformationonPersonalCertificates" title="Link to this section" target="_blank"> ¶</a>
<p>
Ok, so you want your email to be nice and secure... Get a personal certificate!  
</p>
<p>
This won't cover all the history or anything like that so if you're interested take a look at the wikipedia page: <a shape="rect" href="http://en.wikipedia.org/wiki/S/MIME" target="_blank">http://en.wikipedia.org/wiki/S/MIME</a>
</p>
First steps..<a shape="rect" href="https://wush.net/trac/elc/wiki/PersonalCertificates#Firststeps.." title="Link to this section" target="_blank"> ¶</a>
<p>
The first step is to get a certificate.  I will discuss how to get and use one from thawte.com, linked below.  This certificate will certify that an email's sender is in fact an email account's owner.  This may not sound like much but its a big step in the secure direction!  Any email you send that is signed will alert a recipient if the email has been tampered with since you pressed the send button.  This doesn't prevent people from reading your email but they at least cannot change the content.
</p>
<p>
If you exchange emails with other individuals who have a Certificate you can encrypt the email which will allow you to not only ensure the email  has not been tampered with but has not been viewed by anyone along the way unless they can break the encryption.
</p>
Would you like to know more?<a shape="rect" href="https://wush.net/trac/elc/wiki/PersonalCertificates#Wouldyouliketoknowmore" title="Link to this section" target="_blank"> ¶</a>
<p>
You can go a step further and guarantee that not only did the email accounts owner send this email, but also, the email accounts owner is .  This is pretty cool!  It adds a little personality to you email and assures your recipients that you as a person are really sending all those email's they are getting.  
</p>
<p>
To do this you have to prove to Thawte that you are in fact a person who owns this email account by getting 50 assurance points from their Thawte Notaries.  These notaries are all over the place and you can probably find them right around where you live.  Different notaries can give you a different amount of points so if you plan your cards right you should only have to present you information to two notaries in order to get this higher level of Personal Certificate.  More information on this is available after you create your account at thawte.com
</p>
Creating a Personal Certificate<a shape="rect" href="https://wush.net/trac/elc/wiki/PersonalCertificates#CreatingaPersonalCertificate" title="Link to this section" target="_blank"> ¶</a>
Step one:  Obtain a personal email certificate....</div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#198f2e04-5527-4ad9-b6df-55d61f9f8283</guid> 
  
  </item>

  
  <item> <title>Screen: create session with name</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#b40f8607-8d98-426c-a83f-b75d17cc4c61</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><div>Create:</div>screen -D -R title<div><br clear="none"/></div><div>Attach:</div><div>screen -x title</div><div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#b40f8607-8d98-426c-a83f-b75d17cc4c61</guid> 
  
  </item>

  
  <item> <title>installing godaddy chain certs on nginx</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#b59705e4-8a4f-4315-aded-a8bca37273c8</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><div>cat mail.domain.com.crt ca-bundle.crt &gt; super-bundle.crt</div><div><p><b>configuration:</b></p><div>ssl_certificate /etc/ssl/mail.domain.com.crt; ssl_certificate_key /etc/ssl/mail.domain.com.key; ssl_client_certificate /etc/ssl/ca-bundle.crt;</div><div><br clear="none"/></div><div><br clear="none"/></div></div><div></div><div>Thank you Igor for such a fast response -- should have asked in the first place, been playing around with the same problem for days now.
</div><p>Just a small correction: I had to do the concat the other way around: cat mail.domain.com.crt ca-bundle.crt &gt; super-bundle.crt
</p><p>Otherwise I will get a key mismatch error and nginx won't start. Seems to me that the first cert is used when comparing with the key.
</p><p>Anyway, thank you again for you fast response that was dead on target. :)
</p><p>-Riku Räisänen
</p><p>Igor Sysoev kirjoitti 17.8.2007 kello 11:03:
</p><div><p>On Fri, Aug 17, 2007 at 11:00:34AM +0300, Riku R?is?nen wrote:
</p><div><p>I've tried to install a SSL Chain Cert with no success.
</p><p>configuration:
</p><p>ssl_certificate /etc/ssl/mail.domain.com.crt; ssl_certificate_key /etc/ssl/mail.domain.com.key; ssl_client_certificate /etc/ssl/ca-bundle.crt;
</p><p>the ssl_client_certificate is the bundled chain cert that is needed for my SSL certificate to work. Is my configuration wrong? Does nginx have support for chain certs?
</p></div><p>cat ca-bundle.crt mail.domain.com.crt &gt; super-bundle.crt
</p><p>ssl_certificate /etc/ssl/super-bundle.crt; ssl_certificate_key /etc/ssl/mail.domain.com.key;
</p><p>ssl_client_certificate is used to check clients certificates, it as same as Apache's SSLCACertificateFile: <a href="http://www.modssl.org/docs/2.8/ssl_reference.html#ToC14" rel="nofollow" shape="rect">http://www.modssl.org/docs/2.8/ssl_reference.html#ToC14</a>
</p><div><div><br clear="none"/></div><div>-- Igor Sysoev <a href="http://sysoev.ru/en/" rel="nofollow" shape="rect">http://sysoev.ru/en/</a>
</div><div><br clear="none"/></div><div><br clear="none"/></div></div></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#b59705e4-8a4f-4315-aded-a8bca37273c8</guid> 
  
  </item>

  
  <item> <title>Remove files older than 5 days</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#dc1c075a-a2be-4606-b566-a3658e8892a0</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">find /path/to/files* -mtime +5 -exec rm {} \;<div><br clear="none"/></div><div>+5 = 5 days</div><div><br clear="none"/></div><div><br clear="none"/></div><div>FOR FILES ON current dir</div><div>find `pwd` -mtime +5 -exec rm {} \;<br clear="none"/></div><div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#dc1c075a-a2be-4606-b566-a3658e8892a0</guid> 
  
  </item>

  
  <item> <title>Add rpmforge to CentOS</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#11978315-4aa3-42ee-abbd-c772c6ec724c</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><div>Add repository to yum:<br clear="none"/><br clear="none"/>Howto Repo: <a href="http://wiki.centos.org/AdditionalResources/Repositories" shape="rect">http://wiki.centos.org/AdditionalResources/Repositories</a><br clear="none"/><br clear="none"/>—————<br clear="none"/><br clear="none"/>FROM RPMforge: <a href="http://wiki.centos.org/AdditionalResources/Repositories/RPMForge" shape="rect">http://wiki.centos.org/AdditionalResources/Repositories/RPMForge</a><br clear="none"/><br clear="none"/>1. CentOS 5<br clear="none"/><br clear="none"/>You should make sure that you have Priorities installed.<br clear="none"/><br clear="none"/>1.1. Priorities<br clear="none"/><br clear="none"/>    yum install yum-priorities<br clear="none"/><br clear="none"/>i386 <a href="http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm" shape="rect">http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</a><br clear="none"/><br clear="none"/>x86_64 <a href="http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm" shape="rect">http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm</a><br clear="none"/><br clear="none"/>(You can find a complete list of rpmforge-release package packages at <a href="http://dag.wieers.com/packages/rpmforge-release/" shape="rect">http://dag.wieers.com/packages/rpmforge-release/</a> but it is recommended that you use one of the two listed above).<br clear="none"/><br clear="none"/>x64:<br clear="none"/><br clear="none"/>    rpm -ivh <a href="http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm" shape="rect">http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm</a><br clear="none"/><br clear="none"/>Test with this command:<br clear="none"/><br clear="none"/>yum check-update<br clear="none"/><br clear="none"/>yum update<br clear="none"/><br clear="none"/></div><div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#11978315-4aa3-42ee-abbd-c772c6ec724c</guid> 
  
  </item>

  
  <item> <title>curl using cookies and POSTING</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#e82c25e4-874b-40b2-8801-9fa4c0e29d16</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">curl -d &quot;name=value&quot; -X POST -H &quot;Content-Length:24&quot; -b cookies_tosend.txt -c returned_cookie.txt<div><br clear="none"/></div><div><br clear="none"/></div><div>Cookies uses netscape's Cookie format</div><div><br clear="none"/>The layout of Netscape's cookies.txt file is such that each line contains one name-value pair. An example cookies.txt file may have an entry that looks like this:<br clear="none"/><br clear="none"/>.<a href="http://netscape.com" shape="rect">netscape.com</a>     TRUE   /  FALSE  946684799   NETSCAPE_ID  100103<br clear="none"/><br clear="none"/>Each line represents a single piece of stored information. A tab is inserted between each of the fields.<br clear="none"/><br clear="none"/>From left-to-right, here is what each field represents:<br clear="none"/><br clear="none"/>domain - The domain that created AND that can read the variable.<br clear="none"/>flag - A TRUE/FALSE value indicating if all machines within a given domain can access the variable. This value is set automatically by the browser, depending on the value you set for domain.<br clear="none"/>path - The path within the domain that the variable is valid for.<br clear="none"/>secure - A TRUE/FALSE value indicating if a secure connection with the domain is needed to access the variable.<br clear="none"/>expiration - The UNIX time that the variable will expire on. UNIX time is defined as the number of seconds since Jan 1, 1970 00:00:00 GMT.<br clear="none"/>name - The name of the variable.<br clear="none"/>value - The value of the variable. <br clear="none"/></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#e82c25e4-874b-40b2-8801-9fa4c0e29d16</guid> 
  
  </item>

  
  <item> <title>mail to yourself</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#e93b697d-af9b-483b-83a6-4399c0a929fc</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">echo message | mail email<br clear="none"/><div>cat file | mail email</div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#e93b697d-af9b-483b-83a6-4399c0a929fc</guid> 
  
  </item>

  
  <item> <title>secret nginx log</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#811243b7-a975-4960-a542-e752b630f386</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">Adds variables to debug log;<br clear="none"/>rewrite_log /var/log/nginx/rewrite.log;<div><br clear="none"/></div><div><br clear="none"/></div><div><br clear="none"/><div><br clear="none"/></div></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#811243b7-a975-4960-a542-e752b630f386</guid> 
  
  </item>

  
  <item> <title>Adobe Flash Media Server 3.5 * Deploying edge servers</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#1186f549-9e47-44c0-9a64-a02e6149e2b8</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/alpha_nexus/Linux#1186f549-9e47-44c0-9a64-a02e6149e2b8"><img align="right" src="http://www.evernote.com/shard/s1/thumb/1186f549-9e47-44c0-9a64-a02e6149e2b8"/></a>
        <div class="ennote">
        <a shape="rect" name="top"> </a>
        
        <div>
            <div><div>Adobe Flash Media Server 3.5| 
                    <a shape="rect" href="http://www.adobe.com/support/documentation/en/flashmediaserver/" rel="nofollow" target="_blank">Not your version?</a></div></div>
        </div>
        
        <div>
            <div><div><a shape="rect" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/flashmediaserver_3.5_config_admin.pdf" title="Download Help PDF" target="_blank">Download Help PDF
             (4.9MB)
             </a></div></div>
        </div>
        
        
        



<div>                     This Help system only</div> 
 
            





        <div>



            <div><p>Flash Media Server Resources</p><ul><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_TechOverview/">Technical Overview</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_InstallingFMS/">Installation Guide</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/">Configuration and Admistration Guide</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/">Developer Guide</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_CS_ASD/">ActionScript 2 Language Reference</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/index.html">ActionScript 3 Language Reference</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/">Server-Side ActionScript Language Reference</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_Server_Management_ASD/">Administration API Reference</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_Plugin/">Plug-In Developer Guide</a></p>
</li><li><p><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_plugin_apiref/html/index.html">Plug-in API Reference</a></p>
</li></ul></div>


            <div>
<p>Flash Media Server  3.5 Configuration and Administration Guide</p> 
            </div>
            <div><div><div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ffe.html">Deploying the server</a><div><div><div></div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ffc.html">Deploying servers in a cluster</a><div></div></div><div><div></div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ffd.html">Deploying edge servers</a><div></div></div></div></div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925e64-8000.html">Configuring the server</a><div></div></div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925f73-7ffc.html">Using the Administration Console</a><div></div></div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2926bcf-7ff1.html">Monitoring and Managing Log Files</a><div></div></div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f29261b7-7ff7.html">Administering the server</a><div></div></div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f292633e-7ffc.html">Using the Administration API</a><div></div></div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2926bcf-7ffd.html">XML configuration files reference</a><div></div></div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2926bcf-7fd1.html">Diagnostic Log Messages</a><div></div></div><div><div></div><a shape="rect" target="_self" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925a99-7fff.html">Legal notices</a><div></div></div></div></div></div>




            
            <div>
                
<ul><li><a shape="rect" title="Deploying servers in a cluster" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ffc.html" accesskey="p" target="_blank"></a></li><li><a shape="rect" title="Configuring the server" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925e64-8000.html" accesskey="n" target="_blank"></a></li></ul><div><a shape="rect" href="http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ffe.html" target="_blank"><b>Deploying the server</b></a> 
     </div>

            </div>

            <div>

                
                    Deploying edge servers
                


                <div>
                <a shape="rect" href="#ionComHere">Comments (0)</a></div>

                <br clear="none"/><div><div><div><div><div><div><div><div><div><div>Contents [<a shape="rect" href="#">Hide</a>]<ul><li><p><a shape="rect" href="#WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ffa"></a></p>Workflow for deploying edge servers
</li><li><p><a shape="rect" href="#WS5b3ccc516d4fbf351e63e3d119f2926bcf-7fff"></a></p>Configure edge servers
</li><li><p><a shape="rect" href="#WS5b3ccc516d4fbf351e63e3d119f2926bcf-7ffe"></a></p>Connect to an edge server
</li></ul></div></div><br clear="none"/></div></div></div></div></div></div></div></div><br clear="none"/><div><ul><li/></ul>
</div>
<div><a shape="rect" name="WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ffa"></a>Workflow for deploying edge servers<div><div>Note:  Flash Media Streaming Server cannot be
configured as an edge server.</div>
<p>By default,
the server runs as an origin server. To run the server as an edge
server, you must configure an XML file. Typically you would run
Flash Media Interactive Server as an origin server on one computer
and run Flash Media Interactive Server as an edge server on another
computer.</p>
<p>It is also possible to run one server in hybrid mode—that is,
to configure some virtual hosts to run as edge servers and other
virtual hosts to run as origin servers. This scenario is good for
development but not for production.</p>
<div><a shape="rect" name="WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ffa__WS5b3ccc516d4fbf351e63e3d119f2925d1a-7ff9"></a>1. Install Flash Media Interactive Server and verify...</div></div></div></div></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#1186f549-9e47-44c0-9a64-a02e6149e2b8</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/1186f549-9e47-44c0-9a64-a02e6149e2b8"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>Create a self-signed Certificate</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#0ff58711-3045-4cda-9f18-78963aa3d57d</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/alpha_nexus/Linux#0ff58711-3045-4cda-9f18-78963aa3d57d"><img align="right" src="http://www.evernote.com/shard/s1/thumb/0ff58711-3045-4cda-9f18-78963aa3d57d"/></a>
        <div style="background-color:#ffffff; color:#000000;" class="ennote">
    
            
        
          <a shape="rect" href="#"></a> 
        
          
            How to create a self-signed SSL Certificate ...
          
          <p>
            ...  which can be used for testing
            purposes or internal usage
          </p>
          
        
          <p>
            Overview
          </p>
          
            <p>
              The following is an extremely simplified view of how SSL is
              implemented and what part the certificate plays in the entire process.
            </p>
            <p>
              Normal web traffic is sent unencrypted over the Internet. That is,
              anyone with access to the right tools can snoop all of that traffic. Obviously, this
              can lead to problems, especially where security and privacy is necessary, such as in
              credit card data and bank transactions. The Secure Socket Layer is used to encrypt
              the data stream between the web server and the web client (the browser).
            </p>
            <p>
              SSL makes use of what is known as <b>asymmetric cryptography</b>,
              commonly referred to as <b>public key cryptography (PKI)</b>. With public key
              cryptography, two keys are created, one public, one private. Anything encrypted with
              either key can only be decrypted with its corresponding key. Thus if a message or
              data stream were encrypted with the server's private key, it can be decrypted only
              using its corresponding public key, ensuring that the data only could have come from
              the server.
            </p>
            <p>
              If SSL utilizes public key cryptography to encrypt the data stream
              traveling over the Internet, why is a certificate necessary? The technical answer to
              that question is that a certificate is not really necessary - the data is secure and cannot easily be decrypted by a third party. However,
              certificates do serve a crucial role in the communication process. The certificate,
              si...</p></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#0ff58711-3045-4cda-9f18-78963aa3d57d</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/0ff58711-3045-4cda-9f18-78963aa3d57d"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>httperf posting</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#af69514d-d176-47dd-990f-be5e9ed27d49</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">create file, httpfile, with:<div>/urlToPostTo method=POST contents='content data'</div><div><br clear="none"/></div><div>use command (Note the \n at the end of Content-Type):</div><div>httperf –server www.site.com –add-header=”Content-Type: text/xml\n” –wsesslog 1,2,httpfile<br clear="none"/></div><div><br clear="none"/></div><div><br clear="none"/></div><div>=========COOKIES=========</div><div>Here’s another example of including cookies in your header and JSON content in the POST:<br clear="none"/><br clear="none"/></div><div># simply load a single test.asmx test() function with session support and an object as the post arguments<br clear="none"/>/test.asmx/test method=POST headers='Content-Type: application/json; charset=utf-8\nCookie: ASP.NET_SessionId=o0naaq555jzbp245h0e3njv5;AUTH=8uRq%2bPj7g59S\n' contents='%7B%22arg1%22:%22test%22%7B'<br clear="none"/></div><div><br clear="none"/></div><div><br clear="none"/></div><div>Use Gregg Pollack's httperf</div><div><a href="http://github.com/Gregg/httperf_big_cookies/tree/master" shape="rect">http://github.com/Gregg/httperf_big_cookies/tree/master</a><br clear="none"/></div><div><br clear="none"/></div><div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#af69514d-d176-47dd-990f-be5e9ed27d49</guid> 
  
  </item>

  
  <item> <title>Generate SSH key</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#ada24692-aeb1-4245-bbb5-5d93d0291ea2</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><b>To create a private/public keypair:</b><b>ssh-keygen<br clear="none"/></b><b><br clear="none"/></b><b>To create public from private key:</b>ssh-keygen -y<div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#ada24692-aeb1-4245-bbb5-5d93d0291ea2</guid> 
  
  </item>

  
  <item> <title>print alternating lines of a file</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#a423d70f-3e47-4da0-ab38-77d295eca50f</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">sed -n '1,${p;n;}' file1 &gt; newfile
<br clear="none"/></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#a423d70f-3e47-4da0-ab38-77d295eca50f</guid> 
  
  </item>

  
  <item> <title>delete svn files</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#23a9bf67-af2b-419a-86a5-5b6fee58d7bb</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">find ./ -name &quot;.svn&quot; | xargs rm -Rf<div><br clear="none"/></div><div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#23a9bf67-af2b-419a-86a5-5b6fee58d7bb</guid> 
  
  </item>

  
  <item> <title>Find top 10 largest files</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#27775006-909b-492b-894f-ef5e4cac0f45</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">du -a / | sort -n -r | head -n 10<div>du -ks /var | sort -n -r | head -n 10<br clear="none"/></div><div><br clear="none"/></div><div><br clear="none"/></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#27775006-909b-492b-894f-ef5e4cac0f45</guid> 
  
  </item>

  
  <item> <title>How to Run Android Applications on Ubuntu - Step-by-step tutorial with screenshots</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#3e85edb3-ce3f-446c-a9c9-35b8935f6bfa</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/alpha_nexus/Linux#3e85edb3-ce3f-446c-a9c9-35b8935f6bfa"><img align="right" src="http://www.evernote.com/shard/s1/thumb/3e85edb3-ce3f-446c-a9c9-35b8935f6bfa"/></a>
        <div style="background-color:#ffffff;" class="ennote"><div align="center"><div></div><br clear="none"/><br clear="none"/>Ubuntu Tips and Tricks<br clear="none"/>How to Run Android Applications on UbuntuStep-by-step tutorial with screenshots<div><p>By <a shape="rect" href="http://news.softpedia.com/editors/browse/marius-nestor" target="_blank"><b>Marius Nestor</b>, Linux Editor</a></p><p>25th of June 2009, 18:04 GMT</p><p><br clear="none"/></p></div><br clear="none"/><a shape="rect" target="_blank" href="http://news.softpedia.com/newsImage/How-to-Run-Android-Applications-on-Ubuntu-2.jpg/"></a><br clear="none"/><a shape="rect" target="_blank" href="http://news.softpedia.com/newsImage/How-to-Run-Android-Applications-on-Ubuntu-2.jpg/"></a><div align="center"></div>When Google announced and released Android, back in October 2008, everyone knew that it would become the best operating system for <a shape="rect" href="#" target="_blank">mobile</a> devices. Not only is Android open source, but it also comes with a Software Development Kit, which offers the necessary APIs and utilities for developers to easily build powerful applications for Android-powered mobile devices. The following tutorial was created especially for those of you who want to test the Android platform and install various applications, on the popular Ubuntu operating system. OK, so let's get started... shall we?<br clear="none"/> <br clear="none"/> Grab the Android SDK 1.5 from <a shape="rect" target="_blank" href="http://linux.softpedia.com/get/Programming/Interpreters/Android-32340.shtml">Softpedia</a> and save the file on your home folder. It has around 160 MB, so it will take a while if you have a slow network connection.<br clear="none"/> <br clear="none"/> Step 1 - Installing the requirements<br clear="none"/> <br clear="none"/> Until the download is over, make sure that you have Java installed and the 32-bit libraries (for the x86_64 users only). If you don't have Java and/or the 32-bit libs, go to System -&gt; Administration -&gt; Synaptic Package Manager...<br clear="none"/> <br clear="none"/> <a shape="rect" title="Click to view large image" target="_blank" href="http://news.softpedia.com/images/extra/LINUX/large/androidubuntu-large_001.jpg"></a><br clear="none"/> ...search for openjdk and double-click on the openjdk-6-jre entry...<br clear="none"/> <br clear="none"/> <a shape="rect" title="Click to view large image" target="_blank" href="http://news.softpedia.com/images/extra/LINUX/large/androidubuntu-large_002.jpg"></a><br clear="none"/> ...then, search for ia32-libs (ONLY if you are on a x86_64 machine), and double-click on the ia32-libs entry...<br clear="none"/> <br clear="none"/> <a shape="rect" title="Click to view large image" target="_blank" href="http://news.softpedia.com/images/extra/LINUX/large/androidubuntu-large_003.jpg"></a><br clear="none"/> Now, click the &quot;Apply&quot; button to install the requirements. Wait for the packages to be installed and close Synaptic when the process is finished.<br clear="none"/> <br clear="none"/> Step 2 - Android Setup<br clear="none"/> <br clear="none"/> When the Android SDK download is over, right-click on the file and choose the &quot;Extract Here...&quot; option...<br clear="none"/> <br clear="none"/> <a shape="rect" title="Click to view large image" target="_blank" href="http://news.softpedia.com/images/extra/LINUX/large/androidubuntu-large_004.jpg"></a><br clear="none"/> Open a terminal (Applications -&gt; Accessories -&gt; Terminal) and type or paste the following commands, one by one (hit Enter after each one):<br clear="none"/> <br clear="none"/> cd ~/android-sdk-linux_x86-1.5_r2/tools<br clear="none"/> <br clear="none"/> ...let's create a 2GB SD Card (I think 2GB is more than enough, but if you need more just change the size)...<br clear="none"/> <br clear="none"/> ./mksdcard 2048M SDCard1<br clear="none"/> <br clear="none"/> ...wait a couple of minutes for the card-creation process to finish.<br clear="none"/> <br clear="none"/> And now, let's create ...</div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#3e85edb3-ce3f-446c-a9c9-35b8935f6bfa</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/3e85edb3-ce3f-446c-a9c9-35b8935f6bfa"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>Use sed to find and replace a bunch of files</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#4a8faf77-5735-4ee0-aa6f-1273a7ba4f3b</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">This replaces '\' with '---' in all files in current dir. All new files goes into saved directory.#!/usr/bin/sh
mkdir ${SAVED:=saved} || exit 1
for files in `find . -type f`
do sed -f sedfile $file &gt;qqfile
    [ -s qqfile ] || continue # sed error, NO output
     cp $file $SAVED/`echo $file|sed 's/\//---/g'`
     cp qqfile $file
done<br clear="none"/><br clear="none"/></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#4a8faf77-5735-4ee0-aa6f-1273a7ba4f3b</guid> 
  
  </item>

  
  <item> <title>Install postgres on Mac</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#4fcc5cd8-c834-4383-842b-cfbc37f01017</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><p>sudo port install postgresql83-server
</p><p>export PATH=/opt/local/lib/postgresql83/bin:$PATH
</p><p>sudo mkdir -p /opt/local/var/db/postgresql83/defaultdb
</p><p>sudo chown postgres:postgres /opt/local/var/db/postgresql83/defaultdb
</p><p>sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/local/var/db/postgresql83/defaultdb'
</p><p>sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist
</p><p>sudo su postgres -c &quot;createuser -s `whoami`&quot; </p><p><br clear="none"/></p></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#4fcc5cd8-c834-4383-842b-cfbc37f01017</guid> 
  
  </item>

  
  <item> <title>vim search and replace</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#742b82d8-73d2-4acc-9480-3abcfd289e8f</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote"><div>:[range]s/search/replace/[g][c]<br clear="none"/></div><div><br clear="none"/></div><div>ex. </div><div>Whole file to replace every 'search' with 'replace'</div>:%s/search/replace/g<div> </div><div><div>lines 8-10 in file to replace first instance of 'search' with 'replace'</div>:8,10 s/search/replace/<br clear="none"/></div><div><br clear="none"/></div><div>replace selected line and ask for confirmation</div><div>:s/search/replace/c</div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#742b82d8-73d2-4acc-9480-3abcfd289e8f</guid> 
  
  </item>

  
  <item> <title>Installers</title> <link>http://www.evernote.com/pub/alpha_nexus/Linux#76975b52-4900-4d28-a0db-1f80e90c9441</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">When <b>apt-get</b> fails, use <b>aptitude</b>.<div><br clear="none"/></div><div>Ex.</div><div>$&gt;:/etc/apache2# apt-get install screen</div><div>Reading package lists... Done</div><div>Building dependency tree... Done</div><div>You might want to run `apt-get -f install' to correct these:</div><div>The following packages have unmet dependencies:</div><div>  rsvndump: Depends: libc6 (&gt;= 2.7-1) but 2.3.6.ds1-13etch5 is to be installed</div><div>            Depends: libsvn1 (&gt;= 1.5.0) but 1.4.2dfsg1-2 is to be installed</div><div>E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).</div><div><br clear="none"/></div><div><br clear="none"/></div><div>$&gt;:/etc/apache2# sudo aptitude install screen<div>Reading package lists... Done</div><div>Building dependency tree... Done</div><div>Initializing package states... Done</div><div>Reading task descriptions... Done  </div><div>Building tag database... Done    </div><div>The following packages are BROKEN:</div><div>  rsvndump </div><div>The following packages have been kept back:</div><div>  apache2 apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils cpio curl debconf debconf-i18n debian-archive-keyring dhcp3-client dhcp3-common dpkg dpkg-dev dselect git-core git-svn imagemagick </div><div>  initscripts irb1.8 libapache2-mod-php5 libapr1 libaprutil1 libc6 libc6-dev libc6-xen libcurl3 libcurl3-gnutls libfreetype6 libfreetype6-dev libgnutls13 libkrb53 liblcms1 liblcms1-dev libmagick9 </div><div>  libmagick9-dev libmysqlclient15-dev libmysqlclient15off libopenssl-ruby1.8 libpam-modules libpam-runtime libpam0g libpcre3 libpng12-0 libpng12-dev libpq4 libreadline-ruby1.8 libruby1.8 libsasl2 libsasl2-2 </div><div>  libssl0.9.8 libsvn-perl libsvn1 libtiff4 libtiff4-dev libtiffxx0c2 libwmf-dev libwmf0.2-7 libxml2 libxml2-dev locales login mysql-client mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 </div><div>  openssh-client openssh-server openssl passwd perl perl-base perl-modules php5-cli php5-common php5-gd php5-mysql postfix rdoc1.8 ri1.8 rsync ruby1.8 ruby1.8-dev subversion sysv-rc sysvinit sysvinit-utils </div><div>  tzdata vim-common vim-tiny </div><div>The following NEW packages will be installed:</div><div>  screen </div><div>0 packages upgraded, 1 newly installed, 0 to remove and 92 not upgraded.</div><div>Need to get 587kB of archives. After unpacking 999kB will be used.</div><div>The following packages have unm...</div></div></div>
    
    ]]></description> <pubDate>Sun, 01 Nov 2009 20:44:49 GMT</pubDate> <guid>http://www.evernote.com/pub/alpha_nexus/Linux#76975b52-4900-4d28-a0db-1f80e90c9441</guid> 
  
  </item>
 </channel> </rss>