Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

using

Determine How Predictable Your Friends Are With Pinterest Bingo [Pinterest]
Monday, 12 March 2012 05:28
Pinterest is the hottest new social networking site that everyone loves to hate. Now, instead of pouring untold scorn on your friends for using it, you can play Pinterest Bingo to make the mockery more entertaining. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/Qp20woN5ii0/determine-how-predictable-your-friends-are-with-pinterest-bingo

 
Brilliant Spherical Solar Cells Don't Need To Be Pointed Directly At the Sun [Solar]
Saturday, 03 March 2012 20:00
Current solar cell designs need to be aimed directly at the sun to be most efficient. But a Japanese company has come up with a clever new approach using spherical micro cells that can harness the sun's rays from any direction. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/K-bP-Q95INo/brilliant-spherical-solar-cells-dont-need-to-be-pointed-directly-at-the-sun

 
How Did a Laser Cool This Semiconductor To Almost Absolute Zero? [Science]
Wednesday, 29 February 2012 11:01
It's completely counterintuitive, but scientists at the Niels Bohr Institute have succeeded in cooling a semiconductor membrane to −452.2°F, almost seven degrees above absolute zero, using a powerful laser we usually think of as only being able to burn. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/rNBNOgIq13M/how-did-a-laser-cool-this-semiconductor-to-almost-absolute-zero

 
Redis init script for rails
Sunday, 26 February 2012 16:19
You can use the following for a "it just works" approach to using REDIS in rails

First - install redis

brew install redis


Second - create the following. Note port can be anything you want but they should be unique. Redis by default runs on 6381 but, using that it risky, if some other app is using that you could get confusing results when keys overlap.

config/redis/development.conf

daemonize yes
port 6390
logfile ./log/redis_development.log
dbfilename ./db/development.rdb


and config/redis/test.conf


daemonize yes
port 6391
logfile ./log/redis_test.log
dbfilename ./db/test.rdb


Third - add this init script
config/init/redis_init.rb

require "redis"
rx = /port.(\d+)/
s = File.read("#{::Rails.root}/config/redis/#{::Rails.env}.conf")
port = rx.match(s)[1]
`redis-server #{::Rails.root}/config/redis/#{::Rails.env}.conf`
res = `ps aux | grep redis-server`
raise "Couldn't start redis" unless res.include?("redis-server") && res.include?("#{::Rails.root}/config/redis/#{::Rails.env}.conf")
REDIS = Redis.new(:port => port)


If you're deploying to Heroku and using redis-to-go use this script
config/init/redis_init.rb


require "redis"

if ::Rails.env == "production"
uri = URI.parse(ENV["REDISTOGO_URL"])
REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password)
else
rx = /port.(\d+)/
s = File.read("#{::Rails.root}/config/redis/#{::Rails.env}.conf")
port = rx.match(s)[1]
`redis-server #{::Rails.root}/config/redis/#{::Rails.env}.conf`
res = `ps aux | grep redis-server`
raise "Couldn't start redis" unless res.include?("redis-server") && res.include?("#{::Rails.root}/config/redis/#{::Rails.env}.conf")
REDIS = Redis.new(:port => port)
end


Then - in your app just use the REDIS constant to deal with redis.... example:

REDIS.keys

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/SSWk50FmEpc/14815

 
Tag Sound Files With Easytag (Linux Mint 12)
Friday, 24 February 2012 10:53

Tag Sound Files With Easytag (Linux Mint 12)

This tutorial is supposed to show you how to change your sound files' information like artist or title, also called tags, in a fast way using Easytag. I am using Linux Mint 12 as an operating system, however the steps should not differ greatly from other Ubuntu based distributions. Easytag is only capable of tagging MP3, MP2, FLAC, Ogg Vorbis, MP4/AAC, MusePack or Monkey's Audio files.

Read more: http://www.howtoforge.com/tag-sound-files-with-easytag-linux-mint-12

 
Start
Prev
1


Page 1 of 7
Taxonomy by Zaragoza Online