Skip to content

Instantly share code, notes, and snippets.

#include <SPI.h>
#include <RF24.h>
#include <BTLE.h>
RF24 radio(9,10);
BTLE btle(&radio);
char * msg = "hi";
uint8_t len = 2;
{
"metadata": {
"name": "",
"signature": "sha256:8cc04ebd48f148f0ed91ebc8e3dc05e795fdd5af1cf19d7c087a548c117182b8"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@jmettes
jmettes / install-nexus.sh
Last active January 10, 2019 10:58
Script for installing Nexus
# configure HTTP proxy
export http_proxy=http://rhe-proxy.prod.lan:8080
# persistent environment variable
echo "export http_proxy=http://rhe-proxy.prod.lan:8080" > /etc/profile.d/nexus.sh
# create nexus system account
/usr/sbin/adduser -r nexus
# install nexus as per http://books.sonatype.com/nexus-book/reference/install-sect-service.html
@jmettes
jmettes / install-jenkins.sh
Last active August 29, 2015 14:03
Script for installing Jenkins
# configure HTTP proxy
export http_proxy=http://rhe-proxy.prod.lan:8080
# install Jenkins
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key
yum -y install jenkins
# set up proxy for plugins
echo "<?xml version='1.0' encoding='UTF-8'?>
@jmettes
jmettes / file1.txt
Created March 10, 2011 23:57
Snippet used in an example that demonstrates file contents fetched from gists.
Yo, file one!
@jmettes
jmettes / template-min.xml
Created March 7, 2011 08:15
Minimal/bare-bones Blogger template; used as a starting point.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html>
<head>
<title>
<data:blog.pageTitle/>
</title>
<b:skin><![CDATA[]]></b:skin>
</head>
<body>