Skip to content

Instantly share code, notes, and snippets.

View AbhishekGhosh's full-sized avatar
🎯
Focusing

Abhishek Ghosh AbhishekGhosh

🎯
Focusing
View GitHub Profile
@AbhishekGhosh
AbhishekGhosh / aster-example-fb.md
Last active October 7, 2026 20:45
aster-example-fb.md

Aster Analysis

Date: 2026-10-08 01:54

  • Pre-release demo of Aster Clinical's analysis, know more at https://asterclinical.com/
  • No real patient data has been used. All data is of an imaginary patient (synthetic) for testing & demo purpose.

Overall assessment

The current regimen is reasonable as a starting regimen, but the available data suggest that hypertension is not adequately controlled and that diabetes control cannot yet be judged reliably.

@AbhishekGhosh
AbhishekGhosh / script.js
Created March 28, 2025 18:23
script.js
$(document).ready(function () {
// Switch between login methods
$("#tab-password").click(function () {
$("#password-login-form").show();
$("#otp-login-form").hide();
$(".tab").removeClass("active");
$(this).addClass("active");
});
$("#tab-otp").click(function () {
@AbhishekGhosh
AbhishekGhosh / repo-list-show-delete.sh
Created February 26, 2025 17:45
Bash script Ubuntu repo
#!/bin/bash
# Function to list repositories
list_repos() {
echo "\nAvailable repositories:"
local i=1
repos=()
# List repositories from sources.list
while IFS= read -r line; do
@AbhishekGhosh
AbhishekGhosh / repo-list.sh
Created February 26, 2025 17:40
List Ubuntu Repo
#!/bin/bash
# List repositories from sources.list
echo "Repositories in /etc/apt/sources.list:"
cat /etc/apt/sources.list | grep -E '^[^#]'
echo ""
# List repositories from sources.list.d directory
echo "Repositories in /etc/apt/sources.list.d/:"
@AbhishekGhosh
AbhishekGhosh / water_level.ino
Created March 25, 2024 18:56
water_level.ino
#include <Wire.h>
#include <VL53L0X.h>
#include <WiFi.h>
#include <HTTPClient.h>
const char* ssid = "YourWiFiSSID";
const char* password = "YourWiFiPassword";
const char* serverAddress = "http://yourserver.com/store_data.php";
VL53L0X sensor;
@AbhishekGhosh
AbhishekGhosh / index.html
Created March 25, 2024 18:55
index.html
<!DOCTYPE html>
<html>
<head>
<title>Water Tank Level Monitoring</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
// Function to fetch water level data
function fetchWaterLevel() {
$.ajax({
@AbhishekGhosh
AbhishekGhosh / get_data.php
Created March 25, 2024 18:54
get_data.php
<?php
$servername = "localhost";
$username = "your_username";
$password = "your_password";
$dbname = "your_database";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
@AbhishekGhosh
AbhishekGhosh / store_data.php
Created March 25, 2024 18:53
store_data.php
<?php
$servername = "localhost";
$username = "your_username";
$password = "your_password";
$dbname = "your_database";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
@AbhishekGhosh
AbhishekGhosh / ESP32-Web-Controlled-Servo.ino
Created July 1, 2023 09:31 — forked from elktros/ESP32-Web-Controlled-Servo.ino
Code for ESP32 Web Controlled Servo.
#include <WiFi.h>
const int servoPin = 16; /* GPIO16 */
const char* ssid = "ESP32-WiFi"; /* Add your router's SSID */
const char* password = "12345678"; /*Add the password */
int dutyCycle = 0;
//int position1 = 0;
http://rpc.pingomatic.com/
http://rpc.weblogs.com/RPC2
http://rpc.blogbuzzmachine.com/RPC2
http://rpc.aitellu.com
http://rpc.bloggerei.de/ping/
http://rpc.reader.livedoor.com/ping
http://rpc.twingly.com/
http://ping.feedburner.com
http://ping.bloggers.jp/rpc/
http://ping.myblog.jp