Skip to content

Instantly share code, notes, and snippets.

View doctorfox's full-sized avatar
💭
A-rank mission

Doctor Fox doctorfox

💭
A-rank mission
View GitHub Profile
@ponnamkarthik
ponnamkarthik / SendMessage.java
Last active December 17, 2018 21:45
Send Message in Android with Delivery and Sent Report
private void sendSms() {
try {
String SENT = "SMS_SENT";
String DELIVERED = "SMS_DELIVERED";
PendingIntent sentPI = PendingIntent.getBroadcast(this, 0, new Intent(
SENT), 0);
PendingIntent deliveredPI = PendingIntent.getBroadcast(this, 0,
new Intent(DELIVERED), 0);
@fevangelou
fevangelou / my.cnf
Last active March 28, 2024 11:55
Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers)
# === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) ===
#
# by Fotis Evangelou, developer of Engintron (engintron.com)
#
# ~ Updated December 2021 ~
#
#
# The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores.
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage.
#