Ok, so you're interested in testing my Shoes for Ubuntu .deb
. Good luck.
So, here's the deal:
YOU CAN BREAK YOUR SYSTEM
Requirements:
- Ubuntu 11.10
1 https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks | |
2 https://wiki.ubuntu.com/XenOnBreezyKernelConfig |
f = File.new("test.txt", "r") | |
catch(:end_of_file) do | |
loop do | |
throw :end_of_file if f.eof? | |
puts f.get | |
end | |
end | |
f.close |
if RUBY_PLATFORM =~ /win32/ | |
puts "We're in Windows!" | |
elsif RUBY_PLATFORM =~ /linux/ | |
puts "We're in Linux!" | |
elsif RUBY_PLATFORM =~ /darwin/ | |
puts "We're in Mac OS X!" | |
elsif RUBY_PLATFORM =~ /freebsd/ | |
puts "We're in FreeBSD!" | |
elsif RUBY_PLATFORM =~ /java/ | |
puts "WHOOT JRUBY!!" |
tmp_dir = '/tmp' | |
if ENV['OS'] =~ /Windows_NT/ | |
puts "This program is running under Windows NT/2000/XP!" | |
tmp_dir = ENV['TMP'] | |
elsif ENV['PATH'] =~ /\/usr/ | |
puts "This program has access to a UNIX-Style filesystem!" | |
else | |
puts "Gosh dangit, didn't the Governement tell you not to run strange programs on this X-43 Mark 2?!" | |
exit | |
end |
sudo apt-add-repository ppa:conscioususer/polly-daily && sudo apt-get update && sudo apt-get install polly |
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux] | |
#<OpenStruct badges=[#<StackExchange::AskUbuntu::Badge:0x9f9d608 @struct=#<OpenStruct badge_id=73, rank="bronze", name="10.04", description="Earned 100 upvotes for at least 20 answers in the 10.04 tag", award_count=3, tag_based=true, badges_recipients_url="/badges/73">>, #<StackExchange::AskUbuntu::Badge:0x9f9ce24 @struct=#<OpenStruct badge_id=65, rank="bronze", name="10.10", description="Earned 100 upvotes for at least 20 answers in the 10.10 tag", award_count=6, tag_based=true, badges_recipients_url="/badges/65">>, #<StackExchange::AskUbuntu::Badge:0x9f9c6b8 @struct=#<OpenStruct badge_id=72, rank="bronze", name="11.04", description="Earned 100 upvotes for at least 20 answers in the 11.04 tag", award_count=8, tag_based=true, badges_recipients_url="/badges/72">>, #<StackExchange::AskUbuntu::Badge:0x9f9bf4c @struct=#<OpenStruct badge_id=81, rank="silver", name="11.04", description="Earned 400 upvotes for at least 80 answers in the 11.04 tag", award_count= |
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> .bash_profile | |
echo 'eval "$(rbenv init -)"' >> .bash_profile | |
mkdir ~/rbenv-tmp | |
cd ~/rbenv-tmp | |
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz | |
tar -zxvf ruby-1.9.2-p290.tar.gz | |
cd ruby-1.9.2-p290 | |
./configure --prefix=$HOME/.rbenv/versions/1.9.2-p290 | |
make |
# Yay, you need to customize all this. | |
# Register your new application here | |
# https://dev.twitter.com | |
Twitter.configure do |config| | |
config.consumer_key = "YOUR_CONSUMER_KEY" | |
config.consumer_secret = "YOUR_CONSUMER_SECRET" | |
config.oauth_token = "YOUR_OAUTH_TOKEN" | |
config.oauth_token_secret = "YOUR_OAUTH_TOKEN_SECRET" | |
end |
Ok, so you're interested in testing my Shoes for Ubuntu .deb
. Good luck.
So, here's the deal:
YOU CAN BREAK YOUR SYSTEM
Requirements:
<!-- begin stacktack --> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript" src="http://app.stacktack.com/jquery.stacktack.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$(document).stacktack( {width: '900px', onlyShowAcceptedAnswer: true, site: askubuntu.com, } ); | |
}); | |
</script> |