Skip to content

Carlos Roque

Code Hints, Examples and more

  • Home
  • My Work
  • The FAIL wall
  • Cool Nested Forms
  • Math Art

Assets precompile without a database in Rails 4 and 5

Carlos Roque December 9, 2020 0

The other day I had a request from my IT guy. He asked: “Hey, can you make rails not connect to the database when running assets precompile?” I said sure… […]

Kubuntu made me love linux on my surface again

Carlos Roque July 2, 2018 0

I have been using Ubuntu Gnome for a long time. Then ubuntu decided to ditch unity for Gnome, at first I thought this was great news. When Ubuntu 18.04 came […]

Special Character Macros in DP2

Carlos Roque November 2, 2017 0

Due to encoding limitation in DP2, sometimes it is better to replace some common special characters by their macro equivalent. Here is a list of some of the most common […]

College pranks. A clear example of why you shouldn’t marginalize knowledge

Carlos Roque November 17, 2016 0

A friend on mine tells the next story from his college days. Apart from being hilarious, I think it is a great example of why knowledge should not be marginalized […]

Surface Pro 3 no longer needs custom linux kernel

Carlos Roque April 27, 2016 3

Good news! As of Ubuntu 16.04 and linux kernel 4.5, there is no need to create a custom kernel for the SP3. Most things work right away except for the […]

Calculate the Size of Base64.strict_encode64 in Ruby

Carlos Roque April 14, 2016 0

I was in need to calculate the size of the output of Base64.strict_encode64. I wanted to get this value to determine if the file was too big to send to […]

Build Linux Kernel 4.2.0 for Surface Pro 3

Carlos Roque April 7, 2016 0

Ubuntu got updated to 15.10 and along came an updated kernel My previous post will not work with the provided patches so I had to apply the code changes by […]

Invoking a Rake Multitask in a loop

Carlos Roque December 3, 2015 0

I am running selenium tests that I launch using a rake task. Recently I wanted to run a bunch on them concurrently every so often. The problem I ran into […]

Building and installing a patched ubuntu kernel for the surface pro 3

Carlos Roque May 20, 2015 14

Some of you have been asking for this tutorial so I hope this is easy to follow. I am sort of repeating the instructions here Assumptions You have followed the […]

Dual boot Gnome Ubuntu 15.04 on a Surface Pro 3

Carlos Roque April 25, 2015 40

update 6: I have rolled a new kernel surface-pro-3-linux-kernel-4.2.0-34.40 Good news everyone! the latest version of Ubuntu 15.04 works really good with the Surface Pro 3 Things that immediately work […]

Posts navigation

1 2 … 6 Next →

Primary Sidebar

Categories

  • ActionScrip
  • C#
  • CodeIgniter
  • Javascript
  • Joomla
  • jQuery
  • KPL – Kodak Professional Language
  • MySQL
  • PHP
  • RandomStuff
  • Ruby
  • Ruby on Rails
  • Ubuntu
  • Uncategorized
  • WHM (WebHostManagement)
  • WPF
  • x-Cart

Blogroll

  • BeesBot.com
  • Josh Fry
  • Nelson Wells' Blog
  • OB's World
  • Workcenter220

Copyright © 2021 Carlos Roque. Powered by WordPress and Stargazer.