Skip to content

Instantly share code, notes, and snippets.

View chepo92's full-sized avatar

Axel Sepúlveda chepo92

View GitHub Profile
#Load data
import pandas as pd
white = pd.read_csv("http://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/winequality-white.csv", sep=';')
red = pd.read_csv("http://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/winequality-red.csv", sep=';')
#define Target
red['type'] = 1
white['type'] = 0
wines = red.append(white, ignore_index = True)
@chepo92
chepo92 / README.MD
Created January 11, 2021 22:13 — forked from klanjabrik/README.MD
Measuring Water Usage with NodeMCU +WaterFlow Sensor

esp layout single

PENDAHULUAN

Internet of Things yang bisa disebut dengan IoT menjadi bagian yang penting dalam kemajuan teknologi. Contohnya adalah dengan mengirimkan data penggunaan air dari sensor ke cloud sehingga bisa dengan mudah melihat hasilnya. Untuk mengirimkan data penggunaan air dari sensor ke cloud maka dibutuhkan internet. Sehingga jika berbicara tentang IoT maka kira berbicara tidak terlepas dari 2 hal, yaitu: sensor dan internet.

PERANGKAT KERAS YANG DIBUTUHKAN

  • NodeMCU Lua WiFi (Rp85.000)
  • Water Flow Sensor (Rp70.000)
  • Lampu LED (Rp350)
@chepo92
chepo92 / raspberry-pi-install.md
Created October 7, 2020 21:22 — forked from krithin/raspberry-pi-install.md
Jitsi Meet Server and Videobridge Installation on Raspberry Pi 4 with Ubuntu Server 20.04

Jitsi Meet install on a Raspberry Pi 4 with Ubuntu Server 20.04

This guide helps you host your own Jitsi server on a Raspberry Pi 4B. It is adapted from Jitsi's quick install guide and the Jitsi on ARM guide written by crouchingtigerhiddenadam. The biggest difference is this is designed to work with a Pi running Ubuntu Server 20.04 instead of Raspbian.

I did this because I'd rather set up Jitsi Meet on a Raspberry Pi I already own than add a dedicated VPS (and pay AWS's bandwidth costs) just for that. I used Ubuntu 20.04 because I'm more familiar with Ubuntu than with Raspbian, and using an arm64 OS makes the setup easier than on armhf. I also tried to use distribution packages instead of manually downloading individual deb files throughout.

Prerequisites

This guide assumes you already have a DNS name set up with an A record pointing