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
# https://esphome.io/guides/automations.html#interval-component | |
interval: | |
# trigger the update to fetch battery | |
- interval: ${temp_update_interval} | |
then: | |
- ble_client.ble_write: | |
id: "airthings_${wave_serial}" | |
service_uuid: "B42E4A8E-ADE7-11E4-89D3-123B93F75CBA" | |
characteristic_uuid: "B42E50D8-ADE7-11E4-89D3-123B93F75CBA" # 0x10 | |
value: [ 0x6d ] |
Also see the original Pieter Noordhuis's guide
You need:
- Raspberry Pi Model B (or B+) with a MicroSD Card $35-40
- An RTL-SDR dongle:
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
(defun todo-create-directory (directory) | |
"Creates the todo directory." | |
(if (file-exists-p directory) (message "Directory exists") | |
(make-directory directory) | |
(message "Directory created") | |
)) | |
(defun create-todo-file (directory filename) | |
"Checks if the todo file exists if not creates it." | |
(todo-create-directory directory) |
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
import * as React from 'react'; | |
interface FormProps { | |
/** | |
* Automatically prevents the default browser behavior so you don't have to | |
*/ | |
onSubmit: () => any; | |
children?: JSX.Element; | |
} | |
export const Form = ({ onSubmit, children}: FormProps) => |
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
[Trigger] | |
Type = Package | |
Operation = Install | |
Operation = Upgrade | |
Target = pacman-mirrorlist | |
[Action] | |
Description = Updating mirrorlist... | |
When = PostTransaction | |
Depends = reflector |
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
Found in this post: https://www.reddit.com/r/PrintrBot/comments/3jm8bc/start_gcode_does_not_extrudeandmove_but_the_code/ | |
Use this to reset, center, and auto-extrudea small bit before printing. | |
G90 ; Explicitly force absolute positioning in case it was not reset previously. | |
G28 ; Home all axes. | |
G29 ; Auto-level the bed. | |
G0 X0 Y0 Z0.15 F9000 ; Move to the front-left part of the bed. | |
M109 S{print_temperature} ; Set and wait for extruder temperature. | |
G92 E0 ; Zero the extruder. |
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
The Goals of this Gist are to: | |
[1] Increase the GnuPG key size limit beyond 4096 bits. | |
[2] Provide configuration files that maximize security and anonymity. | |
For now, the ideal configuration files have been provided. | |
The Debian_Linux_GnuPG_Compiler.bash script works to build GnuPG with the 4096 bit key size limit raised. | |
Please provide input. Feedback and changes welcome. |
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
# | |
# post installation | |
# | |
# login as ‘root’ and with the password set above | |
# connect if using wifi - eth should just work | |
nmcli dev wifi list | |
nmcli dev wifi connect “Hearth 5GHz" password [somepasswordhere] | |
# if it fails, try it again - it often fails for me on the 1st attempt (not sure why) | |
ping -c 3 www.google.ca |
NewerOlder