Skip to content

Instantly share code, notes, and snippets.

View raulghm's full-sized avatar
🏠
Working from home

Raúl raulghm

🏠
Working from home
View GitHub Profile
@raulghm
raulghm / SassMeister-input.scss
Created October 9, 2015 15:43
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$themes: (
red: (
background: red,
color: white
),
blue: (
@raulghm
raulghm / semantic_versioning.md
Last active August 29, 2015 14:26
Semantic Versioning

Semantic Versioning

1.2.3

major minor patch
1 2 3

major: incompatible API changes

@raulghm
raulghm / gist:c41c83c39b9e1f554f7e
Created July 3, 2015 19:30
sublime text comment + auto datetime
import datetime, getpass
import sublime, sublime_plugin
class Comments_cssCommand(sublime_plugin.TextCommand):
def run(self, edit):
comment = "/** \n * Name: Component \n * \n * Created: %s \n * Author: Raúl Hernández M. <[email protected]> \n */ \n\n" % (datetime.datetime.now().strftime("%Y-%m-%d %H:%M"))
self.view.insert(edit, 0, comment)
// icons
// type item loop
$list:
test list,
article file-text-o,
video film,
pdf file-pdf-o,
link link,
audio volume-up;
@raulghm
raulghm / gist:2d052f5c643aba971a1d
Created January 26, 2015 13:22
BEM Snippet [SuitCSS, Sublime Text]
<snippet>
<content><![CDATA[
// https://github.com/suitcss/suit/blob/master/doc/naming-conventions.md
// ComponentName
// ComponentName--modifierName
// ComponentName-descendantName
// ComponentName.is-stateOfComponent
// u-utilityName
@raulghm
raulghm / gist:a1bb39536e4a55b2e020
Created January 26, 2015 13:18
BEM Snippet [Suit CSS]
// https://github.com/suitcss/suit/blob/master/doc/naming-conventions.md
// u-utilityName
// ComponentName
// ComponentName--modifierName
// ComponentName-descendantName
// ComponentName.is-stateOfComponent
$module: 'ComponentName';
.block
.block__element
p Lorem ipsum
.block__element--modifier
p Lorem ipsum
.block__element.block__element--modifier
p Lorem ipsum
@raulghm
raulghm / gist:abf460cdbe2c4ce3013d
Created November 24, 2014 13:54
BEM Snippet [Sublime Text]
<snippet>
<content><![CDATA[
\$module: 'block';
.#{\$module} {
&__element {}
&--modifier {
.#{\$module}__element {}
$module: 'block';
.#{$module} {
&__element {
}
&--modifier {
.#{$module}__element {
}
@raulghm
raulghm / styles.scss
Created October 22, 2014 15:35
este es un super Gist!
.container {
.inner {
width: 100%;
margin: 100px;
}
.div {
color: rgb(255, 237, 93);
}
}