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
| [ | |
| { | |
| "game_1": { | |
| "kill_data": { | |
| }, | |
| "kills_by_means": { | |
| }, | |
| "rank_data": [ |
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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "github.com/vmihailenco/msgpack" | |
| ) | |
| func main() { |
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
| func main() { | |
| arguments := os.Args | |
| if len(arguments) == 1 { | |
| fmt.Println("Please provide a port number!") | |
| return | |
| } | |
| PORT := ":" + arguments[1] | |
| l, err := net.Listen("tcp4", PORT) | |
| if err != nil { |
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
| BEGIN TRAN | |
| DELETE usuarioconhecimentoidioma | |
| FROM usuarioconhecimentoidioma q | |
| JOIN (SELECT c.idusuariomapeamento, | |
| Max(c.ididioma) ididioma, | |
| Count(*) qtd | |
| FROM usuarioconhecimentoidioma c | |
| JOIN usuariomapeamento um | |
| ON c.idusuariomapeamento = um.id |
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
| select | |
| c.IdUsuarioMapeamento | |
| ,l.NomeUsuario | |
| ,l.Id | |
| ,count(*) qtd | |
| from UsuarioConhecimentoIdioma c | |
| join UsuarioMapeamento um on c.IdUsuarioMapeamento = um.Id | |
| join login l on um.IdLogin = l.Id | |
| group by c.IdUsuarioMapeamento, l.NomeUsuario, l.Id | |
| having count(*) > 2 |
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
| --Query 1 | |
| SELECT * FROM IDIOMA | |
| --QUERY 2 | |
| select | |
| idprocesso, | |
| count(*) as qtdIdiomas | |
| from ProcessoConhecimentoIdioma | |
| group by idprocesso | |
| having count(*) > 2 |
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
| conclusoes.Any(x=>x.Documento == documentoPlanilha)) && conclusoes.First(x=>x.Documento == documentoPlanilha).QuantidadeConcluida == quantidadeTotal |
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
| public class Usuario : EntidadeBase | |
| { | |
| public Usuario() | |
| { | |
| } | |
| public string Login { get; protected set; } | |
| public string Senha { get; protected set; } | |
| public virtual ICollection<Grupo> Grupos { get; protected set; } |
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
| ;function checkboxUtil(){ | |
| var input | |
| , init; | |
| this.init = function(){ | |
| input = $("form input:checkbox") | |
| var self = this; | |
| input.live('click', function () { | |
| var elemento = $(this); |
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
| ;function checkboxUtil(){ | |
| var input | |
| , init; | |
| this.init = function(){ | |
| input = $("form input:checkbox") | |
| var self = this; | |
| input.live('click', function () { | |
| var elemento = $(this); |
NewerOlder