Atalho | Ação |
---|---|
Ctrl + Alt + V | Criar variável a partir do valor de retorno |
Ctrl + Alt + F | Criar field a partir do valor de retorno |
Ctrl + W | Selecionar expressão |
Alt + Enter | "Quickfix" |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Fontes
Atalho | Ação |
---|---|
ctrl + alt + J | juntar linhas selecionadas em uma só. |
ctrl + shift + L | mostra uma lista com todos os atalhos registrados. |
f2 | mostra javadoc da seleção. |
ctrl + alt + H | mostra todos os métodos que chamam o método selecionado. |
ctrl + K | encontra próxima ocorrência da seleção ou da última busca, se nada estiver selecionado. Após usar, o último elemento selecionado vira a “última busca”, no caso de nada estar selecionado. |
Atalho | Ação |
---|---|
Ctrl + Shift + K | apagar linha |
Ctrl + D | selecionar próxima expressão similar |
Ctrl + K, ctrl + D | selecionar próxima expressão similar, sem selecionar a atual |
Ctrl + L | selecionar a linha |
Ctrl + Shift + Cima ou Baixo | mover linha onde o cursor está pra cima ou pra baixo |
Ctrl + Alt + Cima ou Baixo | selecionar colunas |
TODO: Usar algum script pra organizar essa tabela direitin depois
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
package net.thiagomarinho.testes; | |
@RunWith(Parameterized.class) | |
public class TesteParameterized { | |
private int id; | |
// O exemplo desse método tá bem pobre. Acho que posso melhorá-lo depois. | |
@Parameters(name = "registro #{0}") | |
public static List<Integer[]> data() throws Exception { | |
Integer[][] ids = new Integer[10][]; |
Adapted (but very updated) from:
http://blog.firsthand.ca/2010/10/installing-redmine-on-heroku-with-s3.html
http://blazingcloud.net/2010/06/18/deploying-a-redmine-wiki-to-heroku/
- Import the latest trunk from svn to git (since we're not concerned with all the branches and tags, we don't need to use svn2git tool)
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
function ajaxRequest(config, complete, success, error) { | |
jQuery.ajax(config) | |
.complete(function(jqXHR, textStatus) { | |
if (jQuery.isFunction(complete)) { | |
complete(); | |
} | |
switch (textStatus) { | |
case "error" : | |
case "timeout" : |
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
$('#id-do-formulario').live('submit', function() { | |
var form = $(this); | |
if (form.data('submitting')) { | |
return false; | |
} | |
form.data('submitting', true); | |
var config = []; |
NewerOlder