- Emplea HAL para la descripci贸n de contenidos: https://dzone.com/articles/introduction-hypertext-0
- Tiene Basic HTTP Auth y Cookie Authentication
- Por defecto, permite operaciones: GET (lectura), POST (creaci贸n), PATCH (actualizar), y DELETE (borrar).
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
/** | |
* Gulp tutorial | |
* Based on: http://markgoodyear.com/2014/01/getting-started-with-gulp/ | |
*/ | |
// Requires gulp and gulp plugins | |
var gulp = require('gulp'), | |
less = require('gulp-less'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), |
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
<?php | |
class SimpleClass { | |
public param1; | |
public param2; | |
public loggedUser = false; | |
// constructor, se ejectua al crear una instancia: | |
// $instancia = new SimpleClass('valueForParam1', 'valueForParam2', $userIdDeOtroLado); | |
function __construct($param1, $param2, $userId = false) { |
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
<?php | |
// Manejable... | |
$flavors1 = array('chocolate', 'strawberry', 'vanilla', 'cookie dough', | |
'chocolate chip', 'mint chocolate chip', 'rocky road', | |
'peach', 'fudge brownie', 'coffee', 'mocha chip'); | |
if ($condition == 1) { | |
$flavors1 = array('chocolate', 'strawberry', 'vanilla', 'cookie dough', | |
'chocolate chip', 'mint chocolate chip', 'rocky road', |
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
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
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
git diff-tree --no-commit-id --name-only -r [commit hash] | |
#or | |
git show --pretty="format:" --name-only [commit hash] |
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
Show hidden characters
[ | |
/* Default fixes and customizations | |
----------------------------------------------------------------------------- | |
use "sublime.log_input(True)" in console to inspect key codes | |
use "sublime.log_commands(True)" in console to inspect triggered commands | |
*/ | |
// Alternative to open ST console | |
{ "keys": ["f8"], "command": "show_panel", "args": {"panel": "console"} }, | |
// Fixes for spanish keyboards |
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
var path = require('path'), | |
webpack = require('webpack'), | |
HtmlWebpackPlugin = require('html-webpack-plugin'), | |
OpenBrowserPlugin = require('open-browser-webpack-plugin'), | |
ExtractTextPlugin = require('extract-text-webpack-plugin'), | |
precss = require('precss'), | |
autoprefixer = require('autoprefixer'), | |
DashboardPlugin = require('webpack-dashboard/plugin'); | |
mockMode = false; |
An event listener is added to a parent element instead of on its descendants. As child events bubbles up DOM the event is triggered. This allows less memory usage and having to handle events after removing or adding descendants.
OlderNewer