View dump1090.sh
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
#!/bin/bash | |
### BEGIN INIT INFO | |
# | |
# Provides: dump1090 | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: dump1090 initscript |
View NodeMCU_BME280.ino
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
/* NodeMCU_BME280.ino | |
* Program untuk membaca suhu dan kelembaban dari sensor BME280 (I2C) | |
* menggunakan NodeMCU | |
* | |
* Hak cipta (c) 2019 x.benny.id. All rights reserved. | |
* https://x.benny.id | |
*/ | |
#include <Adafruit_Sensor.h> |
View NodeMCU_DHT22_WiFi_TS_DS.ino
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
/** | |
* Program untuk membaca suhu dan kelembaban dari sensor DHT22 | |
* menggunakan NodeMCU | |
* | |
* Hak cipta (c) 2016 x.benny.id. All rights reserved. | |
* https://x.benny.id | |
*/ | |
// Konfigurasi DHT22 | |
#include <DHT.h> |
View sendThingSpeak.ino
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
/** | |
* File sendThingSpeak.ino | |
* | |
* int sendThingSpeak(float temp, float hum) | |
* | |
* Fungsi: Mengirimkan suhu (field0) dan kelembaban(field1) ke ThingSpeak | |
* | |
* Return Value: TBD | |
* | |
* Hak cipta (c) 2018 x.benny.id. |
View NodeMCU_DHT22_WiFi_TS.ino
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
/** | |
* Program untuk membaca suhu dan kelembaban dari sensor DHT22 | |
* menggunakan NodeMCU | |
* | |
* Hak cipta (c) 2016 x.benny.id. All rights reserved. | |
* https://x.benny.id | |
*/ | |
// Konfigurasi DHT22 | |
#include <DHT.h> |
View NodeMCU_DHT22_WiFi.ino
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
/** | |
* Program untuk membaca suhu dan kelembaban dari sensor DHT22 | |
* menggunakan NodeMCU | |
* | |
* Hak cipta (c) 2016 x.benny.id. All rights reserved. | |
* https://x.benny.id | |
*/ | |
// Konfigurasi DHT22 | |
#include <DHT.h> |
View startWiFi.ino
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
/** | |
* File startWiFi.ino | |
* | |
* int startWiFi(char* ssid, char* pass) | |
* | |
* Fungsi: Memulai koneksi ke WiFi sesuai dengan ssid dan pass | |
* | |
* Return Value: | |
* - 0: Koneksi sukses. Hasil koneksi akan terbaca di Serial Monitor | |
* - 1: Koneksi gagal. Hasil koneksi akan terbaca di Serial Monitor |
View NodeMCU_DHT22.ino
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
/** | |
* Program untuk membaca suhu dan kelembaban dari sensor DHT22 | |
* menggunakan NodeMCU | |
* | |
* Hak cipta (c) 2016 x.benny.id. All rights reserved. | |
* https://x.benny.id | |
*/ | |
// Konfigurasi DHT22 | |
#include <DHT.h> |
View my.cnf
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 MySQL database server configuration file. | |
# | |
# You can copy this to one of: | |
# - "/etc/mysql/my.cnf" to set global options, | |
# - "~/.my.cnf" to set user-specific options. | |
# | |
# One can use all long options that the program supports. | |
# Run program with --help to get a list of available options and with | |
# --print-defaults to see which it would actually understand and use. |
View fpm-pool.conf
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
; Start a new pool named 'fpm-pool'. | |
; the variable $pool can we used in any directive and will be replaced by the | |
; pool name ('www' here) | |
[www] | |
; Per pool prefix | |
; It only applies on the following directives: | |
; - 'slowlog' | |
; - 'listen' (unixsocket) | |
; - 'chroot' |
NewerOlder