Skip to content

Instantly share code, notes, and snippets.

View w7br's full-sized avatar
🍃
Working from home

VolKSein w7br

🍃
Working from home
  • Birigui - SP
  • 21:57 (UTC -03:00)
View GitHub Profile
@w7br
w7br / eigen-mcp.ts
Created May 17, 2025 15:39 — forked from dabit3/eigen-mcp.ts
EigenLayer MCP Server Example
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
import 'dotenv/config'
const server = new McpServer({
name: "EigenLayer AVS service",
version: "1.0.0",
});
@w7br
w7br / ffmpegToWeb.js
Created January 27, 2025 16:29 — forked from moeiscool/ffmpegToWeb.js
FFMPEG to Web Browser with Express, Socket.IO and JSMPEG
// Shinobi (http://shinobi.video) - FFMPEG H.264 over HTTP Test
// How to Use raw H.264 (Simulated RTSP)
// 1. Start with `node ffmpegToWeb.js`
// 2. Get the IP address of the computer where you did step 1. Example : 127.0.0.1
// 3. Open VLC and "Open Network Stream".
// 4. Input the following without quotes : `http://127.0.0.1:8001/h264` and start.
var child = require('child_process');
var io = require('socket.io');
var events = require('events');
@w7br
w7br / index.html
Last active March 8, 2022 01:23
Tic Tac Toe
<div id="errors" style="
background: #c00;
color: #fff;
display: none;
margin: -20px -20px 20px;
padding: 20px;
white-space: pre-wrap;
"></div>
<div id="root"></div>
<script>