This file contains 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
function role(roleplayer, role) | |
local mt = getmetatable(roleplayer) | |
setmetatable(role, mt) | |
setmetatable(roleplayer, role) | |
end | |
function striprole(roleplayer) | |
setmetatable(roleplayer, getmetatable(getmetatable(roleplayer))) | |
end |
This file contains 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
object Telnet { | |
type ByteString = Vector[Byte] | |
type Commands = Vector[Command] | |
abstract class Command | |
case class Line(text: String) extends Command | |
case class SubNegotiaton(option: Byte, data: ByteString) extends Command | |
case class Will(option: Byte) extends Command |
This file contains 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
// 🚀 Fiber is an Express inspired web framework written in Go with 💖 | |
// 📌 API Documentation: https://fiber.wiki | |
// 📝 Github Repository: https://github.com/gofiber/fiber | |
// 🙏 Credits to github.com/labstack/echo/blob/master/middleware/csrf.go | |
package csrf | |
import ( | |
"crypto/subtle" | |
"errors" |
This file contains 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 generate-aliases | |
go 1.13 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"net" | |
"time" | |
"google.golang.org/grpc" |
This file contains 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
Building Go cmd/dist using C:\Go | |
Building Go toolchain1 using C:\Go. | |
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. | |
Building Go toolchain2 using go_bootstrap and Go toolchain1. | |
Building Go toolchain3 using go_bootstrap and Go toolchain2. | |
Building packages and commands for windows/amd64. | |
##### Testing packages. | |
ok archive/tar 3.046s |
This file contains 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
package main | |
import ( | |
"database/sql" | |
"encoding/json" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"net/http" | |
"time" |
This file contains 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
package main | |
import ( | |
"encoding/hex" | |
"fmt" | |
"math/rand" | |
"github.com/gopherjs/vecty" | |
"github.com/gopherjs/vecty/elem" | |
"github.com/gopherjs/vecty/event" |
This file contains 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
package main | |
import ( | |
"bufio" | |
"bytes" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"os" | |
"path" |