https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png
![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)
HTTP transfer protocols | |
======================= | |
Git supports two HTTP based transfer protocols. A "dumb" protocol | |
which requires only a standard HTTP server on the server end of the | |
connection, and a "smart" protocol which requires a Git aware CGI | |
(or server module). This document describes both protocols. | |
As a design feature smart clients can automatically upgrade "dumb" | |
protocol URLs to smart URLs. This permits all users to have the |
<template> | |
<div class="editorjs" ref="htmlelement"></div> | |
</template> | |
<script setup> | |
import EditorJS from '@editorjs/editorjs'; | |
import EmbedTool from '@editorjs/embed'; | |
import ListTool from '@editorjs/list'; | |
import ImageTool from '@editorjs/image'; | |
import VideoTool from './editorjs/video.js'; | |
import { onMounted, onUnmounted, ref, watch } from 'vue'; |
{0: 'tench, Tinca tinca', | |
1: 'goldfish, Carassius auratus', | |
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
3: 'tiger shark, Galeocerdo cuvieri', | |
4: 'hammerhead, hammerhead shark', | |
5: 'electric ray, crampfish, numbfish, torpedo', | |
6: 'stingray', | |
7: 'cock', | |
8: 'hen', | |
9: 'ostrich, Struthio camelus', |
==== CENTOS 7 LEMP STACK INSTALLATION ==== | |
0. Make sure the centos 7 server have internet connection | |
1. Install the EPEL Repository | |
sudo yum -y install epel-release | |
2. Install the Remi Repository | |
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm | |
3. Install Nginx |
See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
To setup some key bindings in Xcode with the same like VSCode
Add this to /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/IDETextKeyBindingSet.plist
Thanks to: https://gist.github.com/emotality/b1bcb2bb8a07921f9c8cad1c969daedf
<key>Duplication</key>
<dict>
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
1. my+ 1001. se+ 2001. thedaily+ 3001. empire+ 4001. herb+ | |
2. +online 1002. test+ 2002. giant+ 3002. +cook 4002. +teen | |
3. the+ 1003. fish+ 2003. survey+ 3003. +deluxe 4003. affordable+ | |
4. +web 1004. hk+ 2004. +conference 3004. +crunch 4004. proto+ | |
5. +media 1005. florida+ 2005. twit+ 3005. michigan+ 4005. +ity | |
6. web+ 1006. fine+ 2006. pick+ 3006. cars+ 4006. myhome+ | |
7. +world 1007. loan+ 2007. +dvd 3007. +forest 4007. plastic+ | |
8. +net 1008. page+ 2008. cinema+ 3008. yacht+ 4008. +kc | |
9. go+ 1009. fox+ 2009. desi+ 3009. +wallet 4009. +foot | |
10. +group 1010. +gift 2010. act+ 3010. +contest 4010. +sup |
Considering the lack of multi-threaded download support in the official huggingface-cli
, and the inadequate error handling in hf_transfer
, this command-line tool smartly utilizes wget
or aria2
for LFS files and git clone
for the rest.
--exclude
or --include
to skip or specify files, save time for models with duplicate formats (e.g., *.bin
or *.safetensors
).--hf_username
and --hf_token
to authenticate.HF_ENDPOINT
environment variable.