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
onPDF() { | |
var element = document.getElementById('teste').innerHTML; | |
//html header | |
var header = "<div style='width: 100%; height: 100px;'><div style='float: left'>" + | |
"<img src='" + "assets/logo/somar.png" + "' style='width: auto; height: 100px;'>" + | |
"</div>" + | |
"<div style='float: right'>" + | |
"<img src='" + "assets/logo/marica.png" + "' style='width: auto; height: 70px;'>" + |
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
<div> | |
<!-- TODO: Diminur botao de envio --> | |
<Button | |
@action="$refs['csv-file'].click()" | |
width="360px" | |
height="54px" | |
otherClass="text-none | |
subtitle-2 | |
font-weight-light | |
px-12 |
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
npm init nuxt-app <project-name> |
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
{ | |
"editor.fontFamily": "Fira Code", | |
"editor.fontSize": 14, | |
"editor.fontLigatures": true, | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.suggestSelection": "first", | |
"editor.formatOnSave": true, | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"workbench.editorAssociations": { | |
"*.ipynb": "jupyter-notebook" |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
# others | |
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git" | |
source "${ZINIT_HOME}/zinit.zsh" |
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
import 'package:flutter/material.dart'; | |
class TesteWidget extends StatefulWidget { | |
const TesteWidget({Key? key}) : super(key: key); | |
@override | |
_TesteWidgetState createState() => _TesteWidgetState(); | |
} | |
class _TesteWidgetState extends State<TesteWidget> { |
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
import java.awt.Graphics; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.geom.GeneralPath; | |
public class JPoligonosRegulares extends JPanel { | |
// parametros: numero de lados, tamanho e cores. | |
private int numLados; | |
private int tamanho; | |
private Color[] cores; |
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
#include <iostream> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <bits/stdc++.h> | |
#define MAX 100 | |
#define INF 99999 | |
int grafo[MAX][MAX]; // representação matricial dos grafos | |
// Funcao para ler a matriz |
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
void CGR2020016324View::OnDraw(CDC* pDC) | |
{ | |
CGR2020016324Doc* pDoc = GetDocument(); | |
ASSERT_VALID(pDoc); | |
if (!pDoc) | |
return; | |
// TODO: adicione o código de desenho para dados nativos aqui | |
CRect rectTela; |
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
#include <iostream> | |
//template | |
template <class T> | |
class ListaOrdenada{ | |
private: | |
class No{ | |
private: | |
No* prox; | |
T dado; |
NewerOlder