A Claude Code skill that analyzes image files to extract dimensions, format, and metadata.
The skill is now installed in your ~/.claude/skills/image-info/ directory.
Lucene has Luke built in - to run it from the code I use this command:
git clone https://github.com/apache/lucene.git Lucene
cd Lucene
./gradlew assemble
java -cp './lucene/luke/build/lucene-luke-11.0.0-SNAPSHOT/*' \
-Xmx1024m -Xms512m -XX:MaxMetaspaceSize=256m org.apache.lucene.luke.app.desktop.LukeMain
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>HNSW Graph Visualization</title> | |
| <script src="https://d3js.org/d3.v7.min.js"></script> | |
| <style> | |
| .link { | |
| stroke: #999; | |
| stroke-opacity: 0.6; |
| dnf install -y docker git | |
| DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} | |
| mkdir -p $DOCKER_CONFIG/cli-plugins | |
| curl -SL https://github.com/docker/compose/releases/download/v2.24.7/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose | |
| chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose | |
| systemctl start docker |
| var API_PREFIX = '/api/v1'; | |
| var stats = []; | |
| var TEST_CDN = ''; | |
| function recordStat(url, cdnName, statName, timeInMillis) { | |
| stats.push({ | |
| "name": statName, | |
| "cdn": cdnName, | |
| "timeTakenMillis": timeInMillis | |
| }); |
| #!/usr/bin/env bash | |
| set -e | |
| rm -rf node_modules | |
| npm init -y | |
| npm install mongodb --production | |
| echo "before: $(du -sh node_modules)" | |
| rm -rf node_modules/@aws-sdk | |
| rm -rf node_modules/@aws-crypto |
| #!/bin/sh | |
| # Map input values from the GitHub Actions workflow to shell variables | |
| MONGODB_VERSION="6.0" | |
| MONGODB_REPLICA_SET="test-rs" | |
| MONGODB_PORT="27017" | |
| MONGO_CMD="mongosh" # for earlier versions use "mongo" | |
| if [ -z "$MONGODB_VERSION" ]; then | |
| echo "" |
| # Ref: https://gallery.ecr.aws/lambda/provided | |
| # + https://docs.aws.amazon.com/lambda/latest/dg/runtimes-images.html | |
| # + https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/ | |
| FROM public.ecr.aws/lambda/provided:al2 | |
| COPY bootstrap.sh ${LAMBDA_RUNTIME_DIR}/bootstrap | |
| COPY function.sh ${LAMBDA_TASK_ROOT} | |
| # Ref https://www.mongodb.com/docs/v6.0/tutorial/install-mongodb-on-amazon/ | |
| SHELL ["/bin/bash", "-c"] |
Follow the instructions here:
https://pypi.org/project/boto3-stubs/#pycharm
| package com.thing; | |
| import com.google.common.io.Files; | |
| import org.apache.spark.sql.Dataset; | |
| import org.apache.spark.sql.Row; | |
| import org.apache.spark.sql.SparkSession; | |
| import lombok.extern.slf4j.Slf4j; | |
| import java.awt.*; | |
| import java.io.File; |