Skip to content

Instantly share code, notes, and snippets.

View developerfred's full-sized avatar
👓

codingsh developerfred

👓
View GitHub Profile
@developerfred
developerfred / Dockerfile
Last active July 1, 2023 21:24
programatrava - umbrella on Elixir
# We start from a Elixir base image
FROM elixir:1.12
# Create app directory and copy the Elixir projects into it
RUN mkdir /app
COPY . /app
WORKDIR /app
# Install hex and rebar
RUN mix local.hex --force && \
@developerfred
developerfred / intereaction-viem-ad-manager.ts
Created September 26, 2024 01:59
Ad Manager Smart Contract Interaction Guide
// Ad Manager Smart Contract Interaction Guide
// Contract Address: 0x020243968704ccF8202Afd1F1134a90953385877
import { createPublicClient, http, parseAbi } from 'viem'
import { base } from 'viem/chains'
// Initialize the Viem client
const client = createPublicClient({
chain: base,
transport: http(),
@developerfred
developerfred / HVML.c
Created November 7, 2024 05:59 — forked from VictorTaelin/HVML.c
$10k bounty - make HVML.c 50% faster on Apple M3
// Post: https://x.com/VictorTaelin/status/1854326873590792276
// Note: The atomics must be kept.
// Note: This will segfault on non-Apple devices due to upfront mallocs.#include <stdint.h>
#include <stdint.h>
#include <stdatomic.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
import React, { useState, useEffect } from 'react';
import { Heart, Star, Users, Clock, BookOpen, CheckCircle } from 'lucide-react';
const CourseSubscription = () => {
const [selectedAmount, setSelectedAmount] = useState(29);
const [isAnimating, setIsAnimating] = useState(false);
const [showSuccess, setShowSuccess] = useState(false);
const suggestedPrice = 29;
const maxPrice = 100;
@developerfred
developerfred / report.md
Created January 11, 2026 21:52
PEAQ Robotics ROS2 Security Audit Report - Critical Vulnerabilities

PEAQ Robotics ROS2 Security Audit - AGENTS.md

Overview

Comprehensive security analysis of the peaq-robotics-ros2 repository conducted by multiple specialized agents.

Agents Used

  • Explore Agent: Code analysis, pattern matching, vulnerability scanning
  • Librarian Agent: Dependency analysis, CVE research, supply chain security
  • Manual Analysis: Dockerfile, configuration files, runtime behavior
@developerfred
developerfred / report_updated.md
Created January 11, 2026 21:54
PEAQ Robotics ROS2 Security Audit Report - Critical Vulnerabilities

PEAQ Robotics ROS2 Security Audit Report - Critical Vulnerabilities

Overview

Comprehensive security analysis of the peaq-robotics-ros2 repository conducted by multiple specialized agents.

Agents Used

  • Explore Agent: Code analysis, pattern matching, vulnerability scanning
  • Librarian Agent: Dependency analysis, CVE research, supply chain security
  • Manual Analysis: Dockerfile, configuration files, runtime behavior