Skip to content

Instantly share code, notes, and snippets.

View BigHoss's full-sized avatar
🎯
Focusing

Raphael Kuster BigHoss

🎯
Focusing
View GitHub Profile
@SteveL-MSFT
SteveL-MSFT / profile.ps1
Last active December 9, 2024 02:29
PowerShell Prompt
#Requires -Version 7
# Version 1.2.13
# check if newer version
$gistUrl = "https://api.github.com/gists/a208d2bd924691bae7ec7904cab0bd8e"
$latestVersionFile = [System.IO.Path]::Combine("$HOME",'.latest_profile_version')
$versionRegEx = "# Version (?<version>\d+\.\d+\.\d+)"
if ([System.IO.File]::Exists($latestVersionFile)) {
@briandominick
briandominick / asciidoc-static.adoc
Last active December 21, 2024 22:43
Static Site Generators with AsciiDoc Support

There are 28 static site generators that support AsciiDoc sourcing.

@chaeplin
chaeplin / _01.temp_sensor_01.ino
Last active June 24, 2024 18:48
esp8266+dht22+mqtt
// Code based on
// https://github.com/adafruit/DHT-sensor-library/blob/master/examples/DHTtester/DHTtester.ino
// https://gist.github.com/igrr/7f7e7973366fc01d6393
// https://github.com/iot-playground/Arduino/blob/master/ESP8266ArduinoIDE/DS18B20_temperature_sensor/DS18B20_temperature_sensor.ino
// esp8266 + dht22 + mqtt
#include "DHT.h"
#include <PubSubClient.h>
#include <ESP8266WiFi.h>