One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| root@ip-10-0-102-85:/usr/src/app# python ./relycomply/manage.py showmigrations --list | |
| {"timestamp": "2024-12-12T19:45:29.45.0", "level": "INFO", "location": "xmlschema.include_schema:1274", "message": "Include schema from 'file:///usr/src/venv/lib/python3.11/site-packages/xmlschema/schemas/XSD_1.1/xsd11-extra.xsd'"} | |
| System check identified some issues: | |
| WARNINGS: | |
| users.User.email: (fields.W905) django.contrib.postgres.fields.CICharField is deprecated. Support for it (except in historical migrations) will be removed in Django 5.1. | |
| HINT: Use CharField(db_collation="…") with a case-insensitive non-deterministic collation instead. | |
| {"timestamp": "2024-12-12T19:45:31.189.0", "level": "WARNING", "location": "aws_xray_sdk.core.recorder._begin_subsegment_helper: 289", "message": "No segment found, cannot begin subsegment execute."} | |
| {"timestamp": "2024-12-12T19:45:31.211.0", "level": "WARNING", "location": "aws_xray_sdk.core.recorder._begin_subsegment_helper: 289", "message": "No segment found, cannot begin subsegment |
| let myCircle; | |
| function setup() { | |
| createCanvas(400, 400); | |
| background(0); | |
| // retrieve the x, y coords from the DB | |
| fetch('/circle', {method: 'GET'}) | |
| .then(function(response) { | |
| if(response.ok) return response.json(); | |
| throw new Error('Request failed.'); |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| usage() { | |
| cat <<EOF |
| import axios, { AxiosRequestConfig } from 'axios'; | |
| (async () => { | |
| const config: AxiosRequestConfig = { | |
| get baseURL() { | |
| let baseURL = 'https://example.com'; | |
| // Select node here | |
| return baseURL; | |
| }, |
| /* | |
| VARIATIONS: | |
| Draw lines between all circles | |
| Draw lines between new circle and closest neighboor | |
| Move new circle to exactly touch closest neighboor | |
| Change fill or stroke depending on circle size | |
| Change overlap threshold (slight overlap ok / large margin) | |
| */ |
| /* | |
| * Doodle that spawns a grid of lines and some random controlPoints and rotates | |
| * the lines. Time waster/code doodle. | |
| * | |
| * Muhummad Patel | |
| * 19 Oct 2016 | |
| */ | |
| ArrayList<ControlPoint> controlPoints; | |
| final int NUM_CONTROL_POINTS = 15; |
| # Finds your public ip and writes it to a github gist. Run this as a cronjob as often as you like | |
| # When you need to ssh in, just check the gist for the ip to use | |
| # requires simplegist: pip install simplegist | |
| from datetime import datetime | |
| from simplegist import Simplegist | |
| from urllib2 import urlopen | |
| gg = Simplegist(username='[github username]', api_token='[github api token]') |
| # Using pxssh to automate ssh-ing in and running some commands. Seems | |
| # pretty useful. | |
| # Dependencies: pip install pexpect | |
| from pexpect import pxssh | |
| try: | |
| s = pxssh.pxssh() | |
| hostname = '[hostname]' | |
| username = '[username]' |
| /* | |
| * Quick test to figure out how to bitpack a 3d array of voxels into a flat | |
| * array of ints. Need to understand this concept for cgp2 assignment. | |
| * | |
| * Relevant sources: | |
| * http://stackoverflow.com/questions/6916974/change-a-bit-of-an-integer | |
| * http://stackoverflow.com/questions/47981/how-do-you-set-clear-and-toggle-a-single-bit-in-c-c | |
| * http://www.learncpp.com/cpp-tutorial/38-bitwise-operators/ | |
| * | |
| * Muhummad Patel 1-March-2016 |