Skip to content

Instantly share code, notes, and snippets.

View wathika-eng's full-sized avatar
🔥
Hot

wathika wathika-eng

🔥
Hot
View GitHub Profile
https://calendar.app.google/JHPL3VvzTtHeK3Kr7
import cloudinary
import cloudinary.api
import cloudinary.uploader
# Configure Cloudinary with your credentials
cloudinary.config(
cloud_name="",
api_key="",
api_secret="",
)
#!/bin/bash
# Ensure script runs as root
if [[ $EUID -ne 0 ]]; then
echo "❌ This script must be run as root. Try: sudo $0"
exit 1
fi
# Enable tab completion for file paths
iso_path=""
-- CREATE TABLE
--@block
CREATE TABLE IF NOT EXISTS users(
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(255) NOT NULL UNIQUE,
age INT NOT NULL,
password VARCHAR(255) NOT NULL
);
-- INSERT DATA
--@block
@wathika-eng
wathika-eng / setup_android.sh
Last active December 15, 2024 19:34
Setup Script for Android SDK and Flutter Toolchain on Linux
#!/bin/bash
# Step 1: Install required dependencies
echo "Installing required packages..."
sudo apt update
sudo apt install -y openjdk-11-jdk wget curl unzip cmake ninja-build
# Step 2: Install Android SDK Command-Line Tools
echo "Installing Android SDK Command-Line Tools..."
package main
import (
"bufio"
"encoding/json"
"errors"
"fmt"
"log"
"os"
"regexp"
# sample dockerfile for a flask application
FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app