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 * as React from 'react'; | |
import { useTranslation } from 'react-i18next'; | |
type Dictionary = string | DictionaryObject; | |
type DictionaryObject = { [K: string]: Dictionary }; | |
const dict = { | |
form: { | |
title: 'Nova Ideia', | |
fields: { | |
unit: 'Qual é a sua unidade?', |
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
//use OpenGL library for drawing a simple red house. | |
#include <GL/glut.h> // GLUT, includes glu.h and gl.h | |
#include <stdlib.h> | |
#include <stdio.h> | |
// Initialize OpenGL Graphics | |
void init() | |
{ | |
// Define a cor de fundo da janela |
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
function createStateMachine<States extends string, TagIds extends string>( | |
events: { | |
for: [States, TagIds, FormatterOptions][], | |
transitions: Array<{ | |
from: States, | |
to: States, | |
when: { | |
operator: Operators, | |
operands: Operands | |
} |