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
Download this gist's ZIP file and extract it to a directory called dgraph-nginx
.
mkdir dgraph-nginx
cd dgraph-nginx
wget -O dgraph-nginx.zip https://gist.github.com/danielmai/0cf7647b27c7626ad8944c4245a9981e/archive/5a2f1a49ca2f77bc39981749e4783e3443eb3ad9.zip
unzip -j dgraph-nginx.zip
This creates two files: docker-compose.yml
and nginx.conf
.
See the README at the original gist: https://gist.github.com/mjpitz/0df6fd7982129ed620100423ced921ef
version: "3.2" | |
services: | |
zero: | |
image: dgraph/dgraph:latest | |
volumes: | |
- type: bind | |
source: $HOME/dgraph | |
target: /dgraph | |
ports: | |
- 5080:5080 |
I hereby claim:
* I am danielmai on github. * I am dmai (https://keybase.io/dmai) on keybase. * I have a public key ASD5esbHAu4zoG-4hsJ5CQxsPbju-9ToEvCWAfqgfv8S0Ao
To claim this, I am signing this object:
package com.example.android.sunshine.app.ui; | |
import android.support.test.rule.ActivityTestRule; | |
import android.support.test.runner.AndroidJUnit4; | |
import android.test.suitebuilder.annotation.LargeTest; | |
import com.example.android.sunshine.app.MainActivity; | |
import com.example.android.sunshine.app.R; | |
import org.junit.Rule; |
Program NoNulChar; | |
TYPE | |
Buffer = PACKED ARRAY[0..200] of char; | |
VAR | |
B : Buffer; | |
BEGIN | |
readln(B); |
read = %x(defaults read com.apple.universalaccess | grep stickyKey) | |
if /stickyKey = 0;$/ =~ read | |
%x(defaults write com.apple.universalaccess stickyKey 1) | |
else | |
%x(defaults write com.apple.universalaccess stickyKey 0) | |
end | |
%x(killall universalaccessd) |