Skip to content

Instantly share code, notes, and snippets.

View hathibelagal-dev's full-sized avatar
🎯
Focusing

Ashraff Hathibelagal hathibelagal-dev

🎯
Focusing
View GitHub Profile
@hathibelagal-dev
hathibelagal-dev / stableaudiosmall.ipynb
Created May 16, 2025 05:04
StableAudioSmall.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hathibelagal-dev
hathibelagal-dev / acestep.ipynb
Last active May 15, 2025 17:41
AceStep.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hathibelagal-dev
hathibelagal-dev / fluxreduxquantized.ipynb
Created May 6, 2025 00:25
FluxReduxQuantized.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hathibelagal-dev
hathibelagal-dev / fluxgenerator.ipynb
Created April 29, 2025 04:19
FluxGenerator.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hathibelagal-dev
hathibelagal-dev / diatest.ipynb
Last active April 23, 2025 23:25
diatest.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hathibelagal-dev
hathibelagal-dev / sesamecsm-1b.ipynb
Created March 14, 2025 02:15
SesameCSM-1B.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hathibelagal-dev
hathibelagal-dev / stormy.glsl
Created March 10, 2025 10:44
Just a beautiful, aesthetic shader try to portray a turbulent ocean
vec3 hsv(float h, float s, float v) {
vec3 c = vec3(h * 6.0, s, v);
vec3 step = vec3(5.0, 3.0, 1.0);
vec3 rgb = clamp(abs(mod(c.x + step, 6.0) - 3.0) - 1.0, 0.0, 1.0);
rgb = rgb * rgb * (3.0 - 2.0 * rgb);
return v * mix(vec3(1.0), rgb, s);
}
void mainImage(out vec4 fragColor, in vec2 FC)
{
@hathibelagal-dev
hathibelagal-dev / sentiments.py
Created December 18, 2023 02:12
Sentiment Analysis Using Google's Text Embeddings.
import vertexai.language_models as v
import jax.numpy as jnp
import jax.numpy.linalg as jl
model = v.TextEmbeddingModel.from_pretrained(
"textembedding-gecko"
)
sentiment_checks = [
"This is very good. I loved it! Thanks",
@hathibelagal-dev
hathibelagal-dev / main.dart
Created April 18, 2022 00:43
Clifford attractor in a Flutter app
import 'package:flutter/material.dart';
import 'dart:math' as Math;
import 'dart:async';
import 'dart:ui';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {