Skip to content

Instantly share code, notes, and snippets.

View oyedsamu's full-sized avatar
🏠
Working from home

Samuel Oyedele oyedsamu

🏠
Working from home
View GitHub Profile
@oyedsamu
oyedsamu / default.md
Created June 22, 2025 07:20 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@oyedsamu
oyedsamu / build-production.yml
Created November 8, 2024 00:06 — forked from logickoder/build-production.yml
My Flutter CI/CD Workflow
# From .github/workflows/build-production.yml
name: Build and upload android app to Google Play Store
on:
push:
branches:
- main
paths:
- 'android/**'
@oyedsamu
oyedsamu / flutter.md
Created June 20, 2021 09:22 — forked from matteocrippa/flutter.md
Flutter Cheatsheet

Flutter

A quick cheatsheet of useful snippet for Flutter

Widget

A widget is the basic type of controller in Flutter Material. There are two type of basic Widget we can extend our classes: StatefulWidget or StatelessWidget.

Stateful

StatefulWidget are all the widget that interally have a dynamic value that can change during usage. It can receive an input value in the constructor or reference to functions. You need to create two classes like:

@oyedsamu
oyedsamu / ConnectivityMonitor.kt
Created February 5, 2021 09:48 — forked from DLXXVII/ConnectivityMonitor.kt
Check Internet Connection [API21+][API29+ supported] Lifecycle aware
import android.content.Context
import android.content.Context.CONNECTIVITY_SERVICE
import android.net.ConnectivityManager
import android.net.Network
import android.net.NetworkCapabilities
import android.net.NetworkRequest
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.OnLifecycleEvent