Skip to content

Instantly share code, notes, and snippets.

View jacksonfdam's full-sized avatar
💻
Coding...

Jackson F. de A. Mafra jacksonfdam

💻
Coding...
View GitHub Profile
@jacksonfdam
jacksonfdam / rippleglass.kt
Created March 5, 2026 20:40 — forked from ardakazanci/rippleglass.kt
LiquidGlassAGSLShader
private const val LiquidGlassShaderSource = """
const float PI = 3.1415926;
const float FORCE = 0.08;
const float THICKNESS = 0.075;
const float FEATHERING = 0.1;
const float ABERRATION_OFFSET = 0.006;
const float FLASH_INTENSITY = 3.0;
const float REFRACTION_STRENGTH = 0.03;
/*
* Copyright 2026 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/*
* Copyright 2026 Georgiopoulos Kyriakos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software

Organizei essa lista extensa por categorias para facilitar sua navegação. Todas as URLs abaixo são os endereços oficiais e verificados dessas fontes de dados públicos no Brasil.


🏛️ Transparência, Orçamento e Governança

  1. Portal Dados Abertos: dados.gov.br
  2. Portal da Transparência: portaldatransparencia.gov.br
  3. Tesouro Transparente: tesourotransparente.gov.br
@jacksonfdam
jacksonfdam / StretchTabComponent.kt
Created July 24, 2025 20:48 — forked from ardakazanci/StretchTabComponent.kt
Stretch Tab Jetpack Compose
data class TabPosition(val left: Float, val right: Float)
@Composable
fun StretchTabComponent() {
val tabs = listOf("SALE", "RENT")
var selectedIndex by remember { mutableIntStateOf(0) }
val tabPositions = remember { mutableStateListOf<TabPosition>() }
val startX = remember { Animatable(0f) }
val endX = remember { Animatable(0f) }
val scope = rememberCoroutineScope()
import androidx.compose.animation.core.*
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.geometry.Size
// Screen Template
package ${PACKAGE_NAME}
import androidx.compose.runtime.Composable
import androidx.navigation.NavController
@Composable
fun ${NAME}Screen(
${NAME}State: ${NAME}UIState,
@jacksonfdam
jacksonfdam / index.html
Created May 16, 2022 09:05
Web RTC - Sound and Microphone Check
<main class="has-background-dark">
<div class="is-family-sans-serif has-text-white has-text-centered">
<h1 class="is-size-1 has-text-centered is-uppercase has-text-weight-bold">Sound check!</h1>
<p class="">See if your microphone and headphones are setup properly</p>
<p> For the Microphone test, a prompt will appear asking for permission to access your select output device </p>
<p>If you are not using headphones, it'll have a loop feedback</p>
<p></p>
<button class="button is-primary is-fullwidth is-large" id="micTest" type="button">Test Microphone</button>
<button class="button is-link is-light is-fullwidth is-medium" id="soundTest" type="button">Test Headphone/Speakers</button>
@jacksonfdam
jacksonfdam / whatsappweb.js
Created October 2, 2020 02:28
whatsappweb.js
/*
How to use it?
Open chrome, then visit web.whatsapp.com
Press F12, click at console
Copy the code bellow and paste into console.
Don't worry, you can trust me, I am a loveeeely person.
@jacksonfdam
jacksonfdam / .htaccess
Created May 28, 2020 03:58 — forked from morcegon/.htaccess
.htaccess optimized for laravel
# Apache configuration file
# httpd.apache.org/docs/2.2/mod/quickreference.html
# Note .htaccess files are an overhead, this logic should be in your Apache
# config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html
# Techniques in here adapted from all over, including:
# Kroc Camen: camendesign.com/.htaccess
# perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/
# Sample .htaccess file of CMS MODx: modxcms.com