Clean up your header navigation in Ruby on Rails
Use an array. Like the below. <% links_array = [{title: "test", link_text: "Test", link: linky}, {title: "test2", link_text: "Test2", link: linky}] %>...
Use an array. Like the below. <% links_array = [{title: "test", link_text: "Test", link: linky}, {title: "test2", link_text: "Test2", link: linky}] %>...
Depending on what you post on your site ads might be useless. If there's anything about tech, then you know your visitors will be using ad blockers. So get r...
Yell at them. That's what my mom did. My sister's son was silent after she yelled at him. He's six years old if I remember correctly, might not work on babie...
<link rel="icon" type="image/png" href="//somewhere/myicon.png" /> Add that your your head section, the file doesn't have to exist, it'll...
('a'..'z').to_a.shuffle[0..7].join Stolen from the book I bought, somehow I remembered it. How do you make some of them capitals? Well you could make another...
According to this forum post, somebody uses two USB cables to boot android. I'll plug another one in and see if sensors changes. That's cheaper/easier then b...
The easiest solution is to buy a Barrel Jack to 2-pin JST and then a Wall Adapter Power Supply - 5V DC 2A (Barrel Jack) or Barrel Jack Adapter - USB to 5.5mm...
You need linux of some sort on your computer, a virtual machine should work. Also you need cPanel. Don't have hosting with any other control panel, so I don'...
Making a copy of my micro SD card using dd. Restoring just one partition doesn't work, says over 600 mb/s. The old card is 8 GB. So it'll take a while to wri...
It has two micro USB slots, if you plug it into the wrong one, it won't turn on. Will it be faster if it has two power sources? Or will it be fried? To risky...
Looks like the USB cable my Banana Pi R1 came with is crap, and so are my Anker USB cables. I get 16.72 Mbps download on my phone now, it was under 10 Mbps b...
Taking a dump at 10 PM. I can connect to the wifi but nothing loads then my phone disconnects. Does the wifi on my new router suck or is the power adapter cr...
Since I redid the micro SD card and restored my backup, OpenVPN no longer works. It connects and tun0 exists, but the traffic doesn't use it. According to te...
Search Google for that, and you'll find nothing. So now I'll search Google for how to make a startup script that will mount it for me. /etc/config/fstab conf...
That happens if you reboot it by unplugging the router. I did fsck on it, and tried rebooting, but it wasn't turning back on or something. So I took the micr...
I put the sides back on, still can't screw one part in. It isn't pushed down on one end. Not moving it, so I don't care. To lazy to try and fix it. Most o...
Did one of the antennas come unhooked from my Banana Pi R1? I just made one of the antennas more secure. But the adapter could be unhooked from the board. Do...
Looks like my Banana Pi R1 can't give me 20 Mbps if I use OpenVPN. I should try it in Ubuntu, then I'd know if it's OpenVPN, or the router. I like the clear ...