Skip to content

Instantly share code, notes, and snippets.

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;
@EduardoRFS
EduardoRFS / arch-tutorial.md
Last active Feb 26, 2021
Adicionado set-locale
View arch-tutorial.md

Resumo

  • criar partições
  • montar partições
  • instalar sistema
  • configurar hora
  • configurar rede
  • configurar localização
  • configurar usuario e sudo
  • configurar grub
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 Dockerfile-esy-arm
FROM agners/archlinuxarm-arm32v7
# pacman -Sy --noconfirm base-devel awk m4 git unzip perl wget ocaml opam ocaml-compiler-libs
RUN pacman -Sy --noconfirm base-devel awk m4 git unzip perl wget
RUN curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh | sh
RUN useradd -m esy-user
USER esy-user
View ocaml-android.md
  • Lwt wait4, perhaps emulate it? PR
  • ppx_expect, stdout with macros doesn't work PR
  • lambda-term, nl_langinfo isn't available PR
  • reason-sdl2, keycode 32bit
  • camljava, missing reference PR

Android

  • pw_passwd
  • caml_executable_name
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