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
uv run lerobot/lerobot/scripts/train.py \ | |
--dataset.repo_id=maujim/place_bagel_on_jig3 \ | |
--policy.type=act \ | |
--output_dir=outputs/train/dot-30k \ | |
--job_name=dot-30k \ | |
--policy.device=cuda --steps=30000 | |
uv run lerobot/lerobot/scripts/train.py \ | |
--dataset.repo_id=maujim/place_bagel_on_jig3 \ | |
--policy.type=act \ |
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 os | |
import json | |
import pandas as pd | |
from datasets import load_dataset | |
def infer_modalities(array_len, prefix): | |
# Heuristic: chunk into 7-element blocks | |
modalities = {} | |
block_size = 7 | |
i = 0 |
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 | |
## usage: | |
## echo "find all files in ~/dev over 5MB" | ./oneliner.sh | |
read -r -d '' SYSPROMPT <<EOF | |
You are a specialized shell command generator. Your task is to generate concise and effective one-line shell commands based on a brief user description and provided context. You will be given the user's desired task in a single sentence, along with relevant tool documentation (man pages, --help output, etc.). | |
**Your Goal:** Understand the user's task and use the provided documentation to construct the *most efficient and correct* shell one-liner to accomplish it. |
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 React, { useState, useEffect } from 'react'; | |
const TiledBackground = ({ name = 'MUKUND', debugMode = false }) => { | |
const [rows, setRows] = useState(0); | |
const [columns, setColumns] = useState(0); | |
const [hoveredIndex, setHoveredIndex] = useState(null); | |
useEffect(() => { | |
const updateDimensions = () => { | |
const viewportWidth = window.innerWidth; |
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 | |
pnpm >/dev/null && echo "using pnpm" | |
echo "using react-swc" | |
pnpm create vite --template react-swc . | |
pnpm install three @types/three @react-three/{fiber,drei,rapier,cannon} | |
pnpm run dev |
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
! name: engineering blogs | |
! description: extracted from https://github.com/kilimchoi/engineering-blogs/blob/54a6e7fb02568985407afdf591aeef162e81ce07/README.md | |
! public: true | |
! author: Mukund Mauji | |
$discard | |
/blog/*$boost=3,site=8thlight.com | |
/blog/*$boost=3,site=tech.adroll.com | |
$boost=3,site=advancedweb.hu |
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_file="$1" | |
target_file_name="$(basename "$1")" | |
echo '<?xml version="1.0" encoding="UTF-8"?>' | |
echo '<opml version="2.0">' | |
echo '<opml version="2.0">' | |
echo "<head> <title>rss feed from $target_file_name</title> </head>" |
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
! name: researching 1 | |
! description: for learning about new topics | |
! public: true | |
! author: Mukund Mauji | |
$discard | |
! research papers | |
$boost=3,site=arxiv.org |
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
! name: reddit neuro | |
! description: <blank> | |
! public: true | |
! author: Mukund Mauji | |
$discard | |
/r/neuroscience/comments/*$site=reddit.com | |
/r/PredictiveProcessing/comments/*$site=reddit.com | |
/r/compmathneuro/comments/*$site=reddit.com |
NewerOlder