Skip to content

Instantly share code, notes, and snippets.

View kLOsk's full-sized avatar
:octocat:
back in black

Daniel Klose kLOsk

:octocat:
back in black
View GitHub Profile
@kLOsk
kLOsk / fridge.ino
Created June 18, 2017 00:54
Arduino Curing Fridge
//Libraries
#include <DHT.h>; //need for temp/hum sensor
//#include <Time.h> //need for timer
//#include <TimeLib.h> //need for timer
//#include <SPI.h>//not sure
#include <Wire.h>//not sure
#include "RTClib.h" //need for clock
#include <Adafruit_SSD1306.h> //need for display
<?php
//Remove CPT's
function dk_delete_post_type(){
unregister_post_type( 'beers' );
}
add_action('init','dk_delete_post_type');
//Custom Permalinks and Rewrites
function wpa_show_permalinks( $post_link, $post ){
if ( is_object( $post ) && $post->post_type == 'event' ){