View Smith.java
package com.smith; | |
import org.bukkit.Material; | |
import org.bukkit.block.Chest; | |
import org.bukkit.command.Command; | |
import org.bukkit.command.CommandSender; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.player.PlayerInteractEvent; | |
import org.bukkit.inventory.ItemStack; |
View .eslintrc.js
module.exports = { | |
parserOptions: { project: './tsconfig.json' }, | |
extends: [ | |
'airbnb-typescript/base', | |
'plugin:@typescript-eslint/recommended', | |
'plugin:@typescript-eslint/recommended-requiring-type-checking', | |
'plugin:prettier/recommended', | |
'prettier/@typescript-eslint', | |
], | |
rules: { |
View md-roupi-tb.md
tb_partida
id | vencedor |
---|---|
0 | 1 |
1 | 2 |
tb_time
| id_partida | id_time | nome |
View settings.json
{ | |
// fonts | |
"editor.fontSize": 18, | |
"markdown.preview.fontSize": 18, | |
"terminal.integrated.fontSize": 18, | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "'Fira Code'", | |
"terminal.integrated.fontFamily": "Consolas, 'Fira Code'", | |
"workbench.iconTheme": "material-icon-theme", |
View node.CHANGELOG.8.9.4.8.16.2.md
2019-10-09, Version 8.16.2 'Carbon' (LTS), @BethGriggs
Node.js 8 is due to go End-of-Life on 31st December 2019.
Notable changes
- deps: upgrade openssl sources to 1.0.2s (Sam Roberts) #28230
Commits
View benchmarks-are-hard.md
Idea
Reason is faster than JavaScript when using BuckleScript.
Why?
The way that you design APIs are different, JavaScript code and the lack of a type system leads to APIs being designed strictly for humans.
String as type identifier
View upgrade-bucklescript.sh
#!/bin/bash | |
cd /app | |
sudo apt-get -y install nodejs npm m4 | |
curl -o- -L https://yarnpkg.com/install.sh | bash | |
source ~/.bashrc | |
export OPAMYES=true | |
opam switch create 4.06.1 |
View Dockerfile-update-bs
FROM archlinux | |
ENV OPAMYES=true | |
RUN pacman -Sy --noconfirm base-devel awk m4 git unzip perl wget nodejs npm yarn | |
RUN curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh | sh | |
RUN useradd -m updatebs | |
USER updatebs |
OlderNewer