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
/* Galileo Email Checker | |
by: Jim Lindblom | |
SparkFun Electronics | |
date: January 7, 2013 | |
license: Beerware. Please use, reuse, and modify this code. | |
If you find it useful, you can buy me a beer when we meet. | |
This code connects a Galileo to WiFi. Then runs a Python script | |
- https://gist.github.com/jimblom/8292444#file-pymailcheck-py - | |
that lives on the Galileo's SD card to check how many unread |
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
/**************************************************************** | |
Edison Firmata Client | |
by: Jim Lindblom @ SparkFun Electronics | |
created on: Februrary 12, 2015 | |
github: | |
This is an Firmata client sketch for the Edison. It can | |
communicate with an Arduino running Firmata over a Serial | |
connection. | |
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
/** | |
* Phant.cpp | |
* | |
* .-.._ | |
* __ /` '. | |
* .-' `/ ( a \ | |
* / ( \,_ \ | |
* /| '---` |\ =| | |
* ` \ /__.-/ / | | | |
* | / / \ \ \ \_\ jgs |
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
/***************************************************************** | |
LSM9DS1_Simple.ino | |
SFE_LSM9DS1 Library Simple Example Code | |
Jim Lindblom @ SparkFun Electronics | |
Original Creation Date: February 27, 2015 | |
https://github.com/sparkfun/LSM9DS1_Breakout | |
The LSM9DS1 is a versatile 9DOF sensor. It has a built-in | |
accelerometer, gyroscope, and magnetometer. Very cool! Plus it | |
functions over either SPI or I2C. |
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
/****************************************************************************** | |
RTC_Analog_Gauge_Clock.ino | |
Jim Lindblom @ SparkFun Electronics | |
original creation date: October 4, 2016 | |
Uses a DeadOn RTC Module -- based around the DS3234 -- to | |
count time. Displays the hours, minutes, and seconds on a | |
trio of analog panel meters: | |
https://www.sparkfun.com/products/10285 |
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/sh | |
# certs.sh | |
# use this for Yocto/Edison: | |
LIB=lib | |
# use this for WRLinux/Gateway | |
# LIB=lib64 | |
if [ -f /usr/$LIB/jvm/java-8-openjdk/jre/lib/security/cacerts ]; then | |
mv /usr/$LIB/jvm/java-8-openjdk/jre/lib/security/cacerts \ |
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
" Jim's vimrc | |
" | |
" Enable Syntax Highlighting | |
syntax on | |
" When opening a new line, and no filetype-specific indenting is enabled, keep | |
" the same indent as the line you're currently on. Useful for README's, etc. | |
set autoindent |
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
cd ~ | |
wget https://gist.githubusercontent.com/jimblom/8ca3d775a7dcc67ef13130b104f17fa2/raw/c1eb10d52344a19889eea65cb9c76d9652170a7c/mkcacerts --no-check-certificate | |
wget https://gist.githubusercontent.com/jimblom/8ca3d775a7dcc67ef13130b104f17fa2/raw/c1eb10d52344a19889eea65cb9c76d9652170a7c/certs.sh --no-check-certificate | |
chmod u+x mkcacerts certs.sh | |
./certs.sh | |
rm certs.sh mkcacerts |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |