This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -lt 1 ] | |
then | |
echo "Usage: ${0##*/} user@host" | |
echo " Adds your id_rsa.pub to the desitnation authorized_keys2 file" | |
exit 1 | |
fi | |
if [ ! -f ~/.ssh/id_rsa.pub ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns sumphonos.import | |
(:use [compojure.core] | |
[ring.middleware.params] | |
[ring.middleware.multipart-params] | |
[ring.adapter.jetty] | |
[clojure.java.io :only [reader copy]] | |
[hiccup.page :only [include-js]]) | |
(:require [clojure-csv.core :as csv] | |
[sumphonos.database :as mg] | |
[sumphonos.views.layout :as layout]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [completed-map { | |
:users { | |
:email (get params :user) | |
:adv1 (get params :adv1) | |
:adv2 (get params :adv2) | |
:adv3 (get params :adv3) | |
:inf1 (get params :inf1) | |
:inf2 (get params :inf2) | |
:inf3 (get params :inf3) | |
:trt1 (get params :trt1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
;; Access Log Schema | |
{db/id #db/id[:db.part/db] | |
:db/ident :access/ip | |
:db/valueType :db.type/string | |
:db/cardinality :db.cardinality/one | |
:db/doc "Requester IP address" | |
:db.install/_attribute :db.part/db} | |
{db/id #db/id[:db.part/db] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am xsyn on github. | |
* I am xsyn (https://keybase.io/xsyn) on keybase. | |
* I have a public key whose fingerprint is FBAF 44F4 035D 5179 AEBA 3640 BD74 1D1B 1DBA 0FB7 | |
To claim this, I am signing this object: |
OlderNewer