Skip to content

Instantly share code, notes, and snippets.

View nucliweb's full-sized avatar

Joan León nucliweb

View GitHub Profile
@nucliweb
nucliweb / dabblet.css
Created December 22, 2013 16:19 — forked from JoelBesada/dabblet.css
CSS States
/* CSS States */
body {
background: url(http://dabblet.com/img/noise.png);
background-color: #F5F2F0;
font-family: Georgia, serif;
font-size: 18px;
line-height: 1.6em;
text-shadow: 0 2px 0 white;
color: #222;
}
@nucliweb
nucliweb / dabblet.css
Created February 12, 2014 20:27
Untitled
div {
width: 400px; height: 400px;
border-radius: 50%;
background: grey;
overflow: hidden;
position: relarive;
}
div:before {
content: '';
@nucliweb
nucliweb / SassMeister-input.scss
Created April 25, 2014 22:35
Generated by SassMeister.com.
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
// Mixin @each vendor
@mixin vendor($prop, $args) {
@each $vendor in webkit, moz, ms, o {
-#{$vendor}-#{$prop}: $args;
}
@nucliweb
nucliweb / SassMeister-input.scss
Created May 15, 2014 18:29
Generated by SassMeister.com.
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
// Mixin @each vendor
@mixin vendor($prop, $args) {
@each $vendor in webkit, moz, ms, o {
-#{$vendor}-#{$prop}: $args;
}
@nucliweb
nucliweb / Wave.markdown
Created July 11, 2014 07:50
A Pen by Katy DeCorah.

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
@nucliweb
nucliweb / .csscomb.json
Created July 31, 2014 22:05
.csscomb.json
{
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": true,
"leading-zero": false,
"quotes": "double",
@nucliweb
nucliweb / Pull-over-all-subdirectories.md
Last active December 27, 2022 14:58
Run pull origin master over all subdirectories

Update all the repositories in a folder (Mac OS X & Linux)

This command updates the repositories in all subfolders inside a folder.

⚠️ The script updates the current banch in each folder.

For e.g. run in code folder to update respositories in all the subfolders

/code
@nucliweb
nucliweb / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@nucliweb
nucliweb / javascript_resources.md
Last active August 29, 2015 14:06 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage