document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode\">\n");
document.write("		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n");
document.write("		<tr>\n");
document.write("			<td>\n");
document.write("				\n");
document.write("				<pre class=\"textmate-source-numbers\">1\n");
document.write("2\n");
document.write("3\n");
document.write("4\n");
document.write("5\n");
document.write("6\n");
document.write("7\n");
document.write("8\n");
document.write("9\n");
document.write("10\n");
document.write("11\n");
document.write("12\n");
document.write("13\n");
document.write("14\n");
document.write("15\n");
document.write("16\n");
document.write("17\n");
document.write("18\n");
document.write("19\n");
document.write("20\n");
document.write("21\n");
document.write("22\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#!/bin/sh<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># Post to Twitter<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># -------------------------------------------------------------------------<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># 2010 per@strm.se <\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'># -------------------------------------------------------------------------<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#<\/span>\n");
document.write("\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#Enter your credentials<\/span>\n");
document.write("username=dintwitteranvändare\n");
document.write("password=ditttwitterlösen\n");
document.write("\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#Set time<\/span>\n");
document.write("<span class=\'support support_function support_function_shell\'>time<\/span>=<span class=\'string string_interpolated string_interpolated_backtick string_interpolated_backtick_shell\'>`date +%H:%M`<\/span>\n");
document.write("\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#Pause to wait for network<\/span>\n");
document.write("sleep 5\n");
document.write("\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#Get your public IP<\/span>\n");
document.write("IP=<span class=\'string string_interpolated string_interpolated_backtick string_interpolated_backtick_shell\'>`curl -s http://checkip.dyndns.org/ | grep -o \'[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*.[0-9]*\' 2&gt;&amp;1`<\/span>\n");
document.write("\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_shell\'>#Twitter API call<\/span>\n");
document.write("curl -u <span class=\'variable variable_other variable_other_normal variable_other_normal_shell\'>$username<\/span>:<span class=\'variable variable_other variable_other_normal variable_other_normal_shell\'>$password<\/span> -d <span class=\'string string_quoted string_quoted_double string_quoted_double_shell\'>&quot;status=<span class=\'variable variable_other variable_other_normal variable_other_normal_shell\'>$time<\/span> vaknade Mac Mini! (IP=<span class=\'variable variable_other variable_other_normal variable_other_normal_shell\'>$IP<\/span>)&quot;<\/span> http://twitter.com/statuses/update.xml\n");
document.write("<\/pre><\/pre>\n");
document.write("		<\/td>\n");
document.write("		<\/tr>\n");
document.write("		<\/table>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/766831.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/766831\">Pastie #766831<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");

