This file contains hidden or 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
uint8_t buf[RH_RF69_MAX_MESSAGE_LEN]; // receive buffer | |
uint8_t data[] = " OK"; // I don't know what this is used for. | |
uint8_t len; | |
uint8_t from; | |
char equipmentoff[20] = F("AIRCOMPRESSOR:OFF"); | |
char equipmenton[20] = F("AIRCOMPRESSOR:ON"); | |
void loop() { | |
state = digitalRead(sensor); | |
This file contains hidden or 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
/* | |
* HART Industrial Unions, LLC | |
* Erik J. Reynolds | |
* 2019-11-13 | |
* | |
* Position Sensor Switch Status Sender | |
*/ | |
// includes | |
#include <SPI.h> |
This file contains hidden or 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
/* | |
* HART Industrial Unions, LLC | |
* Erik J. Reynolds | |
* 2019-11-13 | |
* | |
* Position Sensor Switch Status Receiver | |
*/ | |
// Includes | |
#include <RGBmatrixPanel.h> |
This file contains hidden or 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 ejreynolds on github. | |
* I am reynolds (https://keybase.io/reynolds) on keybase. | |
* I have a public key whose fingerprint is 6F15 8787 943C CB30 FC75 E234 DD07 9666 03C7 0FBE | |
To claim this, I am signing this object: |
This file contains hidden or 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 | |
EMAIL="MY_EMAIL" | |
TOKEN="MY_API_KEY" | |
DOMAIN_ID="erikreynolds.com" | |
RECORD_ID="MY_NUMERIC_RECORD_ID" | |
echo "Getting current external IP" | |
IP="`curl -s http://icanhazip.com/`" |
This file contains hidden or 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
require 'net/http' | |
def get_response(url) | |
uri = URI.parse(url) | |
path = (uri.path.empty?) ? '/' : uri.path | |
request = Net::HTTP.new(uri.hostname, uri.port) | |
request.request_head(path) | |
end |
This file contains hidden or 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
admin@github-uconn-edu:~$ ghe-grow-root -i | |
--> Physical Volume Information | |
PV VG Fmt Attr PSize PFree | |
/dev/sda5 enterprise-11 lvm2 a- 9.66g 0 | |
--> Logical Volume Information | |
LV VG Attr LSize Origin Snap% Move Log Copy% Convert | |
root enterprise-11 -wi-ao 7.66g |
This file contains hidden or 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
master done reopening logs | |
worker=1 done reopening logs | |
worker=0 done reopening logs | |
cat: write error: No space left on device | |
executing ["bin/unicorn", "--env", "production", "--config-file", "config/unicorn.rb", "--pid", "/data/enterprise-manage/shared/pids/unicorn.pid", "--daemonize", "config.ru"] (in /data/enterprise-manage/current) | |
Use of --pid/-P is strongly discouraged | |
Use the 'pid' directive in the Unicorn config file instead | |
I, [2012-11-01T13:52:04.422253 #29065] INFO -- : inherited addr=/data/enterprise-manage/current/tmp/sockets/unicorn.sock fd=3 | |
I, [2012-11-01T13:52:04.422647 #29065] INFO -- : Refreshing Gem list | |
master process ready |
This file contains hidden or 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
admin@github-uconn-edu:~$ ps aux | grep elasticsearch | grep -v grep | |
root 22254 154 16.6 2380740 688040 ? Sl 22:07 35:54 /usr/bin/java -Xms256m -Xmx1g -Xss128k -XX:+UseParNewGC | |
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMe | |
moryError -Delasticsearch -Des.pidfile=/var/run/elasticsearch.pid -Des.path.home=/usr/share/elasticsearch -cp :/usr/shar | |
e/elasticsearch/lib/*:/usr/share/elasticsearch/lib/sigar/* -Des.config=/data/elasticsearch/elasticsearch.yml -Xms512m -X | |
mx2048m -Des.path.home=/data/elasticsearch org.elasticsearch.bootstrap.ElasticSearch | |
admin@github-uconn-edu:~$ netstat -lpt | |
(No info could be read for "-p": geteuid()=501 but you should be root.) | |
Active Internet connections (only servers) | |
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name |
This file contains hidden or 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
require 'rubygems' | |
require 'ponder' | |
@ponder = Ponder::Thaum.new | |
@ponder.configure do |c| | |
c.nick = 'FUN_BOT' | |
c.username = 'FUN_BOT' | |
c.real_name = 'FUN_BOT' | |
c.server = 'jigokuarashi.ssarkars.net' |
NewerOlder