A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
These examples are type 3 RESTful API requests and responses. The JSON-HAL specification is used to implement HATEOAS.
Some of the examples are based on my work as architect of the RESTful API at http://www.hautelook.com. All proprietary information has been removed.
| package main | |
| import "fmt" | |
| type Queue struct { | |
| element []int | |
| } | |
| func (q *Queue) enqueue(i int) { | |
| q.element = append(q.element, i) |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/labstack/echo/v4" | |
| "net/http" | |
| ) | |
| /* |