Skip to content

Instantly share code, notes, and snippets.

View AyaanZaveri's full-sized avatar
🚀

Ayaan AyaanZaveri

🚀
  • Toronto, Ontario
  • 23:09 (UTC -04:00)
View GitHub Profile
@AyaanZaveri
AyaanZaveri / mathextension.py
Last active December 1, 2021 03:31
Math Extension #7
#!/usr/bin/env python3
from itertools import permutations
nums = [2124, 1984, 1724, 2344, 2074, 1632]
combination = permutations(nums, 4)
for i in combination:
sumofnums = i[0] + i[1] + i[2] + i[3]
i = list(i)
if sumofnums / 4 == 2021:
@AyaanZaveri
AyaanZaveri / buttons.html
Last active February 4, 2022 02:48
Tailwind CSS Buttons
<div class="h-screen mt-3">
<div class="flex flex-wrap justify-center items-center gap-y-3 gap-x-3">
<button type="button" class="focus:ring-rose inline-flex items-center px-4 py-2 hover:text-rose-500 text-rose-500 active:text-rose-500 text-sm font-medium active:bg-rose-100 bg-white hover:bg-rose-50 border focus:border-rose-500 focus:ring ring-rose-300 border-rose-300 rounded-md focus:outline-none transition"><svg xmlns="http://www.w3.org/2000/svg" class="-ml-1 mr-2 w-5 h-5 dark:text-rose-300 text-rose-500" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" /></svg>
Delete
</button>
<button type="button" class="focus:ring-rose inline-flex items-center px-4 py-2 hover:text-orange-500 text-orange-500 active:text-orange-500 text-sm font-medium active:bg-orange-100 bg-white hover:bg-orange-50 border focus:borde
{
"format": "layers-model",
"generatedBy": "keras v2.7.0",
"convertedBy": "TensorFlow.js Converter v3.13.0",
"modelTopology": {
"keras_version": "2.7.0",
"backend": "tensorflow",
"model_config": {
"class_name": "Sequential",
"config": {