Skip to content

Instantly share code, notes, and snippets.

View fesenpav's full-sized avatar

Pavel Fesenko fesenpav

View GitHub Profile
@marcel-dias
marcel-dias / ParseSample.java
Last active March 31, 2024 15:14
SnakeYAML Parse Example
package com.marceldias.mars.yaml;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import org.yaml.snakeyaml.TypeDescription;
import org.yaml.snakeyaml.Yaml;
@mschoebel
mschoebel / main.go
Created March 6, 2014 20:02
Snippet: login/logout (Golang)
package main
import (
"fmt"
"github.com/gorilla/mux"
"github.com/gorilla/securecookie"
"net/http"
)
// cookie handling