Skip to content

Instantly share code, notes, and snippets.

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

Dieter Eickstaedt deicon

🏠
Working from home
View GitHub Profile
@deicon
deicon / gist:04448f3ab82bdc0a66ff7130551fb663
Last active November 15, 2021 19:02
Store Availability Check
for store in R434 R352; do
curl -H "Accept: application/json" https://www.apple.com/de/shop/fulfillment-messages\?pl\=true\&searchNearby\=true\&mt\=compact\&parts.0\=MLQ63ZD/A\&store\=R434 | jq --arg STORE "$store" '.body.content.pickupMessage.stores | map(select(.storeNumber == $STORE)) | .[].partsAvailability | .["MLQ63ZD/A"] | select(.pickupDisplay|select(.=="available"))'
done
MLPF3ZD/A, iPhone 13 Pro Schwarz, 128GB
MLQ63ZD/A, iPhone 13 Pro Schwarz, 256GB
@deicon
deicon / main.dart
Created June 29, 2020 06:45
ListSample
import 'package:flutter/material.dart';
main() {
runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
home: PhysicsCardDragDemo(),
),
);
@deicon
deicon / endpoints.md
Created January 2, 2016 18:21 — forked from derhuerst/_.md
List of HAFAS API Endpoints