Skip to content

Instantly share code, notes, and snippets.

View efosao's full-sized avatar

Efosa Oyegun efosao

View GitHub Profile
@Chris-Gillis
Chris-Gillis / component.go
Last active February 23, 2024 02:49
Visual Studio Code config to get TailwindCSS autocomplete in Gomponents classes
import (
. "github.com/maragudk/gomponents/html"
)
func HeaderView() g.Node {
component := Div(Class("/* inside here you get tailwind autocomplete */"))
return component
}
@r0mdau
r0mdau / README.md
Last active December 28, 2023 23:33
Rust Actix vs Rust Hyper vs Go fasthttp vs Go net/http httprouter

Load tests

Injector

wrk is the binary used as injector, always used with these options:

./wrk -t12 -c1000 -d15s http://127.0.0.1:8080/

Results

@mikaelbr
mikaelbr / gulpfile.js
Created January 14, 2014 20:24
Example gulpfile for complete set-up.
var gulp = require('gulp');
var browserify = require('gulp-browserify');
var concat = require('gulp-concat');
var less = require('gulp-less');
var refresh = require('gulp-livereload');
var lr = require('tiny-lr');
var server = lr();
var minifyCSS = require('gulp-minify-css');
var embedlr = require('gulp-embedlr');