<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Script on bartman&#39;s blog</title>
    <link>http://www.jukie.net/~bart/tags/script/</link>
    <description>Recent content in Script on bartman&#39;s blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 12 Dec 2018 14:51:29 -0500</lastBuildDate>
    <atom:link href="http://www.jukie.net/~bart/tags/script/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>improving find -exec efficiency</title>
      <link>http://www.jukie.net/~bart/blog/improving-find--exec-efficiency/</link>
      <pubDate>Wed, 12 Dec 2018 14:51:29 -0500</pubDate>
      <guid>http://www.jukie.net/~bart/blog/improving-find--exec-efficiency/</guid>
      <description>&lt;p&gt;So today I learned about &lt;code&gt;find -exec ... +&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>how to manually create a 6in4 tunnel</title>
      <link>http://www.jukie.net/~bart/blog/6in4-tunnel-script/</link>
      <pubDate>Tue, 17 May 2011 20:46:17 -0400</pubDate>
      <guid>http://www.jukie.net/~bart/blog/6in4-tunnel-script/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m doing some IPv6 codig for a client and needed to setup a bunch of &lt;a href=&#34;http://en.wikipedia.org/wiki/6in4&#34;&gt;6in4&lt;/a&gt; tunnels.&lt;/p&gt;&#xA;&lt;p&gt;Thre are many ways to do this through distribution init scripts (&lt;a href=&#34;http://wiki.debian.org/DebianIPv6&#34;&gt;Debian&lt;/a&gt;, &lt;a href=&#34;http://dice.neko-san.net/2011/03/fedora-sysconfig-for-6in4-tunnel-router/&#34;&gt;Fedora&lt;/a&gt;), but I wanted something less permanent and more dynamic for testing.&lt;/p&gt;&#xA;&lt;p&gt;The procedure can be summarized in these steps:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;create a tunnel &lt;code&gt;mytun&lt;/code&gt; between local &lt;code&gt;1.1.1.1&lt;/code&gt; and remote &lt;code&gt;2.2.2.2&lt;/code&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;  ip tunnel add mytun mode sit local 1.1.1.1 \&#xA;                  remote 2.2.2.2 ttl 64 dev eth0&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;give the local end an address&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;  ip addr add dev mytun f8c0::1.1.1.1/64&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;bring up the tunnel&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;  ip link set dev mytun up&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>shrinking URLs</title>
      <link>http://www.jukie.net/~bart/blog/shorturl/</link>
      <pubDate>Fri, 20 Mar 2009 21:42:28 -0400</pubDate>
      <guid>http://www.jukie.net/~bart/blog/shorturl/</guid>
      <description>&lt;p&gt;I wrote a &lt;a href=&#34;http://www.jukie.net/~bart/scripts//shorturl/shorturl&#34;&gt;short script&lt;/a&gt; to shrink URLs:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;    % shorturl http://www.jukie.net/~bart/shorturl&#xA;    http://2tu.us/ce8&#xA;&#xA;    % shorturl&#xA;    Type in some urls and I&#39;ll try to shrink them for you...&#xA;    http://www.jukie.net/~bart/shorturl&#xA;    http://2tu.us/ce8&#xA;    http://www.jukie.net/~bart/20090320214228&#xA;    http://2tu.us/ce9&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;I am doing this as part of my new &lt;a href=&#34;http://identi.ca/barttrojanowski&#34;&gt;identi.ca&lt;/a&gt; addiction&lt;code&gt;^W&lt;/code&gt;&#xA;usage and extending GregKH&amp;rsquo;s &lt;a href=&#34;http://github.com/bartman/bti/commits/master&#34;&gt;command line micro blogging tool&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;UPDATE:&lt;/em&gt; also picked up by &lt;a href=&#34;http://identi.ca/notice/21908233&#34;&gt;@vando for use with mcabber&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
