Skip to content

Instantly share code, notes, and snippets.

View AregevDev's full-sized avatar
🎯
Focusing

AregevDev

🎯
Focusing
View GitHub Profile
@AregevDev
AregevDev / inc.comp
Created March 5, 2020 22:55
Dummy Vulkan compute application
#version 450 core
layout (local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
layout (set = 0, binding = 5, std430) buffer MyBuffer
{
uint array[];
} myBuffer;
layout (push_constant) uniform Scalar
@AregevDev
AregevDev / simple_app.dart
Created April 30, 2020 15:50
Flutter Stuff
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(MyApp());
class RandomWords extends StatefulWidget {
@override
RandomWordsState createState() => RandomWordsState();
}
@AregevDev
AregevDev / vector.rs
Created August 12, 2023 11:54
A generic Vector3 struct for whenever I need it
use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAssign};
use num_traits::{Float, Num, NumAssignOps};
#[derive(Debug, Copy, Clone, PartialEq, PartialOrd)]
pub struct Vector3<T: Num + Copy> {
pub x: T,
pub y: T,
pub z: T,
}
@AregevDev
AregevDev / Cargo.toml
Created October 17, 2024 08:37
Spotify Playlist Server
[package]
name = "test_spotify"
version = "0.1.0"
edition = "2021"
[dependencies]
tokio = { version = "1.40.0", features = ["full"] }
tokio-util = { version = "0.7.12" , features = ["full"] }
tokio-cron-scheduler = { version = "0.13.0", features = ["signal"] }
spotify-rs = "0.3.14"