Skip to content

Instantly share code, notes, and snippets.

{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "thomas.edison@example.com",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
@prakhart111
prakhart111 / main.dart
Created February 11, 2025 18:08
Snippet created via Next.js API
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@vitoksmile
vitoksmile / App.kt
Created February 11, 2025 18:08
ComposeHints
val hintController = rememberHintController()
IconButton(
modifier = Modifier
.hintAnchor(topAppBarActionHintAnchor, CircleShape),
onClick = {
hintController.show(topAppBarActionHintAnchor)
},
)
@vitoksmile
vitoksmile / HintController.kt
Created February 11, 2025 18:07
ComposeHints
@Stable
class HintController internal constructor() {
internal var hint by mutableStateOf<HintAnchorState?>(null)
fun show(hint: HintAnchorState) {
this.hint = hint
}
}
@Schoolads
Schoolads / gist:39ad5e1ffb89efcdd9da866ca7404130
Created February 11, 2025 18:07
School of Nursing, UCH, Ibadan 2025/2026 {O8125777035} Admission Form Is STILL ON SALE.. Call DR.MRS ALICE OGUNSOLA on {O8125777035}.The Management of the school hereby inform the general public of the sales of the general Nursing Admission form into the School of Nursing, Also midwifery, post-basic midwifery form, post-basic nursing form and in…
School of Nursing, UCH, Ibadan 2025/2026 {O8125777035} Admission Form Is STILL ON SALE.. Call DR.MRS ALICE OGUNSOLA on {O8125777035}.The Management of the school hereby inform the general public of the sales of the general Nursing Admission form into the School of Nursing, Also midwifery, post-basic midwifery form, post-basic nursing form and internship form are still on sale for more information on purchase of the form and admission assistance call Admin Officer{O8125777035}
@vitoksmile
vitoksmile / HintsContainer.kt
Created February 11, 2025 18:07
ComposeHints
@Composable
internal fun HintsContainer(
modifier: Modifier,
anchors: () -> List<HintAnchorState>,
) {
val anchors = anchors()
Layout(
modifier = modifier
.overlayBackground(anchors),
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 18:07
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 7:07:08 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.4]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.4)
[Sub_Mod] Geological Landforms [PL](PL.GeologicalLandforms.PL): (no assemblies)
[WD] Reinforced Doors(Wemd.ReinforcedDoors): (no assemblies)
Advanced Mechanoids(Sobb.AdvancedMechanoids): Advanced Mechanoids(1.0.0)
@prakhart111
prakhart111 / main.dart
Created February 11, 2025 18:07
Snippet created via Next.js API
// Dualite Generated Code
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:convert';
@vitoksmile
vitoksmile / AppHintContainer.kt
Created February 11, 2025 18:06
ComposeHints
@Composable
fun rememberHintContainer(content: @Composable () -> Unit): Hint {
return rememberHint {
Box(
modifier = Modifier
.padding(top = 8.dp)
.background(Color.Yellow, shape = RoundedCornerShape(16.dp))
.padding(16.dp),
) {
CompositionLocalProvider(
@vitoksmile
vitoksmile / App.kt
Created February 11, 2025 18:06
ComposeHints
val topAppBarHint = rememberHint {
OutlinedButton(onClick = {}) { Text("Hint for TopAppBar") }
}
val topAppBarActionHintAnchor = rememberHintAnchorState(topAppBarHint)
val actionHint = rememberHint {
Text("Hint for Action")
}
val actionHintAnchor = rememberHintAnchorState(actionHint)