Moss (Measure of Software Similarity) is a service that is used to check for plagiarism with programming assignments.
Moss is simply a command-line script that sends the program files to a server. You
Moss (Measure of Software Similarity) is a service that is used to check for plagiarism with programming assignments.
Moss is simply a command-line script that sends the program files to a server. You
| kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod |
| // No Security | |
| { | |
| "rules": { | |
| ".read": true, | |
| ".write": true | |
| } | |
| } |
| #!/usr/bin/env bash | |
| git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
| git fetch --all | |
| git pull --all |
Managing your Mincraft server with docker is a little bit nicer than just using the old "screen -r Mincraft" trick. docker can do snaphoting and auto restarting, and will allow you to think of the Mincraft server as a service, not just a java file that is being executed. Heres how I built mine. You should not have to edit the docker files. Just make sure you replace minecraft jar file version inside the code blocks when specified.
obviosly the only difference if your not using Ubuntu is the installation of java and the installation of docker
| { | |
| "version": "2.0.0", | |
| "tasks": [ | |
| { | |
| "label": "Run File in MATLAB", | |
| "type": "shell", | |
| "command": "matlab", | |
| "group": { | |
| "kind": "test", | |
| "isDefault": true |
| #!/usr/bin/env bash | |
| # Upload file to File.io (optional expiration) | |
| # fio file_name [expiration] | |
| fio () { | |
| if [[ "$#" -ge "2" ]]; then | |
| curl -F "file=@$1" "https://file.io/?expires=$2"; | |
| elif [ "$1" = "-h" ] || [ "$1" = "--help" ]; then | |
| echo "Uploads a file to file.io" |
| # Disable Commercial Repo | |
| sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list | |
| apt-get update | |
| # Add PVE Community Repo | |
| echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list | |
| apt-get update | |
| # Remove nag | |
| echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script |
| #!/usr/bin/env sh | |
| set -e | |
| set -x | |
| CUR_PWD="$(pwd)" | |
| cd "$(dirname $0)" | |
| if [ ! -d zfs ]; then | |
| # https://github.com/zfsonlinux/zfs/wiki/Building-ZFS |