WordPress es_ES lang useful in Composer
This file contains 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
role=navigation] > ul a:not([href^=mailto]) { | |
} |
This file contains 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
## Sync feature wiht develop | |
# Rebase | |
$ git checkout feature/<feature> | |
$ git checkout feature/<feature> -b feature/<feature>-tmp | |
$ git checkout - | |
# Preserve merges and set commiter date to author date | |
# see: http://stackoverflow.com/a/2976598/915034 |
This file contains 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
// Store | |
factory(QuoteStore, function(quoteService){ | |
var subscribers = []; | |
var state; | |
function QuoteStore(){} | |
QuoteStore.prototype.getState = function(){ | |
return state; |
This file contains 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
var fixtures = require('./fixtures.json'); | |
var assert = expect; | |
describe('Line', function(){ | |
// setup | |
var state = [fixtures.courseLine, fixtures.serviceLine]; | |
function mapCurrency(line){ | |
return line.currency; | |
} |
This file contains 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
[alias] | |
st = status | |
ci = commit | |
br = branch | |
checkout = checkout | |
df = diff | |
co = checkout | |
lg = log | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
stp = status --porcelain |
This file contains 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
RewriteRule / - [L,R=404] |
This file contains 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
form | |
h1 New Invoice | |
fieldset | |
legend Client Info | |
.field | |
label(for=rfc) RFC | |
input(id=rfc, placeholder="ABX000102XYZ") | |
.field | |
label(for=name) Name | |
input(id=name, placeholder='Razón Social') |
This file contains 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
[ | |
{ "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["alt+up"], "command": "swap_line_up" }, | |
{ "keys": ["alt+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+shift+down"], "command": "select_lines", "args": {"forward": true} }, | |
{ "keys": ["ctrl+shift+up"], "command": "select_lines", "args": {"forward": false} }, | |
// Ajustar lineas en CSS | |
{ "keys": ["ctrl+shift+alt+c"], "command": "css_sorter" }, |
This file contains 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
// Place your Spring DSL code here | |
import org.springframework.security.web.context.HttpSessionSecurityContextRepository | |
import grails.plugin.springsecurity.web.authentication.AjaxAwareAuthenticationEntryPoint | |
import org.springframework.security.core.context.SecurityContext | |
import org.springframework.security.core.context.SecurityContextHolder | |
import org.springframework.security.web.context.NullSecurityContextRepository | |
import org.springframework.security.web.context.HttpRequestResponseHolder | |
import javax.servlet.http.HttpServletRequest |
NewerOlder