<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Lamoree Software Blog - Category: Shell Programming</title>
<link>http://www.lamoree.com/machblog/</link>
<description>Lamoree Software Blog</description>
<language>en-us</language>
<pubDate>Mon, 17 Jun 2013 23:30:33 -0700</pubDate>
<lastBuildDate>Mon, 31 Jan 2011 22:22:00 -0700</lastBuildDate>
<generator>MachBlog</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<managingEditor>admin@lamoree.com</managingEditor>
<webMaster>admin@lamoree.com</webMaster>
<item>
<title>A Large Prime, Please</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=47B6D348%2D7DC2%2D44AA%2D97315F0E8F38EFE9</link>
<description>
I wanted a largish prime number with which I could test a hash table that uses the modulo of the prime to select a bucket. Anyway, there&apos;s a handy command line option in OpenSSL to determine which inputs are prime. So, say I wanted a prime of somet...
</description>
<category>Shell Programming</category>
<pubDate>Mon, 31 Jan 2011 22:22:00 -0700</pubDate>
<guid>entryId=47B6D348-7DC2-44AA-97315F0E8F38EFE9?event=blog&amp;showEntry=</guid>
</item>
<item>
<title>External IP in Shell Script</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=364B9C14%2DD2F8%2D4491%2DA72AE6C5E966DE9C</link>
<description>
I saw a tip from @linuxalive about obtaining the apparent public IP address from the current machine. In a blog post last month, Racker Hacker wrote about his frustration viewing the HTML returned by the service DynDNS offers at checkip.dyndns.or...
</description>
<category>Networking</category>
<category>Shell Programming</category>
<pubDate>Sun, 16 Aug 2009 15:28:00 -0700</pubDate>
<guid>entryId=364B9C14-D2F8-4491-A72AE6C5E966DE9C?event=blog&amp;showEntry=</guid>
</item>
<item>
<title>Firewall Blacklist Tool</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=8B89D529%2DF343%2D45FD%2DB50EE8E2AF6EDEE7</link>
<description>
A few months ago I read an article on nixCraft about blocking IPs by country. It&apos;s a bit harsh block an entire country, but some machines just don&apos;t need to be accessible to the entire world. I&apos;ve also had the need to quickly drop packets from an...
</description>
<category>Linux</category>
<category>Shell Programming</category>
<pubDate>Sat, 25 Apr 2009 04:33:00 -0700</pubDate>
<guid>entryId=8B89D529-F343-45FD-B50EE8E2AF6EDEE7?event=blog&amp;showEntry=</guid>
</item>
<item>
<title>Tomcat Monitoring and Startup Via Cron</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=1A0B27FF%2D8696%2D433B%2DA0CE2DB2F7C147CB</link>
<description>
Over the last week, my virtual private server needed to be restarted a couple times. Once, I was there to see the restart, and manually run the script to bring Tomcat up. However, another time I wasn&apos;t. Since I run Tomcat from a plain user account...
</description>
<category>Java</category>
<category>Linux</category>
<category>Shell Programming</category>
<category>Tomcat</category>
<pubDate>Sat, 25 Oct 2008 01:24:00 -0700</pubDate>
<guid>entryId=1A0B27FF-8696-433B-A0CE2DB2F7C147CB?event=blog&amp;showEntry=</guid>
</item>
<item>
<title>Resetting PostgreSQL Sequences After Import</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=94A2F93B%2DC93B%2D4087%2DB39295B486AFCEBA</link>
<description>
In the last blog post about migrating from MSSQL to PostgreSQL, I left one detail for later -- resetting all the sequences after importing data. I created two PL/pgSQL functions to do the work of selecting the maximum value in the primary key and ...
</description>
<category>PostgreSQL</category>
<category>Shell Programming</category>
<pubDate>Fri, 24 Oct 2008 14:49:00 -0700</pubDate>
<guid>entryId=94A2F93B-C93B-4087-B39295B486AFCEBA?event=blog&amp;showEntry=</guid>
</item>
<item>
<title>MSSQL 2000 to PostgreSQL 8 Migration Project</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=E2CF99E7%2DE404%2D43A0%2D9B62503BD43DBA8D</link>
<description>
The following are notes on a migration from Microsoft SQL Server 2000 to PostgreSQL 8. The old database has 60 tables, some with a few million rows, and about 7 Gb of data in total. There were several issues to deal with:
The order of the...
</description>
<category>PostgreSQL</category>
<category>Shell Programming</category>
<pubDate>Tue, 07 Oct 2008 01:41:00 -0700</pubDate>
<guid>entryId=E2CF99E7-E404-43A0-9B62503BD43DBA8D?event=blog&amp;showEntry=</guid>
</item>
<item>
<title>List of LDAP User Accounts</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=C5D171E7%2D8242%2D492F%2D94AAAAD5A96EB3E0</link>
<description>
While working on servers that reference user account information from a OpenLDAP server, I encountered the need to query for the list of user accounts. This is quick and easy with a GUI LDAP tool like Apache Directory Studio. However, I needed the ...
</description>
<category>OpenLDAP</category>
<category>Shell Programming</category>
<pubDate>Fri, 25 Jan 2008 12:40:00 -0700</pubDate>
<guid>entryId=C5D171E7-8242-492F-94AAAAD5A96EB3E0?event=blog&amp;showEntry=</guid>
</item>
<item>
<title>Postfix Queue Cleaner</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=50E0CC3B%2DF998%2D4B21%2D8500E1A931BE9F0E</link>
<description>
In my never-ending fight against spam and backscatter, I updated my Postfix mail queue cleaning script. It now allows performs two actions: list or delete. It also accepts multiple patterns to match against e-mail addresses. There are still a coupl...
</description>
<category>Postfix</category>
<category>Shell Programming</category>
<pubDate>Sat, 27 Oct 2007 12:44:00 -0700</pubDate>
<guid>entryId=50E0CC3B-F998-4B21-8500E1A931BE9F0E?event=blog&amp;showEntry=</guid>
</item>
<item>
<title>Bash Here Documents</title>
<link>http://www.lamoree.com/machblog/index.cfm?event=showEntry&amp;entryId=D4EF8115%2DC2A2%2D4FCA%2DA22F3D52D7A6D44B</link>
<description>
I&apos;ve been working on a kickstart script that nearly completely configures a cluster node. I encountered a bit of trouble with my sed scripting that modifies /etc/mail/sendmail.mc such that the node&apos;s e-mails are properly masqueraded for delivery to...
</description>
<category>Shell Programming</category>
<pubDate>Sat, 21 Apr 2007 12:59:00 -0700</pubDate>
<guid>entryId=D4EF8115-C2A2-4FCA-A22F3D52D7A6D44B?event=blog&amp;showEntry=</guid>
</item>
</channel>
</rss>
		
		
		
