Monday, June 23, 2014





'via Blog this'

Digital Generation

Digital Generation:



'via Blog this'

Digital Generation

Digital Generation:



'via Blog this'

Make Money Online: Make money Easily Selling Computer's Idle Processing Time [Latest List - Updated 2014]

Make Money Online: Make money Easily Selling Computer's Idle Processing Time [Latest List - Updated 2014]: "EOBOT"



'via Blog this'

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]: "I use a pcie to dc plug works great.  

 just make sure the dc plug is 2.5mm pin not 2.1 mm  pin

2.5 fits 2.1 does not fit
"



'via Blog this'

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]: " try Bfgminer and the latest version 4.4.0 of cgminer and my units run faster on cgminer (35.24 Gh/s one unit and 34.69 Gh/s another one)."



'via Blog this'

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]: "Mine is:
 RKM 0: 37.0C | 26.72/26.53/26.30Gh/s | A: 5 R:0+0(none) HW:0/none
 RKM 1: 37.0C | 26.69/26.53/25.78Gh/s | A: 8 R:0+0(none) HW:0/none

at clock=290"



'via Blog this'

Initial Setup & Overview | PiMiner Raspberry Pi Bitcoin Miner | Adafruit Learning System

Initial Setup & Overview | PiMiner Raspberry Pi Bitcoin Miner | Adafruit Learning System:



'via Blog this'

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]: "Dogie not sure if I can give a link to his thread.

https://bitcointalk.org/index.php?topic=74397.0

 I will delete the link if you want me to.
"



'via Blog this'

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]: "I'd recommend the 12V mains adapters as in the OP, its scary how cheap they are. Can get to be quite a lot of cables if you want 20 R-Boxes, but for the average miners they're great."



'via Blog this'

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]: "You need 12V, min 3A."



'via Blog this'

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]

[Guide] Dogie's Comprehensive RockMiner R-Box Setup [HD]: "Ok, I finally got them to both work on a Win 8.1 PC using cgminer and zadig drivers.  I really wanted to use bfgminer so I spent most of my time removing silabs drivers, rebooting, adding silabs drivers, rebooting, power cycling everything.... Rinse-and-Repeat (many many times)...  With no luck, so I completely removed silabs and re-installed zadig, power cycle, and they both are working together now.  "



'via Blog this'

Wednesday, June 18, 2014

Installing Bitcoin Core on Ubuntu - Bitzuma

Installing Bitcoin Core on Ubuntu - Bitzuma:



'via Blog this'

Bitcoin Mining on Ubuntu | Programming, Linux, Java, Open Source

Bitcoin Mining on Ubuntu | Programming, Linux, Java, Open Source:



'via Blog this'

Asics (Miners)

Asics (Miners):



'via Blog this'

Ubuntu Manpage: cgminer - multi-threaded multi-pool GPU, FPGA and CPU bitcoin miner.

Ubuntu Manpage: cgminer - multi-threaded multi-pool GPU, FPGA and CPU bitcoin miner.:



'via Blog this'

Tech Rescue » Bitcoin Mining with Ubuntu

Tech Rescue » Bitcoin Mining with Ubuntu:



'via Blog this'

Bitcoin mining Nvidia Ubuntu / Perfect bitcoin transfer

Bitcoin mining Nvidia Ubuntu / Perfect bitcoin transfer:



'via Blog this'

Setup Bitcoin mining Ubuntu :: Perfect bitcoin transfer

Setup Bitcoin mining Ubuntu :: Perfect bitcoin transfer:



'via Blog this'

Ancient literature - Wikipedia, the free encyclopedia

Ancient literature - Wikipedia, the free encyclopedia:



'via Blog this'

10 Book Series So Addictive, You Never Want Them to End

10 Book Series So Addictive, You Never Want Them to End:



'via Blog this'

Monday, June 9, 2014

Video - Dive Into HTML5

Video - Dive Into HTML5: "One important option that is off by default is the “Web optimized” option. Selecting this option reorders some of the metadata within the encoded video so you can watch the start of the video while the rest is downloading in the background. I highly recommend always checking this option. It does not affect the quality or file size of the encoded video, so there’s really no reason not to."



'via Blog this'

OutputSettings – HandBrake

OutputSettings – HandBrake: "When using the MP4 container, the following output settings are available:

Large File Size
This enables 64bit support in the MP4 container."



'via Blog this'

How To: Convert Media for ReadyNAS ( No Transcoding ) - ReadyNAS - Plex Forums

How To: Convert Media for ReadyNAS ( No Transcoding ) - ReadyNAS - Plex Forums:



'via Blog this'

Tuesday, June 3, 2014

WATCH OUT FOR THE EMAIL SCAM

PROPOSAL

This proposal is a confidential one and I request that it be treated as such. It is specifically directed to you and I must solicit

your confidentiality on it. I assure you that I am contacting you in good faith and this proposal will be of mutual benefit to us.

I am Mark Barron a solicitor at law. I am the personal attorney/executor to a deceased client of my chambers who shares a

similar surname with you, who was an independent oil magnate in my country, but died in an auto crash with his family on the

10th of May 2007. The accident occurred in East London.



My late client, a former Drilling Engineer with Premier Oil Plc. here in the United Kingdom and had Left behind a deposit of

Eleven Million Six Hundred Thousand British Pounds Sterling only (£11.6million) with a bank. After the death of my client,

the Bank contacted me, as his attorney to provide his Next of kin who should inherit his fortune; this according to them is

their policy in sure circumstances.



Since the death of my client, I have written several letters to the embassy with the intent to locate any of his extended relatives

whom shall be claimants/beneficiaries of his abandoned personal estate and all such efforts have been to no avail. I had to

inform the Bank about my fruitless effort in locating my late client close relative or his next of kin.



The Board of directors of the Bank just adopted a resolution and I was mandated to provide his next of kin for the payment of

this money within the next 15 official working days or forfeit the money as an abandoned funds. The Bank had planned to

invoke the abandoned property Act of the Bank to confiscate the funds after the expiration of the period given me. Also I have

received official letters in the last two days suggesting a likely proceeding for confiscation of his abandoned personal assets in

line with existing laws of the institution.



Well I have reasons very professional and I can use a legal means to present a next of kin of my deceased client. This is legally

possible and would be done in accordance with the laws of the land. On this note I decided to search for a credible person and

finding that you bear a similar last name, I was urged to contact you, that I may, with your consent, present you to the

"Trustee" as my late client's family member, so as to enable you put up a claim to the bank in that capacity as a next of kin of

my client.



I find this possible for the fuller reasons that you are of the same nationality and you bear a similar last name with my late

client making it a lot easier for you to put up a claim in that capacity. I have all vital documents that would confer on you the

legal right to make this claim and would make them available to you so that the proceeds from this bank account valued at

£11.6 million can be paid to you before it gets confiscated or declared unserviceable to the bank where this huge amount is

lodged.



I do sincerely sympathize on the death of my client but think it is unprofitable for his funds to be submitted to the government

of this country or some financial institution. My aim is to retrieve these funds and let it be claimed by the deceased family

Lineage, etc. for this I seek your assistance since I have been unable to locate the relatives for the past 7 years now



I seek your consent to present you as the next of kin of the deceased since you have the same last name giving you the

advantage, so that the proceeds of this account can be paid to you and then both of us can share the money, 60% to me and

40% to you. I know there might be other persons out there with the same surname as my late client, but after a little check my

instinct told me to contact you. Can I trust you on this? I shall assemble all the necessary documents that will be used to back

up your claim.



I guarantee that this will be executed under a legitimate arrangement that will protect you from any breach of the law. I will

not fail to bring to your notice that this proposal is hitch-free and that you should not entertain any fears as the required

arrangements have been made for the completion of this transfer.



Like I said, I require only a solemn confidentiality on this and if this proposal is acceptable to you, send your telephone and

fax numbers to my private email: makkbrrnmkk@qq.com to enable us discuss further on this transaction and do not take

undue advantage of the trust I have bestowed in you. Thanks for your understanding.

Regards Mark Barron

Thursday, May 22, 2014

Hdd Doctor For Ibm Hitachi Download Free Downloads - Shareware Central

Hdd Doctor For Ibm Hitachi Download Free Downloads - Shareware Central:



'via Blog this'

Sandyhookjustice.com

"Sandy Hook Justice is about finding answers to Sixteen simple questions that MUST require an answer.
Our mission is to demand answers from the state of Connecticut. Sixteen simple questions that every American wants answered.
This site is currently under construction, so check back often for updates, as we work together to uncover the Sandy Hook Truth!"



'via Blog this'

Wednesday, May 21, 2014

To Do List After installing Ubuntu 14.04 LTS Trusty Tahr OS | Linux Support

To Do List After installing Ubuntu 14.04 LTS Trusty Tahr OS | Linux Support: "If you experience any kind of technical problems using Skype on Ubuntu OS make sure to check with the Skype forums over here:

http://community.skype.com/t5/Linux/bd-p/Linux"



'via Blog this'

To Do List After installing Ubuntu 14.04 LTS Trusty Tahr OS | Linux Support

To Do List After installing Ubuntu 14.04 LTS Trusty Tahr OS | Linux Support: "Electrum (the blockchain is the cloud) is an easy to use Bitcoin client. It protects you from losing coins in a backup mistake or computer failure, because your wallet can be recovered from a secret phrase that you can write on paper or learn by heart. There is no waiting time "



'via Blog this'

To Do List After installing Ubuntu 14.04 LTS Trusty Tahr OS | Linux Support

To Do List After installing Ubuntu 14.04 LTS Trusty Tahr OS | Linux Support: "Remote Desktop (plugin) Access other computers or allow another user to access your computer securely over the Internet."



'via Blog this'

▷ NetVideoHunter - Video and Music Downloader

▷ NetVideoHunter - Video and Music Downloader: "Download videos and music with NetVideoHunter!
NetVideoHunter is a Firefox add-on that helps you to download videos and music from almost any video-sharing sites."



'via Blog this'

To Do List After installing Ubuntu 14.04 LTS Trusty Tahr OS | Linux Support

To Do List After installing Ubuntu 14.04 LTS Trusty Tahr OS | Linux Support: "rkhunter (Rootkit Hunter) (Optional) is a Unix-based tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD."



'via Blog this'

Get Ruby 2.1.1 and Rails 4.1 running on Ubuntu 14.04 - step by step | blog_it: damian_danak

Get Ruby 2.1.1 and Rails 4.1 running on Ubuntu 14.04 - step by step | blog_it: damian_danak: "[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm""



to test run



type rvm | head -n 1



'via Blog this'

RubyGems Upgrade Issues / RubyGems / Knowledge Base - RubyGems.org Support

RubyGems Upgrade Issues / RubyGems / Knowledge Base - RubyGems.org Support: "gem install rubygems-update
update_rubygems"



'via Blog this'

Wednesday, April 30, 2014

Nikola Tesla's Creative Thinking Secrets

Nikola Tesla's Creative Thinking Secrets: "Nikola Tesla had extraordinary visual thinking powers. When he got an idea for a new machine, he was able to "set it up" in his mind and leave it running to see how it would work. His capacity for this was so developed that the results that he got in his mind were incredibly accurate. This was verified when it came to building prototypes for the new machine. He would already know exactly how it would perform because of his "Mind Lab" experiments."



'via Blog this'

[SOLVED] Freeciv Sound Fix Required

[SOLVED] Freeciv Sound Fix Required: "Re: [SOLVED] Freeciv Sound Fix Required
Code:
wget http://download.gna.org/freeciv/contrib/audio/soundsets/freesounds-1.3.1.zip
sudo unzip freesounds-1.3.1.zip -d /usr/share/games/freeciv/
freeciv -S freesounds"



'via Blog this'

Tuesday, April 29, 2014

Lecture by Dr. Tesla Channel. Ilija Lakicevic »Frontier World

Lecture by Dr. Tesla Channel. Ilija Lakicevic »Frontier World: "Dr. Ilija Lakicevic is a man from a direct 'spiritual' contact with the deceased long since Tesla scientific research in the field of free energy to continue and has come. using this unusual form of guidance to some specific scientific breakthroughs"



'via Blog this'

Publications

Publications: "
List of Publications [PDF]

Publications in Max-Planck Institute:

Some Aspects of the Plasma Edge Properties of the Wendelstein 7-AS Stellarator
Authors: Grigull, P.; Behrisch, R.; Dodhy, A.; Lakicevic, I.; Prozesky, V.; Rau, F.; Renner, H.; Roth, J.; Sardei, F.; W7-AS-Team"



'via Blog this'

hard drive password reset tool torrent - Google Search

hard drive password reset tool torrent - Google Search:



'via Blog this'

Sunday, April 6, 2014

High-Frequency Word Books

High-Frequency Word Books: "High-frequency words are the 100 or so most commonly used words in printed language. Though the English language contains millions of words, over 50 percent of all text is composed of these 100 words. "



'via Blog this'

Friday, April 4, 2014

apprentice.io from thoughtbot

apprentice.io from thoughtbot: "The next generation of designers and developers get their start here."



'via Blog this'

IBT - Local 919 - Teamsters

IBT - Local 919 - Teamsters: "AEA - ActorsSAG - ActorsAFL-CIO - AFL-CIONATCA - AirTrafficGMP - AlliedworkersIUJAT - AlliedworkersUAW - AutoBCTGMI - BakeryIBU - BoatmenBBF - Boilermakers"



'via Blog this'

LIUNA International Construction Training Network - The Power to Excel

LIUNA International Construction Training Network - The Power to Excel: "An international training network offering unlimited opportunity.
LIUNA Training strives to provide the highest quality hands–on and classroom training possible. Our training is provided through a network of 70 affiliated LIUNA training centers to deliver a comprehensive curricula that adheres to strict standards across the country and in Canada. "



'via Blog this'

OVERVIEW OF HERPES ZOSTER - The Cayce Health Database

OVERVIEW OF HERPES ZOSTER - The Cayce Health Database: " Shingles (herpes zoster) and chicken pox (varicella) are caused by the same infectious agent, a virus.  In shingles the virus attacks the spinal or cranial nerves and has a characteristic distribution (unilateral) reflecting the segments innervated by the involved nerves."



'via Blog this'

Communications Workers-America Houston, TX, 77003 - YP.com

Communications Workers-America Houston, TX, 77003 - YP.com:



'via Blog this'

Thursday, April 3, 2014

Web 2.0 Summit 2010: Lisa Gansky, "The Mesh: Why the Future of Business is Sharing" - YouTube

Web 2.0 Summit 2010: Lisa Gansky, "The Mesh: Why the Future of Business is Sharing" - YouTube:



'via Blog this'

A TED Talk on Income Inequality by Nick Hanauer - YouTube

A TED Talk on Income Inequality by Nick Hanauer - YouTube:



'via Blog this'

Vacation Rentals, Homes, Apartments & Rooms for Rent - Airbnb

Vacation Rentals, Homes, Apartments & Rooms for Rent - Airbnb:



'via Blog this'

Mesh - the pulse of the sharing economy

Mesh - the pulse of the sharing economy:



'via Blog this'

Krebs / Citric Acid Cycle - YouTube

Krebs / Citric Acid Cycle - YouTube:



'via Blog this'

occult science academy - YouTube

occult science academy - YouTube:



'via Blog this'

Krebs / Citric Acid Cycle - YouTube

Krebs / Citric Acid Cycle - YouTube:



'via Blog this'

Krebs / Citric Acid Cycle - YouTube

Krebs / Citric Acid Cycle - YouTube:



'via Blog this'

Code Fellows

Code Fellows:



'via Blog this'

Home Page: Department of Information Technology - City of Berkeley, CA

Home Page: Department of Information Technology - City of Berkeley, CA:



'via Blog this'

Human Resources - City of Berkeley, CA

Human Resources - City of Berkeley, CA:



'via Blog this'

Software,IT,Culture,Career,Prospects,Rewards,Benefits,Offshore,Outsourcing,Company,Inc,India

Software,IT,Culture,Career,Prospects,Rewards,Benefits,Offshore,Outsourcing,Company,Inc,India:



'via Blog this'

Wednesday, April 2, 2014

Francis Bacon (Stanford Encyclopedia of Philosophy)

Francis Bacon (Stanford Encyclopedia of Philosophy): "Francis Bacon
First published Mon Dec 29, 2003; substantive revision Fri Dec 7, 2012
Francis Bacon (1561–1626) was one of the leading figures in natural philosophy and in the field of scientific methodology in the period of transition from the Renaissance to the early modern era. "



'via Blog this'

Tuesday, April 1, 2014

Friday, March 28, 2014

Alpha Centauri: Alien Crossfire revisited - annoying bug

Alpha Centauri: Alien Crossfire revisited - annoying bug: "try using the T key. Using it 4 times will circle you though
different states, each with only a part of your cities and
improvements.

Frans Jonckers."



'via Blog this'

All my cities disappear (bug?)

All my cities disappear (bug?): "Yep it occurs sometimes when an AI tries an rescue factions leader probe and some bug cause your faction to be designated the 'rescued' one and your vanish and reapear with the conlny pods and units. There may be another mechanism to this as well. I recall 2 to 4 other threads on the same thing."



'via Blog this'

Wednesday, March 26, 2014

PlayDeb.net - Updates for Ubuntu 10.04

PlayDeb.net - Updates for Ubuntu 10.04:



'via Blog this'

Problem with Nvidia driver 331.20 on ubuntu 13.10 (64bit) - Ask Ubuntu

Problem with Nvidia driver 331.20 on ubuntu 13.10 (64bit) - Ask Ubuntu: "

Remove Nvidia proprietary drivers: 


sudo apt-get remove --purge nvidia*



Add xorg edgers PPA for NVIDIA drivers and install nvidia-331: 


sudo add-apt-repository ppa:xorg-edgers/ppa



sudo apt-get update



sudo apt-get install nvidia-331



Remove/purge bumblebee and reboot: 


sudo apt-get --purge remove bumblebee



sudo reboot"



'via Blog this'

Monday, March 17, 2014

WineHQ - Sid Meier's Alpha Centauri 4.0

WineHQ - Sid Meier's Alpha Centauri 4.0: "then configure Wine for SMAC/SMACX in PlayOnLinux:
- Windows 2000 (to launch SMACX)
- virtual desktop = 1024x768 (to skip random crashing bugs) (if you want to play in full screen, put your computer in 1024x768 before launching the game) (note: there is a bug with 15 or 16 bits colors, 24 is ok)."



'via Blog this'

the sound-volume indicator disappeard Ubuntu 13.10 - Ask Ubuntu

the sound-volume indicator disappeard Ubuntu 13.10 - Ask Ubuntu: "Try to re-configure it if already installed

Open terminal and execute these commands:

sudo dpkg-reconfigure $(dpkg -l | grep indicator-sound | awk '{print $2}' | tr '\n' ' ')
sudo update-initramfs -u"



'via Blog this'

How To Fix: No Sound In Ubuntu 13.04 and Ubuntu 13.10 [Updated]

How To Fix: No Sound In Ubuntu 13.04 and Ubuntu 13.10 [Updated]: "No worries. The one shot solution which fixed the sound problem for me on my Intel powered Dell Inspiron N4010 is to force reload Alsa. To do that, use the following command in terminal (Ctrl+Alt+T):

sudo alsa force-reload"



'via Blog this'

How To Fix: No Sound In Ubuntu 13.04 and Ubuntu 13.10 [Updated]

How To Fix: No Sound In Ubuntu 13.04 and Ubuntu 13.10 [Updated]:



'via Blog this'

Sunday, March 16, 2014

Renato Cunha

Renato Cunha: "I’m the proud owner of a PlayStation® Move system and also a proud user of the Arch Linux distribution. As much as pride is concerned, it’s not very “proudful” when you decide to give your PlayStation® Eye (PS3 Eye) a try as a webcam, and you realize it doesn’t quite work as you expected. This post investigates this issue and proposes a solution.

Even though the PS3 Eye is supported by Linux 2.6.29 and above 1, and the video worked fine for me. The audio did not… :/"



'via Blog this'

Saturday, March 15, 2014

Install WineHQ 1.7.12 in Ubuntu 13.10 | ITworld

Install WineHQ 1.7.12 in Ubuntu 13.10 | ITworld: "WineHQ lets you run Windows applications on your Ubuntu 13.10 system.

1. Open a terminal window.

2. Type in the following commands then hit Enter after each.

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7 winetricks"



'via Blog this'

How to Install the Latest NVIDIA 331.20 Driver in Ubuntu 13.10

How to Install the Latest NVIDIA 331.20 Driver in Ubuntu 13.10: "How is this complicated?

1. paste the following into a text file:

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get purge nvidia-current
sudo apt-get install nvidia-331

2. save it as something.sh

3. run it (double-click on it or type sudo ./something.sh)

You don't even need to search for a download: simpler than windows."



'via Blog this'

Wednesday, March 12, 2014

Humans have three brains

Humans have three brains: "
Humans have three brains
Science
By James Thornton

The brain is our favorite bodily organ. It is where we feel sex, love, and beauty. It is where we get guilty, depressed, and angry. It is the most complex object in the known Universe. So complex that science has only made the first tentative steps towards understanding it. "



'via Blog this'

Thirteen Steps to Write and Publish a Free Ebook In Thirteen Hours : @ProBlogger

Thirteen Steps to Write and Publish a Free Ebook In Thirteen Hours : @ProBlogger: "Thirteen Steps to Write and Publish a Free Ebook In Thirteen Hours
Filed Under: Miscellaneous Blog Tips

Have you ever considered producing an ebook for your blog readers? In this comprehensive post Ali Hale breaks down the process of how to do it."



'via Blog this'

Seth's Blog: You should write an ebook

Seth's Blog: You should write an ebook: "You should write an ebook
I'm serious. Smart people with good ideas worth sharing can get a lot out of this exercise.

To help you out, I wrote a lens about the simple details of how to do it.

It's technically easy and when it works, your idea will spread far and wide. Even better, the act of writing your idea in a cogent, organized way will make the idea better. You can write an ebook about your travel destination, your consulting philosophy or an amazing job you'd like to fill."



'via Blog this'

All of Seth Godin’s Free ebooks in one place | Social Media, Internet Marketing, and Life connected | Josh S Peters

All of Seth Godin’s Free ebooks in one place | Social Media, Internet Marketing, and Life connected | Josh S Peters: "All of Seth Godin’s Free ebooks in one place
Posted on September 16, 2009 by Josh S Peters • 44 Comments
You read that right, I’ve compiled all of Seth Godin’s free ebooks in one big awesome list. Seth Godin is a fantastic source of  constant information and wisdom. His blog is incredibly insightful and he produces books and ebooks left and right. The one thing he hasn’t done though is collect his free stuff in one spot."



'via Blog this'

Monday, March 10, 2014

Galileo. Your iOS in Motion. by Motrr — Kickstarter

Galileo. Your iOS in Motion. by Motrr — Kickstarter: "Galileo Overview

The Galileo is a revolutionary, iOS-controlled robotic iPhone platform with infinite spherical rotation capability. Just swipe your finger on the screen of your iPad or other iOS device and Galileo reacts, orienting your iPhone or iPod Touch accordingly.  With applications in areas of photography, cinematography, social networking, and video "



'via Blog this'

RubyMine :: Licensing

RubyMine :: Licensing:



'via Blog this'

Installing RubyMine 4 on Ubuntu 12.04 | Matt Slay, PhC

Installing RubyMine 4 on Ubuntu 12.04 | Matt Slay, PhC: "You can read the RubyMine Installation Instructions in the file named “Install-Linux-tar.txt” file which is located in the archive file for RubyMine that you will download from JetBrains. (http://www.jetbrains.com/ruby/download/).  It will tell you where to unzip the files"



'via Blog this'

Tuesday, March 4, 2014

Amazon.com: Bentonite Clay - Montmorillinite, 1 lb,(Starwest Botanicals): Health & Personal Care

Amazon.com: Bentonite Clay - Montmorillinite, 1 lb,(Starwest Botanicals): Health & Personal Care: "Bentonite Clay - Montmorillinite, 1 lb,(Starwest Botanicals)
by Bentonite Clay Montmorillinite, Food Grade Organic 16oz (1lb)
40 customer reviews | 5 answered questions"



'via Blog this'

Bentonite Clay: Health Benefits and Uses

Bentonite Clay: Health Benefits and Uses: "How to use Bentonite Clay:

Bentonite (and other clays) are staples in my homemade herbal cabinet and medicine chest. I’ve used them internally and externally for various issues on myself, my husband my kids. I order from here and it is an inexpensive natural remedy."



'via Blog this'

Monday, March 3, 2014

Masonic Meditation | Zen Masonry

Masonic Meditation | Zen Masonry: "A Basic Method for Masonic Meditation
This meditation is not zazen, but is designed to help you receive insight and intuition. You may choose to make this your predominant method, or you may use it as a supplement to a regular practice of some stillness meditation such as zazen. You can even use these instructions just for stillness meditation by omitting steps 5 through 10. In any case, some combination of the two is recommended, as well as a routine of at least 3 days of practice per week, though once or twice daily is ideal.
1. Find some place where you can sit quietly and undisturbed for about 15 minutes."



'via Blog this'

Friday, February 21, 2014

ruby on rails - CSS is not working after push to heroku but works on localhost - Stack Overflow

ruby on rails - CSS is not working after push to heroku but works on localhost - Stack Overflow: "When I do a element inspection in your Heroku page, I do see the change in style (padding 5px....) Did you check that you are update you pre-compiled assets (as I see you have the application....css is our header. You should give a shot at using the following command :

RAILS_ENV=production bundle exec rake assets:precompile"



'via Blog this'

h5bp/html5-boilerplate

h5bp/html5-boilerplate: "A professional front-end template for building fast, robust, and adaptable web apps or sites.
http://html5boilerplate.com/"



'via Blog this'

Guide to HTML5 Boilerplate for Rails Developers · RailsApps

Guide to HTML5 Boilerplate for Rails Developers · RailsApps: "CSS Helper Classes
The HTML5 Boilerplate style.css file includes several CSS classes that are often needed by web designers. You’ll probably use some of these if you are not using another CSS toolkit.

HTML5 Boilerplate’s image-replacement
HTML5 Boilerplate’s hidden
HTML5 Boilerplate’s visuallyhidden
HTML5 Boilerplate’s invisible
HTML5 Boilerplate’s clearfix"



'via Blog this'

Foundation Docs

Foundation Docs: "Whichever of those options you choose, you'll receive a .zip archive containing the following files:

index.html — This is an example index file which contains some sample markup (the grid, buttons, etc) as well as the basic structure of a responsive Foundation page. Feel free to change or destroy this file as you see fit, just bear in mind that some of the document

Ruby On Rails with HTML5 and CSS3 - Stack Overflow

Ruby On Rails with HTML5 and CSS3 - Stack Overflow: "I recommend you to get started with Guide to HTML5 Boilerplate for Rails Developers"



'via Blog this'

What is Ruby on Rails? · RailsApps

What is Ruby on Rails? · RailsApps: "At a higher level of abstraction, programmers find that code can be often be optimally organized according to patterns that other experienced developers will recognize. Code is easier to write when it fits a pattern you’ve encountered before; it’s easier to analyze and understand code that another programmer has written if it matches a widely known software design pattern. "



'via Blog this'

Thursday, February 20, 2014

What should I learn along with Ruby on Rails? - Stack Overflow

What should I learn along with Ruby on Rails? - Stack Overflow: "I think I've seen just about every Rails tutorial there is (at least the most well known).

My favorite is the Rails Tutorial by Michael Hartl: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book

The best part is, it's free - as in beer. But it's also very thorough. I've gone through it at least twice to get concepts that I had a hard time with the first time around.

As you go through it, you'll learn Ruby concepts, Rails concepts, and a little CSS and Javascript."



'via Blog this'

Link to other pages wih same controller using Ruby on Rails - Stack Overflow

Link to other pages wih same controller using Ruby on Rails - Stack Overflow: "<%= link_to 'link_name', :action => 'Your_method_name', :controller => 'custom_hello' %>"



'via Blog this'

Link to other pages wih same controller using Ruby on Rails - Stack Overflow

Link to other pages wih same controller using Ruby on Rails - Stack Overflow: "Here it is:

app/controllers/custom_hello_controller.rb

class CustomHelloController < ApplicationController
def method1
end

def method2
end
end
config/routes.rb

get 'custom_hello/method1'
get 'custom_hello/method2'
Create 2 files in your views:

app/views/custom_hello/method1.html.erb
app/views/custom_hello/method2.html.erb
You can create links with:

<%= link_to 'Method 1', custom_hello_method1_path %>
<%= link_to 'Method 2', custom_hello_method2_path %>"



'via Blog this'

Rails 4 images not loading on heroku - Stack Overflow

Rails 4 images not loading on heroku - Stack Overflow: "I need to combine several solutions to make it worked, here are what I did:

on Gemfile:

gem 'rails_12factor', group: :production
on Heroku console:

heroku labs:enable user-env-compile -a yourapp
on production.rb

config.serve_static_assets = true
config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
config.assets.compile = true
and I didn't need to precompile the assets locally."



'via Blog this'

css - Heroku does not serve background image, localhost does? - Stack Overflow

css - Heroku does not serve background image, localhost does? - Stack Overflow: "Make sure you set these in your production.rb file

config.cache_classes = true
config.serve_static_assets = true
config.assets.compile = true
config.assets.digest = true"



'via Blog this'

Building a Rails 3 Application with Memcache | Heroku Dev Center

Building a Rails 3 Application with Memcache | Heroku Dev Center: "Install the MemCachier add-on and configure caching

As noted in the MemCachier article, you need to install the add-on and the dalli gem. The optional memcachier gem is also recommended.
At the terminal, run:"



'via Blog this'

Learn Web Development with the Ruby on Rails Tutorial | A Demo App

Learn Web Development with the Ruby on Rails Tutorial | A Demo App: "# This should only be used if your Heroku deploy fails without it.
$ rake assets:precompile
$ git add .
$ git commit -m "Add precompiled assets for Heroku"
$ git push heroku master
This shouldn’t be necessary, and I have been unable to reproduce the issue, but the reports are common enough that I include it here for reference.)

To get the application’s database to work, you’ll also have to migrate the production database:

$ heroku run rake db:migrate"



'via Blog this'

mduvall/quizlet-ruby

mduvall/quizlet-ruby:



'via Blog this'

Rails 3 using Devise: How to allow someone to log in using their Facebook account? - Stack Overflow

Rails 3 using Devise: How to allow someone to log in using their Facebook account? - Stack Overflow: "I have a Rails 3 application using Devise for authentication. Now I need to allow someone to log in using their Facebook account. I think this is called Facebook Connect, but I've also heard the term Facebook Graph API, so I'm not sure which one I'm asking for.

What do I need to do in order to integrate Facebook Connect with Devise?

Solution:

This question is pretty old now. A year ago, Devise v1.2 introduced OmniAuth support. Now Devise is at v2.1 (as of this writing) and using OmniAuth is even easier. Here is a great tutorial from the Devise wiki on using the omniauth-facebook gem with Devise to allow sign-in using Facebook."



'via Blog this'

Wednesday, February 19, 2014

rubygems - list of all/best gems for Ruby? - Stack Overflow

rubygems - list of all/best gems for Ruby? - Stack Overflow: "I don't know about "best," but if you want to see a list of commonly used gems for various purposes, I've found The Ruby Toolbox to be a great resource. The rankings are determined by counting up the number of forks and watchers of various github projects, so I'd view it less as "this is what I should be using," and more as "these are some things I should check out." At the very least, they're all likely to be under active development and fairly up to date, and it's very useful to see groups of gems broken down by category."



'via Blog this'

Contributing to RubyGems - RubyGems Guides

Contributing to RubyGems - RubyGems Guides:



'via Blog this'

Contributing to RubyGems - RubyGems Guides

Contributing to RubyGems - RubyGems Guides:



'via Blog this'

Goldlist Method | Huliganov TV

Goldlist Method | Huliganov TV: "15. Again, you do nothing with the words of the first distillation for a period of at least two weeks (this is why you always date when you do the distillations also) and not more than two months (same reasons as given above) and then, when that time comes, you go back to the first distillations on the top of the right side page, and make from them the second distillation on the bottom of the right hand page. From those 17 words you will be looking at keeping 12 and discarding or merging 5. Again, first plan and ask yourself “which 5 of these seventeen words did I remember best?” and put a cross next to them, don’t write them out again. It is a game with "



'via Blog this'

Vocabulary Lesson Ideas- Ideas for Teaching, Resources for Lesson Plans, and Activities for Unit Planning

Vocabulary Lesson Ideas- Ideas for Teaching, Resources for Lesson Plans, and Activities for Unit Planning: " love vocab games. Here are some things I do in class:

1. Vocabulary Bingo -- Students can write their vocabulary words in a bingo sheet and you call out the words.

2. Last week, I had two students sit in front of the class. Their chairs faced the rest of the classroom. On the board behind them (so they couldn't see) I wrote down one of our vocab words. The class was divided into 2 teams. Each time had 5 chances to give clues so the student could guess the word. For example, if the word is frantic--they would say wild, emotional, etc. I only allowed them to give one word clues, which es"



'via Blog this'

search | RubyGems.org | your community gem host

search | RubyGems.org | your community gem host: "Displaying all 2 gems

843 downloads
omniauth-quizlet (0.0.1)
quizlet omniauth strategy
429 downloads
quizlet-ruby (0.0.1)
A Ruby wrapper for the Quizlet 2.0 API"



'via Blog this'

Buying a home? FAQ about closing costs and mortgage loans American Heritage Bank - Story

Buying a home? FAQ about closing costs and mortgage loans American Heritage Bank - Story: "Some common types of fees include:

Appraisal fee
Credit report fee
Recording fee
Title insurance
Loan discount points
Attorney's fee"



'via Blog this'

ActionController::RoutingError (No route matches [GET] "/favicon.ico") in Rails - Stack Overflow

ActionController::RoutingError (No route matches [GET] "/favicon.ico") in Rails - Stack Overflow: "
Manually place the favicion.ico file in the public/ directory of your application.
Put the favicon.ico in app/assets/images/ and then change your " rel="shortcut icon" />
This will place the favicon.ico in public/assets/favicon.ico, not in the document root.

I suggest sticking with #1 above."



'via Blog this'

HTML: adding a website address bar icon or favicon | a Tech-Recipes Tutorial

HTML: adding a website address bar icon or favicon | a Tech-Recipes Tutorial: "Create Your Icon:
First you are going to need an image:
-using your favorite photo editing program resize it to 16×16 and save it as a .bmp file.

-next open it with paint or some other basic editing software that will not try to add anything to the file as photoshop and some other high end programs do, in the transfer from .jpg and .gif to .bmp and resave it, replaceing the old .bmp file.

-now that you have a proper likely 24-bit .bmp save the file -again with paint- only save it as the following:
favicon.ico"



'via Blog this'

html - Adding Icon to rails website? - Stack Overflow

html - Adding Icon to rails website? - Stack Overflow: "<%= favicon_link_tag %>
Or if you want another image than favicon.ico

<%= favicon_link_tag 'another_image.ico' %>
share|improve this answer
answered May 25 '11 at 20:57

JCorcuera
3,21211419
 
Simple, but great 'as the rails way' answer. –  Cadence96 Mar 10 '12 at 8:49
3  
I'd just like to add that the favicon.ico file should go in the public directory and documentation can be found here: apidock.com/rails/ActionView/Helpers/AssetTagHelper/… –  David Grayson Sep 19 '12 at 22:20
add comment
"



'via Blog this'

Git for developers - MoodleDocs

Git for developers - MoodleDocs: "git checkout master"
then do a git pull to merge the head with production



'via Blog this'

How do I fix merge conflicts in Git? - Stack Overflow

How do I fix merge conflicts in Git? - Stack Overflow: "FYI you can use git mergetool"



'via Blog this'

version control - What's the best visual merge tool for Git? - Stack Overflow

version control - What's the best visual merge tool for Git? - Stack Overflow: "Meld is a good diff/merge tool.

Here's how to install it on:

Ubuntu
Mac"



'via Blog this'

Git With Meld Diff Viewer on Ubuntu - Wired For Code

Git With Meld Diff Viewer on Ubuntu - Wired For Code: "Save this to a location such as /usr/local/bin, giving it executable rights:

$ sudo mv git-diff.sh /usr/local/bin/
$ sudo chmod +x /usr/local/bin/git-diff.sh
The final step is to open your $HOME/.gitconfig file and add the following few lines:

"



'via Blog this'

Git Mergetool - Merging With a GUI - GitGuys - GitGuys

Git Mergetool - Merging With a GUI - GitGuys - GitGuys: "Merging With a GUI
Git can also work with a large number of GUI tools for helping with merging. A couple of popular GUI tools used on Linux are kdiff3 and meld. They are worth trying (you may need to install them if they aren’t installed yet).
Back To The Same Old Conflict
We’ll go back to the conflict in the the second line of the README file, from our repository as described in the Merging Branches With a Conflict page.
Merging with kdiff3
If you want to try out kdiff3 you could type:"



'via Blog this'

Git With Meld Diff Viewer on Ubuntu - Wired For Code

Git With Meld Diff Viewer on Ubuntu - Wired For Code: "sudo apt-get update && sudo apt-get install meld"



'via Blog this'

How to move the current working branch to master branch in git - Stack Overflow

How to move the current working branch to master branch in git - Stack Overflow: "Firstly, I would try just merging it to master and seeing if there really are lots of conflicts - git's merging is great at only marking genuine conflicts. If you make sure that your git status is clean before you start, and you find that there are too many conflicts to deal with, you can just go back with:

git reset --merge
However, if you just want to make your current master the same as your other branch, you could do that with:

git checkout master
git reset --hard other-branch
However, that's generally a bad idea since:"



'via Blog this'

Rails eBooks - Free Download IT eBooks

Rails eBooks - Free Download IT eBooks: "Beginning Rails 4, 3rd Edition

Beginning Rails 4 is a book that will guide you from never having programmed with Ruby, to having a Rails application built and deployed to the web. You'll learn how to combine all the components of Rails to develop your own web applications. You will use test driven development to make sure your application works exactly like you expect. You will learn how to use Git for source control and best practice techniques to create applications like a pro. Essential, and often-missed, information on testing and learning to program with Ruby are also covered. This book is well suited for someone with little to no Ruby or Rails experience, or possibly even someone with no experience developing web applications at all. Beginning Rails 4 does assume a basic familiarity with the web and typical web terms, but doesn't require you to be an expert of these."



'via Blog this'

Tuesday, February 18, 2014

Do those air purifiers / ionizers really work? Is it really genuine science at work here?

Do those air purifiers / ionizers really work? Is it really genuine science at work here?: "Most reviews agree that those with severe allergies, asthma and bronchitis -- who need to control indoor air quality as much as possible -- may benefit the most from air purifiers, but only when used in conjunction with other allergen source-control strategies, including ventilation and daily HEPA vacuuming. These reviews say there’s little evidence that air purifiers are effective alone. The Allergy and Asthma Network/Mothers of Asthmatics takes this stance: "Air filters don’t replace the need for eliminating or reducing indoor allergens. Beware of any manufacturer making health claims.""



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "7.1 Basic Structures
The two basic structures are arrays and hashes. Hashes mirror the syntax used for accessing the value in params. For example if a form contains


the params hash will contain

"



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "The form builder used also determines what happens when you do

<%= render partial: f %>"



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "class LabellingFormBuilder < ActionView::Helpers::FormBuilder
  def text_field(attribute, options={})
    label(attribute) + super
  end
end
If you reuse this frequently you could define a labeled_form_for helper that automatically applies the builder: LabellingFormBuilder option."



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "5.2 Dealing with Ajax
Unlike other forms making an asynchronous file upload form is not as simple as providing form_for with remote: true. With an Ajax form the serialization is done by JavaScript running inside the browser and since JavaScript cannot read files from your hard drive the file cannot be uploaded. The most common workaround is to use an invisible iframe that serves as the target for the form submission."



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "The above inputs would result in params[:start_date] being a hash with keys :year, :month, :day. To get an actual Time or Date object you would have to extract these values and pass them to the appropriate constructor, for example

Date.civil(params[:start_date][:year].to_i, params[:start_date][:month].to_i, params[:start_date][:day].to_i)
"



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "There is also time_zone_options_for_select helper for a more manual (therefore more customizable) way of doing this. Read the API documentation to learn about the possible arguments for these two methods."



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "<%= collection_select(:person, :city_id, City.all, :id, :name) %>"



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "Select boxes in HTML require a significant amount of markup (one OPTION element for each option to choose from), therefore it makes the most sense for them to be dynamically generated.

Here is what the markup might look like:


  
  
  ...
  
"



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "The Rails framework encourages RESTful design of your applications, which means you'll be making a lot of "PATCH" and "DELETE" requests (besides "GET" and "POST"). However, most browsers don't support methods other than "GET" and "POST" when it comes to submitting forms.

Rails works around this issue by emulating other methods over POST with a hidden input named "_method", which is set to reflect the desired method:"



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "The Rails framework encourages RESTful design of your applications, which means you'll be making a lot of "PATCH" and "DELETE" requests (besides "GET" and "POST"). However, most browsers don't support methods other than "GET" and "POST" when it comes to submitting forms."



'via Blog this'

i've noticed.. | SQLite3::SQLException: table already exists

i've noticed.. | SQLite3::SQLException: table already exists: "Once you’ve started sqlite3 with the proper database, you probably know what to do:

sqlite> drop table table_name;

sqlite> .quit"



'via Blog this'

About - Bill Eisenhauer

About - Bill Eisenhauer: "I am a 48 year old guy lucky enough to have his hobby be his profession — I started programming way back as a teenager on the family’s Apple II computer and haven’t really stopped since.

I am continuously curious and interested in new technologies and usually have the latest books on the subjects that I’m interested in. I’m never a day without reading either a book or any of the countless blogs that I follow. As a result, I’m always current on the latest technical trends.


Bill and Guy Kawasaki
In addition to my love for technology, I also have "



'via Blog this'

Checking if a variable is not nil and not zero in ruby - Stack Overflow

Checking if a variable is not nil and not zero in ruby - Stack Overflow: "unless discount.nil? || discount == 0
# ...
end"



'via Blog this'

Install Plex Server on a Ubuntu Server | The K Unit

Install Plex Server on a Ubuntu Server | The K Unit: "The major benefit for using a Ubuntu Server is that it requires less memory and the Plex web interface is powerful making it quite viable to manage it without a desktop interface. The install steps for Plex on Ubuntu is also extremely painless. My Plex server is installed on a KVM virtual machine and connects to its media to my FreeNAS via NFS."



'via Blog this'

Complete Media Server Solution using Peppermint Linux and Plex: Peppermint Linux with Plex Media Server

Complete Media Server Solution using Peppermint Linux and Plex: Peppermint Linux with Plex Media Server: "With TV Shows, I am actually using a directory structure.  I.E. I will use Dexter from Showtime as an example.  Root Directory is Dexter, sub-directories are Season 1, Season 2, Season 3, etc...  each season 1 contains all video files of season 1.  Plex will figure this out and display it on your Roku or other devices organized accordingly.  "



'via Blog this'

Bug #1241811 “USB disk not automatically mounted after upgrade t...” : Bugs : “gvfs” package : Ubuntu

Bug #1241811 “USB disk not automatically mounted after upgrade t...” : Bugs : “gvfs” package : Ubuntu: "udisksctl mount --block-device /dev/sdc1"



'via Blog this'

Form Helpers — Ruby on Rails Guides

Form Helpers — Ruby on Rails Guides: "Dealing with Basic Forms
The most basic form helper is form_tag.

<%= form_tag do %>
  Form contents
<% end %>"



'via Blog this'

Monday, February 17, 2014

ActionView::PartialRenderer

ActionView::PartialRenderer: "Action View Partials

There's also a convenience method for rendering sub templates within the current controller that depends on a single object (we call this kind of sub templates for partials). It relies on the fact that partials should follow the naming convention of being prefixed with an underscore – as to separate them from regular templates that could be rendered on their own.

In a template for Advertiser#account:

<%= render partial: "account" %>"



'via Blog this'

i've noticed.. | SQLite3::SQLException: table already exists

i've noticed.. | SQLite3::SQLException: table already exists: "From the command line, your first instinct will be to start sqlite and look for the table to drop. However, the proper way to do it is to go to your Rails application directory and run the following command to open the development database for your application:

sqlite3 db/development.sqlite3 

Once you’ve started sqlite3 with the proper database, you probably know what to do:

sqlite> drop table table_name;

sqlite> .quit"



'via Blog this'

About - Bill Eisenhauer

About - Bill Eisenhauer: "I am a 48 year old guy lucky enough to have his hobby be his profession — I started programming way back as a teenager on the family’s Apple II computer and haven’t really stopped since."



'via Blog this'

The Rails Command Line — Ruby on Rails Guides

The Rails Command Line — Ruby on Rails Guides: "rails generate controller Greetings hello
     create  app/controllers/greetings_controller.rb
      route  get "greetings/hello"
     invoke  erb
     create    app/views/greetings
     create    app/views/greetings/hello.html.erb
     invoke  test_unit
     create    test/controllers/greetings_controller_test.rb
     invoke  helper
     create    app/helpers/greetings_helper.rb
     invoke    test_unit
     create      test/helpers/greetings_helper_test.rb
     invoke  assets
     invoke    coffee
     create      app/assets/javascripts/greetings.js.coffee
     invoke    scss
     create      app/assets/stylesheets/greetings.css.scss
"



'via Blog this'

Revert to previous Git commit - Stack Overflow

Revert to previous Git commit - Stack Overflow: "git checkout 0d1d7fc32
or if you want to make commits while you're there, go ahead and make a new branch while you're at it:

git checkout -b old-state 0d1d7fc32
If, on the other hand, you want to really get rid of everything you've done since then, there are two possibilities. One, if you haven't published any of these commits, simply reset:

# This will destroy any local modifications."



'via Blog this'

How do I reverse a 'rails generate'? - Stack Overflow

How do I reverse a 'rails generate'? - Stack Overflow: "rails destroy controller lalala
rails destroy model yadayada
rails destroy scaffold hohoho"



'via Blog this'

activerecord - rails generate model field:type -what are the options for field:type? - Stack Overflow

activerecord - rails generate model field:type -what are the options for field:type? - Stack Overflow: "rails generate model --help –  Dennis Jan 21 at 18:51
add comment
5 Answers
activeoldestvotes
up vote
226
down vote
accepted
:string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date,
:binary, :boolean, :references"



'via Blog this'

Revert to previous Git commit - Stack Overflow

Revert to previous Git commit - Stack Overflow: " This will detach your HEAD, i.e. leave you with no branch checked out:
git checkout 0d1d7fc32
or if you want to make commits while you're there, go ahead and make a new branch while you're at it:

git checkout -b old-state 0d1d7fc32"



'via Blog this'

Active Record Basics — Ruby on Rails Guides

Active Record Basics — Ruby on Rails Guides: "Database Table - Plural with underscores separating words (e.g., book_clubs).
Model Class - Singular with the first letter of each word capitalized (e.g., BookClub)."



'via Blog this'

git: undo all working dir changes including new files - Stack Overflow

git: undo all working dir changes including new files - Stack Overflow: "git reset --hard # removes staged and working directory changes

git clean -f -d # remove untracked files
git clean -f -x -d # CAUTION: as above but removes ignored files like config."



'via Blog this'

Rails Routing from the Outside In — Ruby on Rails Guides

Rails Routing from the Outside In — Ruby on Rails Guides: "Rails Routing from the Outside In
This guide covers the user-facing features of Rails routing.

After reading this guide, you will know:

How to interpret the code in routes.rb.
How to construct your own routes, using either the preferred resourceful style or the match method.
What parameters to expect an action to receive.
How to automatically create paths and URLs using route helpers.
Advanced techniques such as constraints and Rack endpoints."



'via Blog this'

Ruby/Rails - Models Named with Two Words (Naming Convention Issues) - Stack Overflow

Ruby/Rails - Models Named with Two Words (Naming Convention Issues) - Stack Overflow: "Name it PromotedEvent in the file promoted_event.rb

a = PromotedEvent.new"



'via Blog this'

Rails Routing from the Outside In — Ruby on Rails Guides

Rails Routing from the Outside In — Ruby on Rails Guides: "Because you might want to use the same controller for a singular route (/account) and a plural route (/accounts/45), singular resources map to plural controllers. So that, for example, resource :photo and resources :photos creates both singular and plural routes that map to the same controller (PhotosController)."



'via Blog this'

Rails 3 library not loading until require - Stack Overflow

Rails 3 library not loading until require - Stack Overflow: "config.autoload_paths += %W(#{config.root}/lib)
config.autoload_paths += Dir["#{config.root}/lib/**/"]"



'via Blog this'

Sunday, February 16, 2014

Ruby: defining class level hash with default values - Stack Overflow

Ruby: defining class level hash with default values - Stack Overflow: "class LogEntry
EntryType = { :error => 0, :warning => 1, :info => 2 }
end
But you want to reference it as

LogEntry::EntryType[:error]"



'via Blog this'

Ruby: defining class level hash with default values - Stack Overflow

Ruby: defining class level hash with default values - Stack Overflow: "class LogEntry
EntryType = { :error => 0, :warning => 1, :info => 2 }
end
But you want to reference it as

LogEntry::EntryType[:error]"



'via Blog this'

Ruby/Rails - How to Create a Class and Access it from the Controller - Stack Overflow

Ruby/Rails - How to Create a Class and Access it from the Controller - Stack Overflow: "You should put location.rb wherever you feel it makes the most sense. Having it at app/models/location.rb will ensure that it's automatically required when your app starts, but some people expect that classes in app/models are backed by ActiveRecord.

You could also put it under lib/ if you prefer."



'via Blog this'

Ruby/Rails - How to Create a Class and Access it from the Controller - Stack Overflow

Ruby/Rails - How to Create a Class and Access it from the Controller - Stack Overflow: "You should put location.rb wherever you feel it makes the most sense. Having it at app/models/location.rb will ensure that it's automatically required when your app starts, but some people expect that classes in app/models are backed by ActiveRecord.

You could also put it under lib/ if you prefer."



'via Blog this'

How to resize photos for the web using GIMP (free image editing software from gimp.org) - YouTube

How to resize photos for the web using GIMP (free image editing software from gimp.org) - YouTube: "This video specifically talks about resizing photos for Facebook."



'via Blog this'

git push heroku master Permission denied (publickey). fatal: The remote end hung up unexpectedly - Stack Overflow

git push heroku master Permission denied (publickey). fatal: The remote end hung up unexpectedly - Stack Overflow: "heroku keys:add ~/.ssh/id_rsa.pub"

fixed my problem with "git push heroku master"



'via Blog this'