Skip to content

Instantly share code, notes, and snippets.

View zant's full-sized avatar
🐢

gonzalo torres zant

🐢
  • asunción/berlín
View GitHub Profile
@zant
zant / lem.v
Created October 16, 2020 17:04
Definition negb (b: bool) : bool :=
match b with
| true => false
| false => true
end.
Definition orb (b1: bool) (b2: bool) : bool :=
match b1 with
| false => b2
| true => true
@zant
zant / hm1.jl
Created September 15, 2020 20:10
### A Pluto.jl notebook ###
# v0.11.14
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))
@zant
zant / nothing.md
Last active September 7, 2020 14:39
We couldn’t find that file to show.
@zant
zant / react-hooks-form-antd.js
Last active March 12, 2020 21:21
AntD with react-hook-form
const Example = () => {
const { control, handleSubmit, errors } = useForm()
const onSubmit = data => console.log(data)
console.log(errors)
return (
<Form onSubmit={handleSubmit(onSubmit)}>
<Controller

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@zant
zant / orgnzr.cc
Last active December 21, 2019 19:56
Organize files from exercises in folders by chapter
// script to organize files with the form '1.0' to 'chapter1/1.0'
#include <stdio.h>
#include <iostream>
#include <filesystem>
#include <regex>
namespace fs = std::filesystem;
int main () {
@zant
zant / init.vim
Created December 2, 2019 21:44
ma nvim settings yo yo yo
inoremap jk <esc>
inoremap kj <esc>
call plug#begin()
Plug 'ayu-theme/ayu-vim'
Plug 'scrooloose/nerdtree'
Plug 'HerringtonDarkholme/yats.vim' " TS Syntax
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'christoomey/vim-tmux-navigator'
@zant
zant / settings.json
Created July 6, 2019 22:27
ma vscode's settings ✌️☮️
{
"workbench.colorTheme": "Material Theme Ocean High Contrast",
"workbench.statusBar.visible": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"window.zoomLevel": 0,
"editor.fontSize": 14,
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace",
"files.exclude": {
"**/node_modules": true
},