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}] %> Then to show… Read more
Use an array. Like the below. <% links_array = [{title: “test”, link_text: “Test”, link: linky}, {title: “test2”, link_text: “Test2”, link: linky}] %> Then to show… Read more
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… Read more
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… Read more
Add that your your head section, the file doesn’t have to exist, it’ll get rid the the error though. I don’t have a Favicon. That… Read more
(‘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 array… Read more
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… Read more
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)… Read more
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… Read more
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… Read more
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… Read more
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… Read more
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… Read more
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… Read more
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… Read more
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… Read more
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… Read more
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… Read more