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
@Service | |
public class VehicleServiceImpl implements VehicleService { | |
@PersistenceContext | |
EntityManager em; | |
/** | |
* O(1) | |
*/ | |
@Override |
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
@Entity | |
public class Vehicle { | |
private Double price; | |
private String pricestring; | |
public Double getPrice() { | |
return price; | |
} |
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
$bgColor: rgb(255, 255, 255) | |
$bgColorNavBar: rgb(255, 255, 255) | |
.grad | |
background-color: #8d55fd | |
background-image: -webkit-linear-gradient(top, hsl(0, 80%, 77%), #8d55fd) | |
background-image: -moz-linear-gradient(top, hsl(0, 80%, 77%), #8d55fd) | |
background-image: -ms-linear-gradient(top, hsl(0, 80%, 77%), #8d55fd) | |
background-image: -o-linear-gradient(top, hsl(0, 80%, 77%), #8d55fd) | |
background-image: linear-gradient(to bottom, hsl(0, 80%, 77%), #8d55fd) |
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
.highlight | |
background-color: #ffffff | |
.tok-c | |
color: #999988 | |
font-style: italic | |
.tok-err | |
color: #a61717 | |
background-color: #e3d2d2 | |
.tok-k, .tok-o | |
color: black |
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
a, a:hover, a:active, a:visited, a:link | |
outline: none | |
text-decoration: none | |
.copyleft | |
-moz-transform: scaleX(-1) | |
-o-transform: scaleX(-1) | |
-webkit-transform: scaleX(-1) | |
transform: scaleX(-1) | |
display: inline-block |
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
%INE5364 Programação em Lógica - 2013-2 | |
%Lista de Exercícios envolvendo listas encadeadas: | |
% Tarefa: Implemente as cláusulas em PROLOG referente aos procedimentos | |
% para o manuseio de listas, de acordo com os enunciados a seguir. | |
% Coloque as respostas de cada um dos exercícios na caixa de edição de | |
% texto abaixo copiando o enunciado como comentários em prolog, seguido | |
% da solução proposta em cada um deles. | |
% (ling, who, inst, curso, id) → (prolog, lucas-tonussi, ufsc, cco, | |
% 12106577) |
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
% latexcolor.com | |
\definecolor{airforceblue}{rgb}{0.36, 0.54, 0.66} | |
\definecolor{alizarin}{rgb}{0.82, 0.1, 0.26} | |
\definecolor{amaranth}{rgb}{0.9, 0.17, 0.31} | |
\definecolor{antiquefuchsia}{rgb}{0.57, 0.36, 0.51} | |
\definecolor{arsenic}{rgb}{0.23, 0.27, 0.29} | |
\definecolor{ashgrey}{rgb}{0.7, 0.75, 0.71} | |
\definecolor{aurometalsaurus}{rgb}{0.43, 0.5, 0.5} | |
\definecolor{battleshipgrey}{rgb}{0.52, 0.52, 0.51} |
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
// ==UserScript== | |
// @name muat | |
// @description Script para atualizar de tempo_em_millis em tempo_em_millis | |
// na página do moodle e nunca mais deslogar. | |
// @include https://moodle.ufsc.br/* | |
// @version 1.1 | |
// @grant none | |
// @author Lucas Tonussi | |
// ==/UserScript== |
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 springmass; | |
public interface DiffEq { | |
/* | |
* returns the array of state variables associated with this diff eq | |
*/ | |
public double[] getVars(); | |
/* | |
* defines the equations of the diff eq. input is the current variables in |
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
{ | |
tonussi = { | |
"first": "Lucas", | |
"last": "Tonussi", | |
"age": 23, | |
"sex": "M", | |
"registered": false, | |
"class": "Mage", // se achou o gandalf | |
"interests": [ "Reading", "Mountain Biking", "Hacking" ], | |
"phrases": ["vamo ae", "da pra fazer miséria"], |