I was having an issue when using
the webpacker gem). It worked great on my
development machine, but I couldn’t get the webpack bundles to load on other
devices, namely my iphone and ipad, that were on the same local network. The
steps I took to fix this are as follows, in the context of a rails
application. Note that this tutorial is very specific to iOS and
but the general idea of using a proxy is applicable to other devices.
Assume the following setup in a typical rails application:
I recently got my first raspberry pi, it is being used to run a simple display board at work. Newsletters
and announcements are converted to image form and then displayed in a slideshow. After some trial and error
I came upon the
fbi command, which displays images on a screen directly, no need for an
X-session. This has worked really well, I have a script that displays all the .png files in a directory:
This may be a fairly uncommon situation, but have you ever needed to recover an attachment from a deleted email? I had accidentally deleted an email containing an excel spreadsheet that I still needed. For reasons I won’t go into here, the only copy of the email I had was a ‘raw’ text file of the email. rather than mess around with trying to get Mail.app to recognize it as an email, I decided to try and recover the base64-encoded excel file from the email.
I have been using rspec-mode to run my specs lately.
It’s nice to get the spec feedback without having to tab out to a terminal (or
running a terminal in emacs).
C-c ,m works great, it runs
all the specs for the current buffer. More and more, I’ve been seeing the value
in Magit-mode. I always loved the ease in which magit lets
you choose hunks of files to commit, but I just learned that you can
stage arbitrary sections of a hunk! Simply mark (highlight) the section
that you want to stage for commit, and then press
magit-status-mode. So handy!
I bound this to
C-c C-s b, for Create Scratch Buffer, it may or may not be appropriate for your keymap setup. ↩
Background: I work in web development, and am trying to learn and apply the concepts of TDD.
Over the course of my college career, I have been simultaneously fascinated by the concepts presented in class and disappointed by the lack of the practical lessons. This may or may not have been a bad thing, as it piqued my curiosity and led me to search elsewhere to supplement my college education.