- 4-6 slices bacon
- 1 onion, diced
- 1 red bell pepper
- 2 handfuls spinach
- 8 eggs
- 1/2 cup half and half
- a bunch of shredded cheese
- salt, pepper, garlic powder to taste
Make current directory available on port 8000
python -m SimpleHTTPServer
While there's no officially documented method in the Google+ API way to get a raw share count, there are some tricks you can do to acheive this.
For this example, we're working in a Rails app with Nokogiri. We'll use Nokogiri to open the Google+ fastbutton
tool and return the share count.
require 'open-uri'
require 'nokogiri'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.class-1 { | |
transform: translateX(-100%); | |
&.modifier { | |
transform: scale(0.5); | |
} | |
} | |
// `.class-1.modifier` output => `transform: scale(0.5);` | |
// Desired output => `transform: translateX(-100%) scale(0.5);` |
A lot of times I need to distribute nav-items or something in CSS, but the left and right items need to be flushed left and right and the space between all items needs to be evenly distributed.
Here are a few solutions I've come up with.
// JUSTIFIED LIST
.justified-list {
margin:0;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$btn-bg: #008CBA; | |
$btn-text-color: white; | |
.btn { | |
padding: 10px 20px; | |
font-weight: bold; | |
transition: all 300ms ease; | |
color: rgba($btn-text-color, 0.8); | |
background: $btn-bg; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @import | |
// "foundation/components/accordion", | |
// "foundation/components/alert-boxes", | |
// "foundation/components/block-grid", | |
// "foundation/components/breadcrumbs", | |
// "foundation/components/button-groups", | |
// "foundation/components/buttons", | |
// "foundation/components/clearing", | |
// "foundation/components/dropdown", | |
// "foundation/components/dropdown-buttons", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<tr> | |
<td>Logo will go here</td> | |
<td>Add another nested table here. I do not like colspans!</td> | |
</tr> | |
</table> |