https://gitlab.com/dptole/osu-beatmap-packs/-/raw/main/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main exposing (main) | |
import Browser | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
import Html.Keyed | |
import Http | |
import Json.Decode exposing (Decoder, field, string, dict, map2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- https://ellie-app.com/7CqD92dY2cza1 | |
-- https://webglfundamentals.org/ | |
-- elm install elm-explorations/linear-algebra | |
-- elm install elm-explorations/webgl | |
module Main exposing (..) | |
import Browser | |
import Html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://jsfiddle.net/4bdwavo0/ --> | |
<!doctype html> | |
<html> | |
<head> | |
<!-- https://webglfundamentals.org/ --> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://jsfiddle.net/jLo12nr5/ --> | |
<!doctype html> | |
<html> | |
<head> | |
<!-- https://webglfundamentals.org/ --> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- https://ellie-app.com/7CqCLBYQCYHa1 | |
-- https://webglfundamentals.org/ | |
-- elm install elm-explorations/linear-algebra | |
-- elm install elm-explorations/webgl | |
-- elm install elm/json | |
module Main exposing (..) | |
import Browser | |
import Json.Decode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://reactjs.org/docs/hooks-intro.html | |
// https://reactjs.org/docs/hooks-overview.html | |
// https://reactjs.org/docs/hooks-state.html | |
// https://reactjs.org/docs/hooks-effect.html | |
// https://reactjs.org/docs/hooks-rules.html | |
// https://reactjs.org/docs/hooks-custom.html | |
// https://reactjs.org/docs/hooks-reference.html | |
const createActions = model => { | |
const actions = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
IDU="$(id -u)" | |
IDG="$(id -g)" | |
if [ "0" != "$IDU" ] | |
then | |
echo "Utilizar usuário root" | |
exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Encode/Decode text using HPACK: Header Compression for HTTP/2. | |
https://httpwg.org/specs/rfc7541.html | |
dptole@github | |
*/ | |
var hpack = { | |
getEos: function () { | |
return '111111111111111111111111111111'; | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const help = { | |
genPagination: (pageLength, fullPageSelectedIndex) => { | |
const fullPage = Array.from(Array(pageLength)).map((v, i) => i) | |
if (fullPage.length < 11) return fullPage | |
let minLeftCut = 2 | |
let maxLeftCut = 6 | |
let minRightCut = 2 |