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
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "Favor definir um arquivo de entrada" | |
exit | |
fi | |
if [ -z "$2" ] | |
then | |
echo "Favor definir um arquivo de saída" |
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 ddf.minim.*; | |
Minim minim; | |
AudioPlayer groove; | |
float c = 0; | |
int step = 1; | |
void setup() | |
{ |
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
install.packages("tidyverse") | |
install.packages("openxlsx") | |
install.packages("writexl") | |
install.packages("readxl") | |
install.packages("knitr") | |
install.packages("PNADcIBGE") | |
library(tidyverse) | |
library(openxlsx) | |
library(writexl) |
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 <cstdio> | |
#include <iomanip> | |
#include <cstdlib> | |
#define MAX_SIZE 1000 | |
#define UNDEFINED -1 | |
using namespace std; |
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 pygame | |
import random | |
from pygame.locals import * | |
pygame.init() | |
display = pygame.display.set_mode((640, 480)) | |
fantasma = pygame.image.load("ghost1.png").convert() | |
font = pygame.font.Font(None, 50) |
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 <string> | |
#include <stack> | |
#include <sstream> | |
using namespace std; | |
// A fazer: | |
// Suportar numeros com mais de 1 algarismo | |
// Conversão string->int |