Correcting Fluid Containers in Sage (roots.io)

The Problem

When using Sage 8.5.0 out of the box, for some reason Bootstrap’s fluid containers will not display the full width of the window.

 

The Solution

You’ll need to modify your _grid.scss file with a couple of small changes.

// Enable Fluid Containers
.wrap.container {
   max-width: none;
}

// Disable Padding
.main {
   padding-right: 0px;
   padding-left: 0px;
}

Advertisements

Directory Shortcuts in Linux

The situation

Often I end up going to the same directories in the terminal over and over again. Some of those directories are like 10 folders deep. It gets old tabbing through all those directories.

Linux saves the day

Use the link command to create a nickname for a directory path. (example below)

ln -s /home/whoa/crazy/uhhh/wow/there/are/a/lot/of/directories banana

So next time instead of typing that crazy long directory, all you have to type is banana.

-s is for a ‘soft link’. This just means that when that directory is deleted, banana will no longer be a valid shortcut.

Sara’s Salsa

Ingredients

  • Whole Tomatoes (1 can ~16oz)
  • Hot Rotel (1 can)
  • Cilantro (bunch)
  • Red Onion (half)
  • Hot Red Pepper Flakes
  • Salt & Pepper

Steps

  1. Chop up the onion.
  2. Throw everything into a blender.
  3. Hope for the best.
  4. Conduct a taste test.
  5. Put in refrigerator (~45 minutes).
  6. Serve chilled with chips.

Briefly unavailable for scheduled maintenance. Check back in a minute.

Sometimes when updating plugins or themes on a WordPress site you will receive the following error message, “Briefly unavailable for scheduled maintenance. Check back in a minute.

You’ll wait a couple of minutes and refresh the page only to STILL see the message. So now what?

Pop into your htdocs folder and delete the hidden .maintenance file that magically appeared.

To Assert or to Verify

So you’re needing to write some automated tests for your website or web app. You’ve decided to start out with Selenium. When you start writing test cases, you become confused about whether to use the assert command or the verify command. From a glance you may not understand the difference between assert and verify. So here is the difference..

Read More »