Skip to content

Instantly share code, notes, and snippets.

clean-pkg:
mvn clean package
clean:
mvn clean
pkg:
mvn package
test:
import argparse
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.widgets import LassoSelector
from matplotlib.path import Path
from skimage import color
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#define BUFSIZE 8160
# Use ^b for prefix
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
#! /usr/bin/python3
from urllib.request import urlopen
import json
url = 'http://asuc-mobile.herokuapp.com/api/dining_halls'
response = urlopen(url)
json = json.loads(response.read().decode())
print("""Select a location:
1) Crossroads