Quantcast
Channel: Jay, trying to remember... » jay
Browsing latest articles
Browse All 10 View Live

Facebook OAuth with Sinatra

This MOSTLY is working, so, here’s what I found when trying to connect to Facebook with OAuth. It needs some serious refactoring because a lot of this was done in an “investigative” trial and error...

View Article



Backing up your DB on a Capistrano deployment

Yeah, it’s simple but useful. Since I’m using sqlite at the moment, it’s just a copy but you could run any command in a similar way. I’m also tagging the backup name with a date. Here’s a snip from my...

View Article

Arduino / AVR ATTiny

Starting to play around with Arduino and straight-up AVR ATTiny microprocessors… Here are some resources I’ve found helpful so far: Getting started with the ATTiny MP Building and using an AVR target...

View Article

AVR ATTiny85 Makefile

This is what I’m using as a Makefile – based on what was included in a downloaded XCode template project – Can’t remember where I downloaded the starting point, but thanks…

View Article

AVR Dragon / avrdude command to reset bad ATtiny85 fuses

avrdude -c dragon_hvsp -p attiny85 -U lfuse:w:0x62:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m -P usb

View Article


ATtiny software PWM to drive RGB LED

Based on Atmel’s AVR136: Low-Jitter Multi-Channel Software PWM Application note, here’s a 3 channel software-based pulse width modulator to drive a RGB LED. This is a proof of concept and currently...

View Article

8-Bit Sine Wave Table

This was what I needed for a rainbow RGB LED cycle…

View Article

C99 Mode – Whatever that is…

So, I’ve never dabbled in C until now while using it with AVR microcontrollers – and while trying to complie a simple for loop: for (uint8_t bit = 0x80; bit; bit >>= 1) { ... } I got this error:...

View Article


mysql.h is missing. please check your installation of mysql and try again.

Ugh, this is a bear, but after many empty Googled alleyways, I stumbled on this post that fixed the issue… She can explain better-...

View Article


npm Error –” glob error { [Error: EMFILE, readdir …“

Found the answer why this was happening here: http://blog.izs.me/post/56827866110/wtf-is-emfile-and-why-does-it-happen-to-me Posting it here because this worked:

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images