国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
# coding: utf-8 | |
# py2 origin author lrdcq | |
# usage python3 unwxapkg.py filename | |
__author__ = 'Integ: https://github.com./integ' | |
import sys, os | |
import struct | |
class WxapkgFile(object): |
<svg id="noise-svg"> | |
<!-- gives background a bit of texture --> | |
<filter id='noiseFilter'> | |
<feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch' /> | |
</filter> | |
<rect id="noise-rect" filter='url(#noiseFilter)' /> | |
</svg> | |
<div class="clock off"> | |
<div class="shadow"></div> |
""" To use: install LLM studio (or Ollama), clone OpenVoice, run this script in the OpenVoice directory | |
git clone https://github.com/myshell-ai/OpenVoice | |
cd OpenVoice | |
git clone https://huggingface.co/myshell-ai/OpenVoice | |
cp -r OpenVoice/* . | |
pip install whisper pynput pyaudio | |
""" | |
from openai import OpenAI | |
import time |
# 2023-11-27 MIT LICENSE | |
Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com. | |
It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town. | |
Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same! | |
Send me your ChatGPT text adventure game on X, I'd love to try it! |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
# Adapted from https://amitness.com/vscode-on-colab | |
# Copy this script into a colab cell | |
# install deps if needed | |
!(command -v "code-server" 1>/dev/null) || (curl -fsSL https://code-server.dev/install.sh | sh && echo) | |
!(python -c "import pyngrok" 2>/dev/null) || (pip install -qqq pyngrok) | |
# run vscode in background if needed | |
!(ps -ef|awk '/code-server/&&!/awk/{exit 1}') && (nohup code-server --port 9000 --auth none &) |
Through the GitHub API it is possible to retrieve individual files from a Git repository via, e.g. curl
. To do so, first retrieve the content information for the relevant file (or folder):
curl https://api.github.com/repos/{organisation}/{repository}/contents/{file or folder path}
For private repositories, authenticate using your username and a personal access token
localhost
:pip install trustme-cli
trustme-cli
wrk
on each endpoint, eg: