blog.mikecordell.com
Categories · Michael Cordell's Blog
https://blog.mikecordell.com/categories.html
August 30, 2013. Using MAMP and Pow in harmony. August 14, 2013. Cloning a larger linux OS hard drive to a smaller one. July 06, 2013. Netatalk fix for Ubuntu 12.04. June 14, 2013. Stopping mdadm assemble on ubuntu boot. June 14, 2013. Microsoft Access Database to SQL file. April 30, 2013. Determine the source of a package. January 26, 2013. January 09, 2013. Setting up AFP for OSX 10.8.2. January 08, 2013. Better Fuzzy Search with Ctrl-P in Vim. January 27, 2015. Quick fixup in Vim with fugitive. Techni...
blog.mikecordell.com
Tags · Michael Cordell's Blog
https://blog.mikecordell.com/tags.html
Posts tagged with ubuntu. Ubuntu 14.04 and Compiling Ruby 2.X. April 26, 2014. Netatalk fix for Ubuntu 12.04. June 14, 2013. Determine the source of a package. January 26, 2013. Setting up AFP for OSX 10.8.2. January 08, 2013. Posts tagged with linux. Ubuntu 14.04 and Compiling Ruby 2.X. April 26, 2014. Cloning a larger linux OS hard drive to a smaller one. July 06, 2013. Netatalk fix for Ubuntu 12.04. June 14, 2013. Stopping mdadm assemble on ubuntu boot. June 14, 2013. Determine the source of a package.
blog.mikecordell.com
API with Padrino and Grape · Michael Cordell's Blog
https://blog.mikecordell.com/ruby/2014/11/02/api-with-padrino-and-grape.html
API with Padrino and Grape. Recently, I have been exploring options for creating RESTful APIs in the Ruby. Concurrently, I have been investigating Sinatra and its father-framework padrino. To create a lighter weight web app. While Sinatra in itself is a suitable solution for APIs, grape. The complete repo for this process can be found here at padrino-grape-example. Mounting grape in padrino. Generate a new padrino app:. Padrino g project padrino-grape-example - tiny. To the Gemfile we add the. Which can ...
blog.mikecordell.com
Ubuntu 14.04 and Compiling Ruby 2.X · Michael Cordell's Blog
https://blog.mikecordell.com/2014/04/26/ubuntu-14.04-and-compiling-ruby.html
Ubuntu 14.04 and Compiling Ruby 2.X. While trying to set up a VPS running Ubuntu 14.04 I was unable to compile Ruby 2.1.1 (which was the current version). I kept running into errors such as:. Readline.c:1977:26: error: ‘Function’ undeclared . The cause is that Ubuntu 14.04 ships with Readline version 6.3 which apparently breaks builds of Ruby. Get the tar of the current version and untar it:. Curl - progress ftp:/ ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz tar xz. Change directories into Ruby source.
blog.mikecordell.com
Automating the start and end of your work day · Michael Cordell's Blog
https://blog.mikecordell.com/2014/06/13/automating-the-start-and-end-of-your-work-day.html
Automating the start and end of your work day. You probably do the same thing when you arrive every morning at the office if you are a developer. Fire up your editor, open your chat program, probably a console or two. At the end of the day you probably shut all of that down, and it is a pretty stable and recurrent flow, which means that it can be automated! An opensource window manager. See my post on getting started with Slate. I wanted to automate the following:. Start my development vagrant box. I con...
blog.mikecordell.com
REST API and related object creation · Michael Cordell's Blog
https://blog.mikecordell.com/2014/10/22/rest-api-and-related-object-creation.html
REST API and related object creation. While building a REST API I began examining th issue of creating child objects that do not already have a parent object created. Consider the following scenario: Books have one author and author’s have many books. What happens when you want to add a book but have not yet created the author resource. Further, what happens if you do not want to add an author without at least one book? I see the following options for solving this scenario:. The Grapes of Wrath". Comment...
blog.mikecordell.com
Guard and Unresolved specs · Michael Cordell's Blog
https://blog.mikecordell.com/2014/01/26/guard-and-unresolved-specs.html
Guard and Unresolved specs. I was recieving the following types of warnings:. 15:30:07 - INFO - Running all specs WARN: Unresolved specs during Gem: Specification.reset: ffi (. WARN: Clearing out unresolved specs. Please report a bug if. Did not resolve this problem. Gem cleanup {gem name}. Resolved some of these problems but not completely. Bundle clean - force. Was I able to remove these warnings. Be forewarned though that this command does appear to remove gems which may require you to run.
blog.mikecordell.com
Getting Started with Slate · Michael Cordell's Blog
https://blog.mikecordell.com/2014/05/25/getting-started-with-slate.html
Getting Started with Slate. Is an open source window management tool geared towards power users. It obviates the use of many paid tool such as Divvy and Stay. I am a long time Divvy user and was considering using Stay to manage window arrangements, until I found Slate. Slate is configured through a. File that will be familiar to users of vim. The full documentation can be found on Slate’s github. Page and I highly recommend this article. Here is my config file in full:. Then you can define aliases for yo...
blog.mikecordell.com
Rails 4, Turbolinks, and jQuery · Michael Cordell's Blog
https://blog.mikecordell.com/2013/11/10/rails-4,-turbolinks,-and-jquery.html
Rails 4, Turbolinks, and jQuery. 1) Add this to your Gemfile:. 2) In your application.js, add this after your jQuery requires and before your turbolink require. For example:. 3) Restart your application server and you should now have properly functioning jQuery. Reading Ruby Code: ROM - Exploration 12 Mar 2017. Reading Ruby Code: ROM - orientation 12 Feb 2017. Reading Ruby Code: ROM - preface 29 Jan 2017. Comments powered by Disqus.
SOCIAL ENGAGEMENT