Skip to content

Instantly share code, notes, and snippets.

@PubCyBerry
PubCyBerry / agent loop
Created March 13, 2025 05:35 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@PubCyBerry
PubCyBerry / git-snippets.md
Last active March 28, 2024 06:45
Git snippets
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PubCyBerry
PubCyBerry / TensorRT with Tensorflow.md
Last active June 21, 2023 01:23
TensorRT snippet

Guide: TensorRT

Tested on

  • Windows 11
  • tensorflow-gpu 2.10
  • *cuda (11.2 / 11.7 / 12.0) *(pip / cuda path / nvidia-smi)
  • cudnn 8.1.0
  • TensorRT 8.6.0
  • onnxruntime 1.13.1
@PubCyBerry
PubCyBerry / jax_mnist.py
Last active June 21, 2023 01:49
Jax snippet
from __future__ import print_function
from typing import Tuple
# argument parser
import argparse
# JAX
import jax
import jax.numpy as jnp
from jax import jit, grad, vmap, lax
@PubCyBerry
PubCyBerry / run_container.sh
Last active April 26, 2023 03:29
Docker snippet
#!/bin/bash
docker run --gpus all -it --name container_name --ipc host -v ${PWD}:/${HOME} -w /path/to/workspace -p from_port:to_port pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime sleep infinity
@PubCyBerry
PubCyBerry / .gitignore
Last active June 27, 2023 00:42
Templates
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
@PubCyBerry
PubCyBerry / 1D_Burgers.ipynb
Last active February 21, 2024 23:56
Math snippet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PubCyBerry
PubCyBerry / user setting.md
Last active January 16, 2023 01:40
Ubuntu

우분투 권한 부여

  • 계정 생성할 때부터 sudo 권한 주기
    • sudo adduser <user> sudo
  • 계정 생성 후 sudo 권한 부여(그룹에 추가)
  • sudo usermod -aG sudo
import wget
import time
def download_vsix(url_file):
# code --list-extensions --show-versions > extensions.list
request_form = "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/{}/vsextensions/{}/{}/vspackage"
f = open(url_file, "r")
f.readline()
for url in f: