<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2054213964748643172</id><updated>2011-12-26T17:58:54.863-08:00</updated><title type='text'>Nativeraving</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nativeraving.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2054213964748643172/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nativeraving.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nativeraving</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2054213964748643172.post-43764217122040956</id><published>2011-12-17T20:31:00.000-08:00</published><updated>2011-12-17T20:41:34.518-08:00</updated><title type='text'>Using Linux to turn an LED indicator on via the serial port.</title><content type='html'>What I wanted to do was create a ready indicator where the LED would light up after it's finished booting. The only reason I needed this is because it's a headless system. (no monitor) I finally figured out how to turn one on via the serial port. &lt;br /&gt;&lt;br /&gt;I wired it up like this:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-RX3Qclr-FxA/Tu1u24WcaKI/AAAAAAAAAB8/2Hr51WzGw44/s1600/comled.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 314px; height: 104px;" src="http://3.bp.blogspot.com/-RX3Qclr-FxA/Tu1u24WcaKI/AAAAAAAAAB8/2Hr51WzGw44/s320/comled.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5687323793557317794" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Being as resourceful as possible I used a cd-rom audio cable since I only needed to work off two pins and I had one just laying around and the pin holes happened to be perfectly spaced.&lt;br /&gt;&lt;br /&gt;I just had the script start running after the service that I was concerned about starts.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;while :; do echo 'null' &gt; /dev/ttyS1; sleep 0; done &amp;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;This results in an infinite loop of 'null' to be sent to the serial, causing the light to stay on.&lt;br /&gt;&lt;br /&gt;Hope this info helps someone!&lt;br /&gt;~Cheers!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2054213964748643172-43764217122040956?l=nativeraving.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nativeraving.blogspot.com/feeds/43764217122040956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2054213964748643172&amp;postID=43764217122040956' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2054213964748643172/posts/default/43764217122040956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2054213964748643172/posts/default/43764217122040956'/><link rel='alternate' type='text/html' href='http://nativeraving.blogspot.com/2011/12/using-linux-to-turn-led-indicator-on.html' title='Using Linux to turn an LED indicator on via the serial port.'/><author><name>Nativeraving</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-RX3Qclr-FxA/Tu1u24WcaKI/AAAAAAAAAB8/2Hr51WzGw44/s72-c/comled.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2054213964748643172.post-1588573638858845284</id><published>2007-11-16T11:32:00.000-08:00</published><updated>2007-11-16T11:49:11.321-08:00</updated><title type='text'>Creating Animated GIF files with Ubuntu 7.10</title><content type='html'>﻿First you need a program called "Avidemux"&lt;br /&gt;&lt;a href="http://packages.ubuntu.com/cgi-bin/download.pl?arch=i386&amp;file=pool%2Fmultiverse%2Fa%2Favidemux%2Favidemux_2.3.0-0.0ubuntu3_i386.deb&amp;md5sum=42ff1b8c0a124da88c28d3cd7d466cf8&amp;arch=i386&amp;type=main"&gt;Click here to download the .deb file&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Once you have that installed you need to launch it and open the video that you want to chop.&lt;br /&gt;&lt;br /&gt;Select the part of the video that you want to use as an animation using the A/ and /B buttons.&lt;br /&gt;&lt;br /&gt;A/ = Beginning &lt;br /&gt;&lt;br /&gt;/B = End&lt;br /&gt;&lt;br /&gt;Now you need to save your selection as JPEG files.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In Avidemux go to&lt;br /&gt;&lt;br /&gt;File&gt;Save&gt;Save Selection as JPEG images...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Save the project to a new folder, then view the files in their folder and delete any unwanted frames.&lt;br /&gt;Next, fire up F-Spot photo manager, import the folder:&lt;br /&gt;File&gt;Import&lt;br /&gt;To resize the frames we will need to export them.&lt;br /&gt;&lt;br /&gt;In F-Spot you will need to click on browse and  then hit CTRL+A to choose the frames&lt;br /&gt;&lt;br /&gt; Then export them:&lt;br /&gt;File&gt;Export&gt;Export to folder...&lt;br /&gt;Then reduce the amount of pixels to resize the frames.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next you need to fire up the GIMP and open the first frame.&lt;br /&gt;&lt;br /&gt;Next we need to open all the frames as layers.&lt;br /&gt;To do this we need to go to our first frame and go to the menu:&lt;br /&gt;&lt;br /&gt;File&gt;Open as layers&lt;br /&gt;&lt;br /&gt;Browse to the folder with all the frames in it and hit CTRL+A&lt;br /&gt;&lt;br /&gt;Then hold CTRL and click on your first frame to deselect it and then open the files.&lt;br /&gt;&lt;br /&gt;Hit CTRL+L, that will bring up the layers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To preview your animated image simply go to the picture window then:&lt;br /&gt;&lt;br /&gt;Filters&gt;Animation&gt;Playback and hit play.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To help reduce the file size go to:&lt;br /&gt;&lt;br /&gt;Filters&gt;Animation&gt;Optimize (for GIF)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All you have to do now is save the image as a GIF and choose to save it as an animation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2054213964748643172-1588573638858845284?l=nativeraving.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nativeraving.blogspot.com/feeds/1588573638858845284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2054213964748643172&amp;postID=1588573638858845284' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2054213964748643172/posts/default/1588573638858845284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2054213964748643172/posts/default/1588573638858845284'/><link rel='alternate' type='text/html' href='http://nativeraving.blogspot.com/2007/11/creating-animated-gif-files-with-ubuntu.html' title='Creating Animated GIF files with Ubuntu 7.10'/><author><name>Nativeraving</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry></feed>
