Skip to content

Instantly share code, notes, and snippets.

dwhacks

Block or report user

Report or block dwhacks

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View esp8266_thingspeak_bmp280.ino
/**********************************************
* Catalin Batrinu bcatalin@gmail.com
* Read temperature and pressure from BMP280
* and send it to thingspeaks.com
**********************************************/
#include <Wire.h>
#include <SPI.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BMP280.h>
View testgps.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php if(!session_id()) session_start(); ?>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<title>GPS Tracker</title>
</head>
<body>
View pfsense errors
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=/var/log>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
1% 2% 3% 4% 5% 6% 7% 8% 9% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 0% 1% 2% 3% 4% 5% 6% 7% 8% 9% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%rules/deleted.rules: Write failed
rules/exploit-kit.rules: Write failed
rules/exploit.rules: Write to restore size failed
rules/file-executable.rules: Write to restore size failed
@dwhacks
dwhacks / Attiny85_LCD_Serial.ino
Created Jun 11, 2014
Attiny85 read serial LCD
View Attiny85_LCD_Serial.ino
/*
SoftSerial Enabled LCD Kit
by: Jim Lindblom - SparkFun Electronics
Characters received in a Softserial stream are displayed on a 16x2,
20x4, etc. LCD. Special commands are also available to clear, scroll
display cursors and other functions.
License: Beerware - As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day,
and you think this stuff is worth it, you can buy
me a beer in return.
View attiny13_beacon.ino
// attiny13_beacon.ino
#include <Morse.h>
Morse morse(4, 10, 1); //set up the Morse Pin, Speed, type
void setup() {
}
@dwhacks
dwhacks / Morse.h
Created May 8, 2014
Arduino Morse library .h file
View Morse.h
//
// Arduino Morse Library
// Written by Erik Linder SM0RVV and Mark VandeWettering K6HX
//
// Put this file with Morse.cpp inside a folder "Morse" in your "libraries" folder within your sketchbook folder.
// /your_sketch_folder/libraries/Morse
// Then restart the arduino software.
//
// Released 2011 under GPLv3
//
@dwhacks
dwhacks / Morse.cpp
Created May 8, 2014
Arduino Morse Library file
View Morse.cpp
//
// Arduino Morse Library
//
// Put this file with Morse.h inside a folder "Morse" in your "libraries" folder within your sketchbook folder.
// /your_sketch_folder/libraries/Morse
// Then restart the arduino software.
//
// Origonally written by Erik Linder SM0RVV and Mark VandeWettering K6HX
// Contact: sm0rvv at google mail
// Updated by Dayne Waterlow DWHACKS to fix a few table errors
@dwhacks
dwhacks / arduino_table.ino
Created May 8, 2014
some arduino morse, correct table
View arduino_table.ino
//
//Arduino Nano Beacon ver 1.0
// Written by Michele Casali Iz3klb
// Email: iz3klb@yahoo.it
//
// This code is so trivial that I'm releasing it completely without
// restrictions. If you find it useful, it would be nice if you dropped
// me an email. Feel free to use whatever.
//
@dwhacks
dwhacks / Attiny_gps_beacon.ino
Created May 4, 2014
Attiny softserial and gps
View Attiny_gps_beacon.ino
/*
Original code come from Adafruit GPS logger shield kit - v1.1
http://www.adafruit.com/products/98
http://www.ladyada.net/make/gpsshield/download.html
All of this example Arduino code is Public Domain. Enjoy!
http://en.wikipedia.org/wiki/GNU_General_Public_License
Modified by DWHacks for use with U-blox PCI-5S.
Info about U-blox PCI-5S here: http://emerythacks.blogspot.ca/2013/01/u-blox-pci-5s-cheap-gps-module-for-your.html
@dwhacks
dwhacks / CPdelete.txt
Last active Aug 29, 2015
Couch Potato Deleting
View CPdelete.txt
04-19 11:54:43 INFO [hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?y=2013&t=pacific+rim, data: []
04-19 11:54:43 INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/search/Pacific+Rim+2013/?limit=1, data: []
04-19 11:54:44 INFO [re.providers.info.omdbapi] Found: Pacific Rim (2013)
04-19 11:54:44 INFO [tato.core.plugins.scanner] Found 1 movies in the folder /media/movies/Pacific Rim (2013)
04-19 11:55:38 INFO [tato.core.plugins.renamer] Download of Pacific Rim 2013 BluRay 720p DTS x264-MgB completed!
04-19 12:42:48 INFO [otato.core.plugins.manage] Updating manage library: /media/movies04-19 12:42:48 INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/search/Pacific+Rim+2013/?limit=1, data: []
04-19 12:42:48 INFO [hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?y=2013&t=pacific+rim, data: []
04-19 12:42:48 INFO [re.providers.info.omdbapi] Found: Pacific Rim (2013)
04-19 12:42:49 INFO [tato.core.plugins.scanner] Found 1 movie
You can’t perform that action at this time.