<commit_before>package main

import (
	"fmt"
	"log"
	"net/url"

	"github.com/koding/kite"
	"github.com/koding/kite/config"
)

func main() {
	// Create a kite
	k := kite.New("math", "1.0.0")

	// Add our handler method
	k.HandleFunc("square", Square)

	// Get config from kite.Key directly, usually it's under ~/.kite/kite.key
	config := config.MustGet()
	k.Config = config
	k.Config.Port = 6667
	k.Id = config.Id

	// Register to kite with this url
	kiteURL := &url.URL{Scheme: "http", Host: "localhost:6667", Path: "/kite"}

	// Register us ...
	_, err := k.Register(kiteURL)
	if err != nil {
		log.Fatal(err)
	}

	// And finally attach to a server and run it
	k.Run()
}<commit_msg>examples: Do not set Id in math-register example.<commit_after>package main

import (
	"fmt"
	"log"
	"net/url"

	"github.com/koding/kite"
	"github.com/koding/kite/config"
)

func main() {
	// Create a kite
	k := kite.New("math", "1.0.0")

	// Add our handler method
	k.HandleFunc("square", Square)

	// Get config from kite.Key directly, usually it's under ~/.kite/kite.key
	config := config.MustGet()
	k.Config = config
	k.Config.Port = 6667

	// Register to kite with this url
	kiteURL := &url.URL{Scheme: "http", Host: "localhost:6667", Path: "/kite"}

	// Register us ...
	_, err := k.Register(kiteURL)
	if err != nil {
		log.Fatal(err)
	}

	// And finally attach to a server and run it
	k.Run()
}
{'fraction_non_alphanumeric': 0.1676300578034682, 'fraction_numerical': 0.015895953757225433, 'mean_word_length': 3.1220238095238093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '116970', 'n_tokens_mistral': 565, 'n_tokens_neox': 534, 'n_words': 145}