{"id":10556,"date":"2012-01-07T16:43:05","date_gmt":"2012-01-07T16:43:05","guid":{"rendered":"http:\/\/scienceblogs.com\/gregladen\/2012\/01\/07\/software-needs-and-nerds\/"},"modified":"2012-01-07T16:43:05","modified_gmt":"2012-01-07T16:43:05","slug":"software-needs-and-nerds","status":"publish","type":"post","link":"https:\/\/gregladen.com\/blog\/2012\/01\/07\/software-needs-and-nerds\/","title":{"rendered":"Software Needs and Nerds"},"content":{"rendered":"<p>I have two items for you.  First, I&#8217;d like you to inspect <a href=\"http:\/\/www.secretgeek.net\/folderGame.asp\">this brilliant computer game <\/a>and come up with a bash equivilant (or something that will run from the Linux Command Line).  The current version of the program is 32 megabytes of some kind of DOS based source code.  I&#8217;m sure we can do this in perl or awk as a couple of one liners kobbed together.<\/p>\n<p>Second assignment.  This could get you the prize in the now-getting-stale <a href=\"http:\/\/scienceblogs.com\/gregladen\/2011\/10\/land_of_lisp_book_giveaway.php\">Land of Lisp Book Giveaway.  <\/a>  Here&#8217;s what I want. I keep snippets of code and stuff in text files. For instance, I have a standardized org-mode header that sets a lot of common options I like fr making html files (I use it for <a href=\"http:\/\/scienceblogs.com\/gregladen\/japan_disaster\/\">these<\/a> to process Ana&#8217;s Feed) and another for pdf files.  Here&#8217;s what I want, and there is more than one way to do it:<\/p>\n<p>I need a utility that quickly and easily with no fuss and no muss sucks the contents (text) out of a text file (well, a copy of it) and puts it on my clipboard.  I might like this to be the X clipboard so I can use it anywhere, but I&#8217;d be happy with it going onto the kill ring.  But, it has to be something implemented from a gnome interface, or nautilus.  For instance, as a nautilus macro that calls some code that affects the currently running instance of emacs, so I can find the file with the snippet in nautilus, right click on it and chose &#8220;suck the text out&#8221; and then, magically, the text is now on my clipboard.<\/p>\n<p>Thank you very much.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have two items for you. First, I&#8217;d like you to inspect this brilliant computer game and come up with a bash equivilant (or something that will run from the Linux Command Line). The current version of the program is 32 megabytes of some kind of DOS based source code. I&#8217;m sure we can do &hellip; <a href=\"https:\/\/gregladen.com\/blog\/2012\/01\/07\/software-needs-and-nerds\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Software Needs and Nerds<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"1","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5020],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p5fhV1-2Kg","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts\/10556"}],"collection":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/comments?post=10556"}],"version-history":[{"count":0,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts\/10556\/revisions"}],"wp:attachment":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/media?parent=10556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/categories?post=10556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/tags?post=10556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}