Skip to content

Instantly share code, notes, and snippets.

View vmarcosp's full-sized avatar
No action can be virtuous unless it is freely chosen

Marcos Oliveira vmarcosp

No action can be virtuous unless it is freely chosen
View GitHub Profile
@vmarcosp
vmarcosp / api.json
Created October 23, 2021 16:53
Arquivo json-server - ES77 Aula #08
[
{
"id":1,
"name":"Compras da semana",
"completed":false,
"createdAt":"2021-10-23T16:52:45.875Z"
},
{
"id":2,
"name":"Compras da semana",
@vmarcosp
vmarcosp / spinner.svg
Created October 18, 2021 18:24
Animated Spinner - Curso EcmaScript 2077
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vmarcosp
vmarcosp / bsconfig.json
Created September 21, 2021 23:46
Configuração do compilador do ReScript - Curso EcmaScript2077
{
"name": "rescript-vanilla",
"sources": [
{
"dir": "src",
"subdirs": true
}
],
"package-specs": [
{
@vmarcosp
vmarcosp / FramerMotion.res
Created August 9, 2021 23:03
Simple bindings for framer-motion
module Elements = {
type motionElement
type t = [#div | #section]
@module("React")
external createElement: (motionElement, 'props, React.element) => React.element = "createElement"
@module("framer-motion") @scope("motion")
external div: motionElement = "div"
@vmarcosp
vmarcosp / links-live-rescriptbr.md
Last active November 25, 2022 16:22
Links de todas as referências, redes sociais e sites utilizados nas lives de ReScript
module FramerMotion = {
type animateValue
type controlStatus = [#visible | #hidden]
type controls = {start: (. controlStatus) => unit}
type animate = [#controlled(controls) | #visible | #hidden]
@deriving(abstract)
type transition = {
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.