I hereby claim:
- I am sanatgersappa on github.
- I am sanatgersappa (https://keybase.io/sanatgersappa) on keybase.
- I have a public key ASBGNtlX3A54K29ZljNFsNlEPmqnvU1mac-IVyrPFrI8xQo
To claim this, I am signing this object:
bairuw7rip5rabgdvot3trp6dudhwewxhtst5nooioecnxnunfea |
(ns sudoku | |
(:refer-clojure :exclude [==]) | |
(:use [clojure.core.logic]) | |
(:require [clojure.core.logic.fd :as fd])) | |
(defn init-board [vars puzzle] | |
(matche [vars puzzle] | |
([[] []] | |
succeed) |
package main | |
import ( | |
"html/template" | |
"io" | |
"net/http" | |
"os" | |
) | |
//Compile templates on start |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"log" | |
"regexp" | |
"strings" | |
) |
package main | |
import ( | |
"html/template" | |
"io" | |
"net/http" | |
"os" | |
) | |
//Compile templates on start |
(defn distinct-by [f n] (map first (vals (group-by f n)))) |
package main | |
//implements the SFTP Service. Needs to be installed and managed using NSSM. | |
import ( | |
"encoding/json" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"html/template" | |
"net/http" | |
) | |
//Compile templates on start | |
var templates = template.Must(template.ParseFiles("header.html", "footer.html", "main.html", "about.html")) |
{{define "about"}} | |
{{template "header" .}} | |
<div class="content"> | |
<h2>About</h2> | |
<div>This is the About page</div> | |
</div> | |
{{template "footer" .}} | |
{{end}} |