| #!/bin/sh | |
| # Place in /etc/motd.d and drop the .sh suffix. | |
| echo -e "\n\033[1mWelcome to Gentoo Linux!\033[0m" | |
| echo -e "\nThis server is maintained by \033[1m$(cat /etc/maintainer)\033[0m." | |
| echo -e "Contact \033[1m$(cat /etc/maintainer-address)\033[0m for support." | |
| echo -en "\n \033[1;32m*\033[0m " |
| git init # 初始化本地git仓库(创建新仓库) | |
| git config --global user.name "xxx" # 配置用户名 | |
| git config --global user.email "[email protected]" # 配置邮件 | |
| git config --global color.ui true # git status等命令自动着色 | |
| git config --global color.status auto | |
| git config --global color.diff auto | |
| git config --global color.branch auto | |
| git config --global color.interactive auto | |
| git config --global --unset http.proxy # remove proxy configuration on git | |
| git clone git+ssh://[email protected]/VT.git # clone远程仓库 |
| #include <stdio.h> | |
| #include <cuda.h> | |
| #include <cuda_runtime_api.h> | |
| /* Outputs some information on CUDA-enabled devices on your computer, | |
| * including compute capability and current memory usage. | |
| * | |
| * On Linux, compile with: nvcc -o cuda_check cuda_check.c -lcuda | |
| * On Windows, compile with: nvcc -o cuda_check.exe cuda_check.c -lcuda | |
| * |
| # ======================================================== | |
| # Setup a Dumb AP, Wired backbone for OpenWRT / LEDE | |
| # ======================================================== | |
| # Set lan logical interface as bridge (to allow bridge multiple physical interfaces) | |
| uci set network.lan.type='bridge' | |
| # assign WAN physical interface to LAN (will be available as an additional LAN port now) | |
| uci set network.lan.ifname="$(uci get network.lan.ifname) $(uci get network.wan.ifname)" | |
| uci del network.wan.ifname | |
| # Remove wan logical interface, since we will not need it. | |
| uci del network.wan |
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
| // ==UserScript== | |
| // @name 哔站直播全裸2233娘 | |
| // @description 哔站直播间的2233娘挂件替换为全裸版本 | |
| // @description:zh-TW 嗶站直播間的2233娘掛件替換為全裸版本 | |
| // @namespace https://github.com/journey-ad | |
| // @author journey-ad | |
| // @include *://live.bilibili.com/* | |
| // @require https://cdn.jsdelivr.net/jquery/1.12.4/jquery.min.js |
for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.
- open
Terminal, go to the dir :cd /Applications/Beyond Compare.app/Contents/MacOS - change the name
BComparetoBCompare.bak:mv BCompare BCompare.bak - touch a file name
BCompare, andchmod a+ux BCompare:touch BCompare && chmod a+ux BCompare - open
BComparewith text editor, insert the script :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
- clone latest source repository by
git clone https://www.github.com/openwrt/openwrt -b branch_name - Now change directory to openwrt by
cd openwrt.This is our<buildroot dir>for this guide.
- Update feeds:
./scripts/feeds update -a - Make downloaded package(s) available in make menuconfig:
- single package :
./scripts/feeds install <PACKAGENAME> - all packages :
./scripts/feeds install -a
- single package :
