- Language: TypeScript (
^5.0.0) - Framework: Next.js (App Router)
- Styling: Tailwind CSS
- Component Library: shadcn/ui
- Data Fetching: React Query (TanStack)
- Testing: Jest + React Testing Library
- Linting: ESLint with
@typescript-eslint - Formatting: Prettier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { Block, Field } from 'payload' | |
| import { | |
| FixedToolbarFeature, | |
| HeadingFeature, | |
| InlineToolbarFeature, | |
| lexicalEditor, | |
| UploadFeature, | |
| UnorderedListFeature, | |
| OrderedListFeature, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Function to check if required tools are available | |
| check_dependencies() { | |
| local missing_tools=() | |
| if ! command -v unzip &> /dev/null; then | |
| missing_tools+=("unzip") | |
| fi | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Target date and time in Brussels time | |
| TARGET_DATE="2025-05-30T23:59:00+02:00" | |
| # Get the absolute path of the starting directory | |
| SCRIPT_DIR=$(pwd) | |
| echo "Script starting in directory: $SCRIPT_DIR" | |
| # Read the file line by line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Define the SDK directory path as a variable | |
| SDK_DIR="/Users/selsk/Library/Android/sdk" | |
| # Define the subdirectory containing the android project | |
| PROJECT_DIR="/hero" | |
| JAVA_HOME="/Users/selsk/Applications/Android Studio.app/Contents/jbr/Contents/Home" | |
| # Function to search for 'hero' folders 2 directories deep and execute the required commands | |
| search_and_execute() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for zipFile in *.zip; do | |
| fileName=$(basename "$zipFile" .zip) | |
| echo "Extracting $zipFile..." | |
| unzip -q "$zipFile" -d "$fileName" | |
| newName=$(echo "$fileName" | cut -d '_' -f 1) | |
| # Move the contents of the inner folder to the parent folder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| cd INF101AB | |
| while read repo; do | |
| git clone "$repo" | |
| done < ../INF101AB.txt | |
| cd ../INF102AB | |
| while read repo; do | |
| git clone "$repo" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| #change de URL of the repo | |
| deployRepo=https://github.com/undefinedio/deveerman-trellis.git | |
| bedrockRepo=https://github.com/undefinedio/deveerman-backend.git | |
| tools=(trellis) #tool from roots.io | |
| subtrees=(trellis) #folder structure for the tools | |
| #init repo |
# install vagrant
brew install --cask vagrant
# install ansible
brew install ansible
brew install esolitos/ipa/sshpass
# install virtualbox but make sure it is virtualbox v6.1.26 MANUAL for DXY-1350 and DXY-1150 http://emoc.org/materiel/plotter_roland_DXY-1200/UMDXY1350a.pdf
make sure you have xcode command line tools installed.
xcode-select --install
Install pstoedit
Via Brew: brew install pstoedit
NewerOlder