npm install -g yo
npm install -g generator-webapp
yo webapp
#Git Bash: Configure Git (git config)
###Syntax:
git config --global user.name <“User Name”>
git config --global user.email <UserEmailAddress>
###Set the global User.Name value for the current user on the system:
$ git config --global user.name “FirstName LastName”
<form action="http://projetounimed.local/image.php" method="post" onsubmit="return checkCoords();"> | |
<input type="hidden" name="id" value="{{entity.id}}" /> | |
<input type="hidden" name="blob" value="{{ path('getmidiablob', { 'id': entity.id} ) }}" /> | |
<input type="hidden" name="mime" value="{{ entity.mimetype }}" /> | |
<input type="hidden" id="x" name="x" /> | |
<input type="hidden" id="y" name="y" /> | |
<input type="hidden" id="w" name="w" /> | |
<input type="hidden" id="h" name="h" /> | |
<input type="submit" value="Crop Image" /> | |
</form> |
<?php | |
// if( empty($_POST) | |
// || !isset($_POST['id']) || empty($_POST['id']) | |
// || !isset($_POST['croppedImage']) || empty($_POST['croppedImage'])) | |
// { | |
// echo "ERRO: Dados faltando."; | |
// exit; | |
// } |
<?php | |
/* | |
Plugin Name: Media Upload Selected - Snippet | |
Description: Show by default the Midia uploaded from the selected post on insert midia. | |
Version: 0.1 | |
License: GPL | |
*/ | |
add_action( 'admin_footer-post-new.php', 'wpse_76048_script' ); | |
add_action( 'admin_footer-post.php', 'wpse_76048_script' ); |
<?php | |
/* | |
Plugin Name: Manage Your Media Only | |
Description: Show only the author's Media in the edit list | |
Version: 0.1 | |
License: GPL | |
*/ | |
//Manage Your Media Only | |
function mymo_parse_query_useronly( $wp_query ) { |
<?php | |
/* | |
Plugin Name: Simplify Post Edit List | |
Description: Show only the author's posts in the edit list | |
Version: 0.1 | |
License: GPL | |
Author: Sarah Gooding | |
Author URI: http://untame.net | |
*/ |
The following should be escaped if you are trying to match that character | |
\ ^ . $ | ( ) [ ] | |
* + ? { } , | |
Special Character Definitions | |
\ Quote the next metacharacter | |
^ Match the beginning of the line | |
. Match any character (except newline) | |
$ Match the end of the line (or before newline at the end) |
Attention: the list was moved to https://github.com/vitorbritto/dev-list
This page is not maintained anymore, please update your bookmarks.
Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!
# Primeiro crie um repositorio Local. | |
$ git init | |
Initialized empty Git repository in C:\Projetos\site\.git | |
$ cat ' ' > index.html | |
$ git add index.html | |
$ git commit -q -m "Iniciando o repositório" | |
# No Servidor | |
# Crie Repositorio Vazio | |
$ mkdir site.git && cd site.git |