document.write('<link rel="stylesheet" href="http://gist.github.com/stylesheets/gist/embed.css"/>')





document.write('<div id=\"gist-143067\" class=\"gist\">\n  \n  \n    \n            \n\n      <div class=\"gist-file\">\n        <div class=\"gist-data gist-syntax\">\n          \n          \n          \n            <div class=\"gist-highlight\"><pre><div class=\"line\" id=\"LC1\"># $ tweet Hi mom!<\/div><div class=\"line\" id=\"LC2\">#<\/div><div class=\"line\" id=\"LC3\"># Put this in ~/.bashrc or wherever.<\/div><div class=\"line\" id=\"LC4\"># If it doesn\'t work, make sure your ~/.netrc is right<\/div><div class=\"line\" id=\"LC5\">#<\/div><div class=\"line\" id=\"LC6\"># (Thanks to @anildigital and @grundprinzip for curl-fu)<\/div><div class=\"line\" id=\"LC7\">&nbsp;<\/div><div class=\"line\" id=\"LC8\">function tweet {<\/div><div class=\"line\" id=\"LC9\">&nbsp;&nbsp;curl -n -d status=&quot;$*&quot; https://twitter.com/statuses/update.xml --insecure &amp;&gt; /dev/null<\/div><div class=\"line\" id=\"LC10\">&nbsp;&nbsp;echo &quot;tweet\'d&quot;<\/div><div class=\"line\" id=\"LC11\">} <\/div><\/pre><\/div>\n        \n        <\/div>\n\n        <div class=\"gist-meta\">\n          <a href=\"http://gist.github.com/raw/143067/3cd102659c099b0edcb7e8929ea7c5a3fd926e27/.bashrc\" style=\"float:right;\">view raw<\/a>\n          <a href=\"http://gist.github.com/143067#file_.bashrc\" style=\"float:right;margin-right:10px;color:#666\">.bashrc<\/a>\n          <a href=\"http://gist.github.com/143067\">This Gist<\/a> brought to you by <a href=\"http://github.com\">GitHub<\/a>.\n        <\/div>\n      <\/div>\n    \n            \n\n      <div class=\"gist-file\">\n        <div class=\"gist-data gist-syntax\">\n          \n          \n          \n            <div class=\"gist-highlight\"><pre><div class=\"line\" id=\"LC1\"># put this in ~/.netrc<\/div><div class=\"line\" id=\"LC2\">machine twitter.com<\/div><div class=\"line\" id=\"LC3\">login USERNAME<\/div><div class=\"line\" id=\"LC4\">password PASSWORD<\/div><\/pre><\/div>\n        \n        <\/div>\n\n        <div class=\"gist-meta\">\n          <a href=\"http://gist.github.com/raw/143067/2cf5d4303c77716656094f916616ac784f66c70c/.netrc\" style=\"float:right;\">view raw<\/a>\n          <a href=\"http://gist.github.com/143067#file_.netrc\" style=\"float:right;margin-right:10px;color:#666\">.netrc<\/a>\n          <a href=\"http://gist.github.com/143067\">This Gist<\/a> brought to you by <a href=\"http://github.com\">GitHub<\/a>.\n        <\/div>\n      <\/div>\n    \n  \n<\/div>\n')
