Skip to content

Instantly share code, notes, and snippets.

View loiane's full-sized avatar

Loiane Groner loiane

View GitHub Profile
@loiane
loiane / Main.java
Created February 7, 2015 16:25
switch-case java
public class Main {
public static void main(String[] args) {
int valor = 1;
switch(valor){
case 1: System.out.println("Valor é 1");
System.out.println("Valor é 1 - outra mensagem");
break;
case 2: System.out.println("Valor é 2");
public class PauloCoelho {
public static void main(String[] args) {
String Dados = "Paulo Coelho";
System.out.println("Paulo Coelho");
System.out.println("Literatura");
}
}
@loiane
loiane / MatrizesTipoDiferente.java
Created April 14, 2015 23:46
MatrizesTipoDiferente
package com.loiane.cursojava.aula20;
public class MatrizesTipoDiferente {
public static void main(String[] args) {
Object[][] matriz = new Object[1][5];
matriz[0][0] = "Nome do aluno";
matriz[0][1] = 10;
@alegomes
@fmeyer
@lacerdaph
@celsoavmartins
@jeveaux
@glbenz
@leohackin
@lucastex
@loiane
@blpsilva
@loiane
loiane / ext-lang-pt_BR.js
Created April 8, 2011 01:12
Tradução Ext 4 para PT-BR
/**
* Portuguese/Brazil Translation by Weber Souza
* 08 April 2007
* Updated by Allan Brazute Alves (EthraZa)
* 06 September 2007
* Updated by Leonardo Lima
* 05 March 2008
* Updated by Juliano Tarini (jtarini)
* 22 April 2008
* Updated by Matheus G Bombonato (Nom4d3)
@loiane
loiane / wordpressCodeFormating
Created July 29, 2011 14:03
Wordpress code formating
[code lang="js" firstline="1" toolbar="true" collapse="false" wraplines="false"][/code]
[code lang="js" firstline="1" toolbar="true" collapse="false" wraplines="false" highlight="11"][/code]
@loiane
loiane / TVShows
Created September 6, 2011 22:42
TV Shows - Loiane
TV Shows - 2011
- The Big Bang Theory
- True Blood
- Game of Thrones
- Californication
- Lost Girl
- Fringe
- Supernatural
- Gossip Girl
- 90210
@loiane
loiane / gist:1351834
Created November 9, 2011 15:42 — forked from hay/gist:1351230
Enterprisify your Java Class Names!
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
background: white;
text-align: center;
padding: 20px;
font-family: Georgia, serif;
@loiane
loiane / extjs_4_blog_initial_draft
Created April 30, 2012 12:48
extjs mvc blog initial draft
Mais um exemplo MVC de ExtJS 4 aqui no blog. Hoje vamos ver o código do exemplo <a href="http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/multiselect/multiselect-demo.html" target="_blank">MultiSelect and ItemSelector – Form</a>.
image
Vamos lá!
<h2>Estrutura do Projeto:</h2>
imagem
<h2>Model</h2>
<h2>Store</h2>
<h2>View</h2>