Skip to content

Instantly share code, notes, and snippets.

@hagna
hagna / File 2
Created June 14, 2011 17:12 — forked from iffy/File 2
The description
This is the second file.
@hagna
hagna / File 2
Created June 14, 2011 17:12 — forked from iffy/File 2
The description
This is the second file.
(ns bot1.core
(import (org.jibble.pircbot PircBot))
(:require [hobbit.bitly :as bitly]))
(def *bot*)
(def url-regex #"[A-Za-z]+://[^ ^/]+\.[^ ^/]+[^ ]+")
(defn sendMsg "send a message to a recv, a recv is a channel name or a nick"
(ns bot1.core
(import (org.jibble.pircbot PircBot))
(require hobbit.bitly)
(import (hobbit.bitly Bitly)))
(def *bot*)
(def url-regex #"[A-Za-z]+://[^ ^/]+\.[^ ^/]+[^ ]+")
(ns bot1.core
;; To run this (on windows linux or osx) you need lein which isn't much
;; just follow the instructions in the README at
;; https://github.com/technomancy/leiningen
;;
;; In an (ns ..) form, you typically use keywords. These are flags
;; telling ns what to do, which is why it is different from the REPL
;; and outside of an ns form. These are flags that call the
;; functions/macros for you.
(:require hobbit.bitly)
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2007 Nokia Corporation
* Copyright (C) 2004-2009 Marcel Holtmann <[email protected]>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2007 Nokia Corporation
* Copyright (C) 2004-2009 Marcel Holtmann <[email protected]>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2007 Nokia Corporation
* Copyright (C) 2004-2009 Marcel Holtmann <[email protected]>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2006-2007 Nokia Corporation
* Copyright (C) 2004-2009 Marcel Holtmann <marcel@holtmann.org>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@hagna
hagna / generichid_plugin
Created July 19, 2012 21:08
generichid series patch1 plugin
diff --git a/Makefile.am b/Makefile.am
index 45a811c..a033de1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -185,8 +185,18 @@ if HOGPLUGIN
builtin_modules += hog
builtin_sources += profiles/input/hog_manager.c profiles/input/hog_device.h \
profiles/input/hog_device.c profiles/input/uhid_copy.h
+
endif