Skip to content

Instantly share code, notes, and snippets.

View Renatodeluna's full-sized avatar
🚀

Renato de Luna Renatodeluna

🚀
View GitHub Profile
@sergiolopes
sergiolopes / Gruntfile.js
Created June 10, 2013 22:07
Exemplo mínimo de Grunt.js pro blog da Caelum
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
'build/teste.js': 'src/teste.js'
},
less: {
'build/estilo.css': ['src/*.less']
}
});
@sergiopvilar
sergiopvilar / valorPorExtenso.js
Last active November 23, 2023 13:18
Transcrição de valores por extenso em Javascript
// Define as partes do valor por extenso
var extenso = [];
extenso[1] = 'um';
extenso[2] = 'dois';
extenso[3] = 'tres';
extenso[4] = 'quatro';
extenso[5] = 'cinco';
extenso[6] = 'seis';
extenso[7] = 'sete';
@rafaell-lycan
rafaell-lycan / App.jsx
Last active July 10, 2020 01:52
Source code for implementing a React <Tabs/> component.
import React from 'react';
import { render } from 'react-dom';
import Tabs from './Tabs';
const App = () => {
return (
<Tabs>
<Tabs.Tab label={'Tab 1'}>
<p>Content 1</p>
</Tabs.Tab>