Skip to content

Instantly share code, notes, and snippets.

View daniftinca's full-sized avatar

Dan Iftinca daniftinca

View GitHub Profile
# Nile Search Engine Filters & Sorts Documentation
This document details how filters and sorts are implemented with Meilisearch in the Nile Shopify collection product grid.
## Table of Contents
- [Overview](#overview)
- [Filters](#filters)
- [Size Filter](#size-filter)
- [Color Filter](#color-filter)
@daniftinca
daniftinca / v1api.md
Last active January 6, 2026 15:02
v1 Api

V1 API Adjusted Endpoints for suppliers, taxClasses, Sellers

Standard JSON:API endpoints for products, variants, and related resources.

Base URL: https://app.aico.swiss/{workspaceId}/api/v1

Authentication: All endpoints require a Bearer Token Auth header

Content Type: Accept: application/vnd.api+json

@daniftinca
daniftinca / algoritmi simpli.py
Last active December 20, 2016 17:00
Algoritmi simpli
def fibo(n):
'''returneaza al n-lea numar din sirul lui fibonacci'''
if n==1:
return 1
elif n==2:
return 1
else:
return fibo(n-1)+fibo(n-2)
@daniftinca
daniftinca / Generator.py
Created December 17, 2016 12:32
Log file generator
import random
from datetime import date
def generate(filename):
typelist=['DEBUG','INFO','WARN','ERROR','FATAL','SEVERE']
classlist=['HelloExample','SaveAction','EditAction','DeleteProduct']
messagelist_debug=['Kritische Fehler beim Speichern','Ungültige Fehler','Debug mode activated','Record not found','This is fatal']
messagelist_info=['Updated succesfully record number 1','Updated succesfully record number 2','Updated succesfully record number 3','Updated succesfully record number 4','Updated succesfully record number 5']