Skip to content

Instantly share code, notes, and snippets.

View OneOfOne's full-sized avatar
🐧
Focusing

Ahmed W. OneOfOne

🐧
Focusing
View GitHub Profile
@mmirolim
mmirolim / naive_bayes.go
Created January 31, 2017 10:12
Naive Bayes example in golang for text classification
package main
import (
"errors"
"fmt"
"io/ioutil"
"os"
"regexp"
"strings"
"sync"
@itod
itod / split_keyboards.md
Last active February 14, 2025 16:12
Every "split" mechanical keyboard currently being sold that I know of
@llaughlin
llaughlin / tasks.json
Last active April 28, 2016 11:03
VSCode+Golang
{
"version": "0.1.0",
"command": "go",
"args": ["build"],
"isShellCommand": true,
"showOutput": "silent",
"problemMatcher": {
"owner": "go",
@oderwat
oderwat / gist:9158840
Created February 22, 2014 17:45
GoLang HTTP PUT / DELETE (just copied from somewhere else!)
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
)
const (