Skip to content

Instantly share code, notes, and snippets.

View p32929's full-sized avatar

Fayaz Bin Salam p32929

View GitHub Profile
@p32929
p32929 / flutter_app_update_page.dart
Created December 21, 2025 09:06
A simple page to show user to update the app
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'package:url_launcher/url_launcher.dart';
import '../../config/app_config.dart';
import '../../services/json_cache_service.dart';
// Design colors
const _darkBg = Color(0xFF121212);
const _cardBg = Color(0xFF1E1E1E);
@p32929
p32929 / dynamic_content_page.dart
Created December 21, 2025 09:07
Just a simple page to show some dynamic infos in flutter
// =============================================================================
// STANDALONE WIDGET - Can be shared via GitHub Gist
// =============================================================================
// This file has NO dependencies on other project files.
// Only uses Flutter SDK + common 3rd party packages.
//
// Required packages (add to pubspec.yaml):
// - http: ^1.2.2
// - url_launcher: ^6.3.1
// - package_info_plus: ^8.1.2
#!/bin/bash
# Build and collect APKs for Flutter apps
# Usage: ./build-apks.sh
set -e # Exit on error
# Colors for output
GREEN='\033[0;32m'
BLUE='\033[0;34m'
#!/bin/bash
# Quick launcher for OpenClaw dashboard
# Ensures all services are running, then opens dashboard
# 1. Ensure Qdrant is running (needed for Mem0)
if ! lsof -i :6333 &>/dev/null; then
echo "Starting Qdrant..."
launchctl bootout gui/$(id -u)/dev.qdrant 2>/dev/null
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/dev.qdrant.plist 2>/dev/null
sleep 2