Skip to content

Instantly share code, notes, and snippets.

View AntonioErdeljac's full-sized avatar
🏠
Working from home

Antonio Erdeljac AntonioErdeljac

🏠
Working from home
View GitHub Profile
@AntonioErdeljac
AntonioErdeljac / data-table.json
Last active April 27, 2025 14:46
dice-ui-registry
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "data-table",
"type": "registry:component",
"title": "Data Table",
"description": "A feature-rich data table component with server-side filtering, sorting, and pagination",
"dependencies": [
"@tanstack/react-table",
"lucide-react",
"nuqs"
@AntonioErdeljac
AntonioErdeljac / categories.ts
Last active June 9, 2025 14:34
Funroad assets
const categories = [
{
name: "All",
slug: "all",
},
{
name: "Business & Money",
color: "#FFB347",
slug: "business-money",
subcategories: [
@AntonioErdeljac
AntonioErdeljac / readme.md
Created March 16, 2025 14:21 — forked from nickcernis/readme.md
Exclude node_modules and .git from Backblaze backups on Mac

Exclude node_modules and .git from Backblaze backups on Mac

  1. Edit the file at /Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml.
  2. Add these rules inside the bzexclusions tag:
<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*"  ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="mac" osVers="*"  ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
@AntonioErdeljac
AntonioErdeljac / blank-document.svg
Last active May 31, 2025 15:02
Template gallery assets
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AntonioErdeljac
AntonioErdeljac / globals.css
Created September 10, 2024 21:11
globals.css
@tailwind base;
@tailwind components;
@tailwind utilities;
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
html,
body,
:root {
height: 100%;
@tailwind base;
@tailwind components;
@tailwind utilities;
html,
body,
:root {
height: 100%;
}
{
"name": "auth-tutorial",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"postinstall": "prisma generate"
const uppercaser = require('npm-medium-tutorial');
console.log(uppercaser('hello medium!'));
module.exports = (message) => message.toUpperCase();
const mongoose = require('mongoose');
const config = require('../config');
mongoose.Promise = Promise;
mongoose.connect(config.mongo.uri, { useNewUrlParser: true });
module.exports = mongoose;