sources for http://sjtug.org . Powered by Hugo.
sjtug / portal Goto Github PK
View Code? Open in Web Editor NEWPortal of SJTUG
Home Page: http://sjtug.org
Portal of SJTUG
Home Page: http://sjtug.org
sources for http://sjtug.org . Powered by Hugo.
本应以代码块的形式显示,却显示为行内代码。
https://github.com/sjtug/portal/blob/master/content/post/mirror-help/raspbian-addons.md
coscmd
to upload /public
directory in before_deploy
section of .travis.yml
避免类似下面链接地址中间的 metalink
部分被替换,
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
说明档中 https://mirror.sjtu.edu.cn/docs/fedora/linux 使用下面的代码效果更佳:
sed -e 's/^metalink=/#metalink=/g' -e 's|^#baseurl=http://download.example/pub/|baseurl=https://mirror.sjtu.edu.cn/|g' -i.bak /etc/yum.repos.d/<需要替换的文件>
原来的代码:
sed -e 's/metalink/#metalink/g' -e 's|#baseurl=http://download.example/pub/|baseurl=https://mirror.sjtu.edu.cn/|g' -i.bak /etc/yum.repos.d/<需要替换的文件>
sed -e 's/^metalink=/#metalink=/g' -e 's|^#baseurl=http://download.example/pub/|baseurl=https://mirror.sjtu.edu.cn/|g' -e 's|SRPMS|source/tree|g' -i.bak /etc/yum.repos.d/{fedora.repo,fedora-updates.repo,fedora-updates-testing.repo,fedora-modular.repo,fedora-updates-modular.repo}
SRPMS
替换为 source/tree
;已验证解决源码包下载的问题。
sed -e 's/^metalink=/#metalink=/g' -e 's|^#baseurl=http://download1.rpmfusion.org/|baseurl=https://mirror.sjtu.edu.cn/rpmfusion/|g' -i.bak /etc/yum.repos.d/rpmfusion*
请审核,感谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.