Skip to content

Instantly share code, notes, and snippets.

View ribasco's full-sized avatar
🎯

Rafael Ibasco ribasco

🎯
  • 21:26 (UTC +08:00)
View GitHub Profile
@ribasco
ribasco / HowToChangeI2CSpeed.md
Last active December 4, 2022 07:45
How to change the I2C Frequency/Speed for Raspberry Pi 2/3

How to change the I2C Frequency/Speed for Raspberry Pi 2/3

Note: Steps 5-8 are only for verification purposes, you can skip them

  1. Open /boot/config.txt file

    sudo nano /boot/config.txt

@ribasco
ribasco / rpmLargeFont.ino
Created September 13, 2017 05:07 — forked from ronivaldo/rpmLargeFont.ino
A set of custom made large numbers for a 16x2 LCD HD44780 Arduino Library
/*
A set of custom made large numbers for a 16x2 LCD using the
LiquidCrystal librabry. Works with displays compatible with the
Hitachi HD44780 driver.
The Cuicuit:
LCD RS pin to D12
LCD Enable pin to D11
LCD D4 pin to D5
LCD D5 pin to D4
@ribasco
ribasco / README.md
Created March 2, 2017 05:44
[DD-WRT] Count the Number of IP Connections from Command Line

wc -l < /proc/net/ip_conntrack

@ribasco
ribasco / create-mysql-connector.md
Last active July 21, 2023 04:37
How to install a mysql connector in Wildfly 10
  1. Download connector jar from mysql http://dev.mysql.com/downloads/connector/j/

  2. Unzip the downloaded file and copy the file mysql-connector-java-*-bin.jar to the new folder

WILDFLY_HOME/modules/system/layers/base/com/mysql/main

  1. create the file module.xml in the same folder with the following content: