Skip to content

Instantly share code, notes, and snippets.

jubobs

Block or report user

Report or block jubobs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jubobs
jubobs / teamwork-2019-01-25a.md
Last active Mar 7, 2019
Security report: user-enumeration vulnerability at login
View teamwork-2019-01-25a.md

Report ID: teamwork-2019-01-25a

Researcher name: Julien Cretel

Researcher email: jcretel-infosec@protonmail.com

Date: 25/01/2019

Status: fixed (last checked on 22/02/2019)

View teamwork-2019-01-18a.md

Report ID: teamwork-2019-01-18a

Researcher name: Julien Cretel

Researcher email: jcretel-infosec@protonmail.com

Report date: 18/01/2019

Status: fixed (18/01/2019)

@jubobs
jubobs / defer_twitter_poll.go
Created Sep 14, 2018
Twitter poll about defer
View defer_twitter_poll.go
func foo(func f()) {
defer fmt.Println("bye")
f()
}
func bar(func f()) {
f()
fmt.Println("bye")
}
@jubobs
jubobs / defer_tour_of_go.go
Created Sep 14, 2018
defer as introduced in the Tour of Go
View defer_tour_of_go.go
package main
import "fmt"
func main() {
defer fmt.Println("world")
fmt.Println("hello")
}
@jubobs
jubobs / hello.go
Last active Sep 7, 2018
A wrapper for HTTP handlers with sensible defaults (objective: get a perfect score on https://observatory.mozilla.org)
View hello.go
package main
import (
"fmt"
"net/http"
"google.golang.org/appengine"
)
func main() {
@jubobs
jubobs / Currying.java
Last active Apr 9, 2017
Curry/uncurry in Java
View Currying.java
import java.util.function.BiFunction;
import java.util.function.Function;
public class Currying {
// Suppress default constructor for non-instantiability
private Currying() {
throw new AssertionError();
}
You can’t perform that action at this time.