Forwarded from dnaugsuz
2. GitHub Repositories https://help.github.com/articles/github-terms-of-service/#2-github-repositories
You may not advertise in other Users' repositories, such as by posting monetized or excessive bulk content in issues.
3. Spamming and Inappropriate Use of GitHub
GitHub repositories are intended to host Content. You may include static images, links, and promotional text in the README documents associated with your repositories, but they *must be related to the project you are hosting on GitHub* .
You may not advertise in other Users' repositories, such as by posting monetized or excessive bulk content in issues.
3. Spamming and Inappropriate Use of GitHub
Advertising Content, like all Content, must not violate the law or these Terms of Use, for example through excessive bulk activity such as spamming. We reserve the right to remove any advertisements that, in our sole discretion, violate any GitHub terms or policies.
GitHub Docs
GitHub Terms of Service - GitHub Docs
Get started, troubleshoot, and make the most of GitHub. Documentation for new users, developers, administrators, and all of GitHub's products.
Forwarded from Deleted Account
[Nadebula] 准确地说,是通过某种方式实现“原生”运行 M$ Office Online。
Forwarded from Deleted Account
[Nadebula] 其实,所谓的“国产”发行版中真的有集成 M$ Office 的,大概是 wine 一份海贼版的副本。
Forwarded from Deleted Account
[Nadebula] 我曾经回复过那个项目,既然你们决定在 wine 中用 kms 激活一份 M$ Office 副本,为何不顺便用 kms 激活一份 M$ Windows 副本……
Forwarded from Deleted Account
[Nadebula] 另有传闻说,盖茨本人也换 Android 手机了,M$ 移动部门不再开发新硬件……
Forwarded from duangsuse Throws
#music #Dev #Learn SuperTux歌单:
🌚
bash, zsh均可使用. duangsuse写这个东西花了一个上午( 看来shell虽然博大精深但依然不能拿来谈笑风生 ...🙈
#cd&&git clone https://github.com/SuperTux/supertux.git #如果你没有st的话
cd /usr/share/games/supertux2/music #cd supertux/data/music
🌚
#!/bin/bash
for m in `ls|grep .music` ;do
file_name=`grep -e '".*ogg' -h -o $m|cut -d '"' -f2`
loop_start=`grep -e "loop-begin *" -h $m|awk -F"[ ]" '{print $4}'|cut -d ')' -f 1`
#顺便介绍一下GNU coreutils的tac和rev, 能对行和行内容字符序反转.
loop_end=`grep -e "loop-at *" -h $m|cut -c 12-|cut -d ")" -f1`
printf "\033[32mPlaying SuperTux music \033[36m$file_name \033[0m: \033[0m";echo
printf "\033[34m[*] \033[0m";printf "\033[31mLoop starts at \033[33m$loop_start\\033[0m, ends at \033[35m$loop_end\033[0m \033[0m";echo
mpv $file_name --ab-loop-a $loop_start --ab-loop-b $loop_end ;sleep 0.1
done
unset file_name loop_start loop_end
bash, zsh均可使用. duangsuse写这个东西花了一个上午( 看来shell虽然博大精深但依然不能拿来谈笑风生 ...🙈
duangsuse Throws
#music #Dev #Learn SuperTux歌单: #cd&&git clone https://github.com/SuperTux/supertux.git #如果你没有st的话 cd /usr/share/games/supertux2/music #cd supertux/data/music 🌚 #!/bin/bash for m in `ls|grep .music` ;do file_name=`grep -e '".*ogg' -h -o $m|cut -d '"' -f2` …
使用函数定义重购了一遍🌚
print_color(){
red=31;green=32;yellow=33;blue=34;purple=35;cyan=36
printf "\033[$1m$2\033[0m"
}
for m in `ls|grep .music` ;do
file_name=`grep -e '".*ogg' -h -o $m|cut -d '"' -f2`
loop_start=`grep -e "loop-begin *" -h $m|awk -F"[ ]" '{print $4}'|cut -d ')' -f 1`
loop_end=`grep -e "loop-at *" -h $m|cut -c 12-|cut -d ")" -f1`
print_color $green "Playing SuperTux Music ";print_color $red $file_name;echo
print_color $blue "[*] ";print_color $purple "Loop starts at ";print_color $cyan $loop_start
print_color $purple ", ends at ";print_color $cyan $loop_end
mpv $file_name --ab-loop-a $loop_start --ab-loop-b $loop_end;sleep 0.1
done
unset file_name loop_start loop_endForwarded from 五黄鼠的毛绒绒实验室 (LabRat)
This media is not supported in your browser
VIEW IN TELEGRAM
Retweeted: https://t.co/cVoka51CYS