jsTree e jQuery

Pesquisar este blog

Contribua

Te ajudei? Quer retribuir? PIX de qualquer quantia.

AutoHotKey e Magicka


;ALTERE SUAS CONFIGURAÇÕES NO JOGO PARA
;water  = u - original q
;heal   = i - original w
;shield = o - original e
;ice    = p - original r

;lightning = h - original a
;arcane    = j - original s
;earth     = k - original d
;fire      = l - original f

;http://www.magickapedia.net

#NoEnv
SetKeyDelay, 100, 50

caminho = %A_ProgramFiles%\Steam\Steam.exe
IfNotExist % caminho
{
    caminho = %A_ProgramFiles% (x86)\Steam\Steam.exe
}

IfExist % caminho
{
    Run %caminho% -applaunch 42910
    Process, Wait, Magicka.exe
    Process, Exist, Magicka.exe
    PID = %ErrorLevel%
    Process, WaitClose, %PID%
    ExitApp
}

;COMBOS DE 2 MAGIAS
;lu - fogo + água = chuva
;up - água + frio = gelo

;MAGIAS
1::magia_correr()
2::magia_reviver()
3::magia_tempestade()       ;A PARTIR DO CAPÍTULO 3 - OBTIDA DE UM LIVRO AO MATAR OS DRUIDAS
!3::magia_tempestade_neve() ;segure ALT e aperte 3 - A PARTIR DO CAPÍTULO 6 - OBTIDA LOGO NO COMEÇO CONGELANDO O LAGO E PEGANDO UM LIVRO
4::magia_anular()           ;A PARTIR DO CAPÍTULO 2 - OBTIDA NO ALTAR DO GOBLIN KALIMAH
5::magia_confusao() 
6::magia_teletransporte() ;A PARTIR DO CAPÍTULO 7
!6::magia_invisivel()     ;A PARTIR DO CAPÍTULO 11 - OBTIDA DE UM LIVRO ESCONDIDO LOGO NO INÍCIO, VÁ PARA A DIREITA E DEPOIS PARA BAIXO
7::magia_fenix()  ;OBTIDA NO CAPÍTULO 8
8::magia_zumbis() ;OBTIDA NO CAPÍTULO 9
9::dona_morte()   ;A PARTIR DO CAPÍTULO 10 APÓS MATAR O CHEFÃO
0::magia_vortex()
XButton2::molhar()
!XButton2::secar() ;segure o ALT e aperte o botão 5 do mouse (se você tiver um mouse de 5 botões é claro)

;ARMADURAS ou BARREIRAS
q::armadura_agua_vida_pedra()
!q::barreira_vida() ;segure o ALT e aperte q
w::armadura_pedra()
e::armadura_anti_chamas()
t::magia_espanta_almas()
r::magia_medo() ;A PARTIR DO CAPÍTULO 9 - OBTIDA DENTRO DO CASTELO EM UMA ESTANTE
;r::arco_neve()
;r::arco_chuva()

;METEORO, RAIO, INCENTIO ou LASER
a::meteoro_gelo()
s::magia_raio()     ;A PARTIR DO CAPÍTULO 3 - OBTIDA DE UM LIVRO AO MATAR O CHEFÃO (DRUIDAS)
d::magia_incendio() ;A PARTIR DO CAPÍTULO 4 - OBTIDA DENTRO DE UMA CASA EM CHAMAS
f::laser_chuva1_eletrico1()
g::pedrada()

;CONGELAR CHÃO, EXPLOSÃO ou ARCO DE FOGO
z::congelar_redor2()
x::explosao()
c::magia_arco_fogo()

;CURA
XButton1::cura()
!XButton1::cura_cyber() ;cura 900+ para o cyber - segure o ALT e aperte o botão 4 do mouse (se você tiver um mouse de 5 botões é claro)


; MINHAS FUNÇÕES

cura(){
    send, {i Down}
    send, {i up}
  
    send, {Mbutton Down}
    sleep, 65
    send, {Mbutton Up}
  
    return
}

;cura de 900+
cura_cyber(){
    ;send asa{space} ;original
  
    send, {h Down}
    send, {h up}
  
    send, {j Down}
    send, {j up}
  
    send, {h Down}
    send, {h up}
  
    send, {Mbutton Down}
    sleep, 65
    send, {Mbutton Up}
  
    return
}

magia_correr(){
    ;send asf{space} ;original
    send, {h Down}
    send, {h up}
  
    send, {j Down}
    send, {j up}
  
    send, {l Down}
    send, {l up}
  
    send, {space Down}
    sleep, 50
    send, {space up}
  
    return
}

magia_reviver(){
    send, {i Down}
    send, {i up}
      
    send, {h Down}
    send, {h up}
  
    send, {space Down}
    sleep, 65
    send, {space Up}
  
    return
}

;A PARTIR DO CAPÍTULO 3 - OBTIDA DE UM LIVRO AO MATAR OS DRUIDAS
magia_tempestade(){
    send, {u Down}
    send, {u up}
  
    send, {u Down}
    send, {u up}
  
    send, {l Down}
    send, {l up}
  
    send, {space Down}
    sleep, 50
    send, {space Up}
  
    return
}

;útil contra a dona morte quando ela invoca as caveiras
magia_anular(){
    send, {j down}
    send, {j up}
  
    send, {o down}
    send, {o up}
  
    send, {space down}
    sleep, 50
    send, {space up}
  
    return
}

;útil quando há muitos inimigos
magia_confusao(){
    send, {j down}
    send, {j up}
  
    send, {o down}
    send, {o up}
  
    send, {h down}
    send, {h up}
  
    send, {space down}
    sleep, 50
    send, {space up}
  
    return  
}

;dano 5000 - thunderbolt
magia_raio(){
    ;send qfas ;original
    ;send ulhj
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {h down}
    send, {h up}
  
    send, {j Down}
    send, {j up}
  
    send, {h down}
    send, {h up}
  
    send, {space down}
    sleep, 50
    send, {space up}
  
    return
}

;conflagração (incêndio)
;A PARTIR DO CAPÍTULO 4 - OBTIDA DENTRO DE UMA CASA EM CHAMAS
magia_incendio(){
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}

    send, {l down}
    send, {l up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {l down}
    send, {l up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {space down}
    sleep, 65
    send, {space up}
  
    return
}

magia_teletransporte(){
    send, {h down}
    send, {h up}
  
    send, {j down}
    send, {j up}
  
    send, {h down}
    send, {h up}
  
    send, {space down}
    sleep, 50
    send, {space up}
  
    return
}

magia_fenix(){
    send, {i down}
    send, {i up}
  
    send, {h down}
    send, {h up}
  
    send, {l down}
    send, {l up}
  
    send, {space down}
    sleep, 65
    send, {space up}
  
    return  
}

magia_zumbis(){
    send, {u down}
    send, {u up}
  
    send, {p down}
    send, {p up}
  
    send, {k down}
    send, {k up}
  
    send, {j down}
    send, {j up}
  
    send, {p down}
    send, {p up}
      
    send, {space down}
    sleep, 65
    send, {space up}
  
    return  
}

;fear
magia_medo(){
    send, {p down}
    send, {p up}
      
    send, {j down}
    send, {j up}
      
    send, {o down}
    send, {o up}
      
    send, {space down}
    sleep, 65
    send, {space up}
  
    return  
}

;A PARTIR DO CAPÍTULO 11 - OBTIDA DE UM LIVRO ESCONDIDO LOGO NO INÍCIO, VÁ PARA A DIREITA E DEPOIS PARA BAIXO
magia_invisivel(){
    send, {j down}
    send, {j up}
      
    send, {o down}
    send, {o up}
      
    send, {u down}
    send, {u up}
      
    send, {l down}
    send, {l up}
      
    send, {j down}
    send, {j up}
      
    send, {space down}
    sleep, 65
    send, {space up}
  
    return  
}

;A PARTIR DO ÚLTIMO CAPÍTULO
magia_vortex(){
  
    send, {u down}
    send, {u up}
      
    send, {p down}
    send, {p up}
      
    send, {j down}
    send, {j up}
      
    send, {u down}
    send, {u up}
      
    send, {p down}
    send, {p up}
      
    send, {o down}
    send, {o up}
      
    send, {u down}
    send, {u up}
      
    send, {p down}
    send, {p up}
      
    send, {space down}
    sleep, 65
    send, {space up}
  
    return  
}

;corporealize - útil contra o penúltimo chefão
magia_espanta_almas(){
    send, {j down}
    send, {j up}
      
    send, {l down}
    send, {l up}
      
    send, {u down}
    send, {u up}
      
    send, {h down}
    send, {h up}
      
    send, {o down}
    send, {o up}
      
    send, {j down}
    send, {j up}
      
    send, {space down}
    sleep, 65
    send, {space up}
  
    return  
}

;grease (graxa) - magia obtida de um livro escondido no capítulo 1 basta congelar o lago e atravessá-lo
magia_arco_fogo(){
    send, {u down}
    send, {u up}
  
    send, {k down}
    send, {k up}
      
    send, {i down}
    send, {i up}
      
    send, {space down}
    sleep, 65
    send, {space up}
  
    send, {l down}
    send, {l up}
  
    sleep, 2000
  
    send, {RButton down}
    sleep, 65
    send, {RButton up}

    return  
}

;blizzard
;A PARTIR DO CAPÍTULO 6 - OBTIDA LOGO NO COMEÇO CONGELANDO O LAGO E PEGANDO UM LIVRO
magia_tempestade_neve(){

    send, {p down}
    send, {p up}
      
    send, {p down}
    send, {p up}
      
    send, {u down}
    send, {u up}
      
    send, {p down}
    send, {p up}
      
    send, {space down}
    sleep, 65
    send, {space up}
  
    return  
}

armadura_pedra(){
    ;send edddd{Mbutton} ;original
  
    send, {o Down}
    send, {o up}
  
    send, {k Down}
    send, {k up}
  
    send, {k Down}
    send, {k up}
  
    send, {k Down}
    send, {k up}
  
    send, {k Down}
    send, {k up}
  
    send, {Mbutton Down}
    sleep, 65
    send, {Mbutton Up}
  
    return
}

armadura_agua_vida_pedra(){
    ;send eqwd{Mbutton}
  
    send, {o Down}
    send, {o up}
  
    send, {u Down}
    send, {u up}
  
    send, {i Down}
    send, {i up}
  
    send, {k Down}
    send, {k up}
  
    send, {Mbutton Down}
    sleep, 65
    send, {Mbutton Up}
  
    return
}

;útil contra fogo
armadura_anti_chamas(){
    ; Arcano+Raio+Fogo+Escudo
    send, {o Down}
    send, {o up}
  
    send, {j Down}
    send, {j up}
  
    send, {h Down}
    send, {h up}
  
    send, {l Down}
    send, {l up}
  
    send, {Mbutton Down}
    sleep, 65
    send, {Mbutton Up}
  
    return
}

arco_neve(){
    send, {p Down}
    send, {p up}
  
    send, {o Down}
    send, {o up}
  
    send, {Rbutton Down}
    sleep, 50
    send, {Rbutton Up}
  
    return
}

arco_chuva(){
    send, {u Down}
    send, {u up}
  
    send, {o Down}
    send, {o up}
  
    send, {Rbutton Down}
    sleep, 50
    send, {Rbutton Up}
  
    return
}


meteoro_gelo(){
    send, {k down}
    send, {k up}
  
    send, {u down}
    send, {u up}
    send, {p down}
    send, {p up}
  
    send, {u down}
    send, {u up}
    send, {p down}
    send, {p up}
  
    send, {u down}
    send, {u up}
    send, {p down}
    send, {p up}
  
    send, {u down}
    send, {u up}
    send, {p down}
    send, {p up}
  
    return
}

laser_chuva1_eletrico1(){
    send, {j Down}
    send, {j up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {h down}
    send, {h up}
  
    ;send, {h down}
    ;send, {h up}
  
    ;send, {h down}
    ;send, {h up}
  
    return
}

;dano +-400 por segundo - total +-4000
laser_chuva1_eletrico3(){
    send, {j Down}
    send, {j up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {h down}
    send, {h up}
  
    send, {h down}
    send, {h up}
  
    send, {h down}
    send, {h up}
      
    return
}

;dano +-400 por segundo - total +-4400
laser_chuva2_eletrico2(){
    ;send sfqfqaa{Rbutton down} ;original
  
    ;laser chuva chuva raio raio
    ;send, jluluhh
  
    send, {j Down}
    send, {j up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}

    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {h down}
    send, {h up}
  
    send, {h down}
    send, {h up}
  
    return
}

laser_chuva3_eletrico_gelo(){
    ;send sfqfqfqar{Rbutton down} ;original
    send, {j Down}
    send, {j up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {h down}
    send, {h up}

    send, {p down}
    send, {p up}
  
    return
}

;rápida de conjurar porém fraca
congelar_redor1(){
    send, jhp{LShift down}{Rbutton down}
    sleep, 65
    send, {Rbutton up}{Lshift up}
}

;lenta de conjurar porém forte
congelar_redor2(){
    ;send drddd{LShift down}{Rbutton down}
  
    send, {k Down}
    send, {k up}
  
    send, {p down}
    send, {p up}
  
    send, {k Down}
    send, {k up}
  
    send, {k Down}
    send, {k up}
  
    send, {k Down}
    send, {k up}
  
    send, {LShift down}{Rbutton down}
    sleep, 65
    send, {Rbutton up}{Lshift up}
  
    return
}

;útil contra o chefão dona morte, crie a barreira e quando ela for atacar crie outra, DANO +3600
barreira_vida(){
    send, {o Down}
    send, {o up}
  
    send, {k Down}
    send, {k up}
  
    send, {i Down}
    send, {i up}
  
    send, {LShift down}{Rbutton down}
    sleep, 65
    send, {Rbutton up}{Lshift up}
  
    return  
}

;dano +-1600
explosao(){
    ;send sfqfqaa{LShift down}{Rbutton down}
    send, {j Down}
    send, {j up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {l down}
    send, {l up}
    send, {u down}
    send, {u up}
  
    send, {h down}
    send, {h up}
    send, {h down}
    send, {h up}
  
    send, {LShift down}{Rbutton down}
    sleep 65
    send, {Rbutton up}{Lshift up}
  
    return
}

secar(){
    send, {l down}
    send, {l up}
  
    send, {Mbutton Down}
    sleep, 50
    send, {Mbutton Up}
  
    return
}

;útil quando você estiver pegando fogo
molhar(){
    send, {u down}
    send, {u up}
  
    send, {Mbutton Down}
    sleep, 50
    send, {Mbutton Up}  
  
    return
}

dona_morte(){
    send, {j down}
    send, {j up}
  
    send, {p down}
    send, {p up}
  
    send, {p down}
    send, {p up}

    send, {u down}
    send, {u up}
      
    send, {p down}
    send, {p up}
  
    send, {j down}
    send, {j up}
  
    send, {space down}
    sleep, 65
    send, {space up}
  
    return
}

;útil contra inimigos com escudo
pedrada(){
    send, {j Down}
    send, {j up}
  
    send, {k Down}
    send, {k up}
  
    send, {k Down}
    send, {k up}
  
    send, {k Down}
    send, {k up}
  
    send, {Rbutton Down}
    sleep, 65
    send, {Rbutton Up}
  
    return
}









Mão robótica aprende sozinha a realizar tarefas melhor que humanos

http://olhardigital.uol.com.br/fique_seguro/noticia/mao-robotica-aprende-sozinha-a-realizar-tarefas-melhor-que-humanos-veja/58259

Olhar Digital cada vez mais sensacionalista. Essa porcaria visivelmente não está melhor que uma mão humana, a manipulação hábil de objetos foi mostrada em uma animação e na demonstração real tem um barbante segurando o objeto para a mão não deixar cair e os movimentos são bem desengonçados.

Java Email - javax.mail.MessagingException: 501 5.5.4 Invalid domain name

Para resolver este problema defina esta propriedade.
É o domínio ao qual o e-mail possui alguma ligação.
props.put("mail.smtp.localhost", "algum.dominio.br");//teste

Mas você pode usar o mesmo domínio da propriedade "mail.smtp.host", como
props.put("mail.smtp.localhost", "smtp.gmail.com");

SMTP GMail / SMTP Google Mail

Não estava conseguindo enviar e-mails usando JavaMail.
Estava dando erro de autenticação, porém o usuário e senha estavam corretos.
Resolvei acessando este link:
https://www.google.com/settings/security/lesssecureapps

E marcando a opção Ativar.