Skip to content

Instantly share code, notes, and snippets.

View austinmccalley's full-sized avatar
🌎
Focusing

Austin austinmccalley

🌎
Focusing
View GitHub Profile
File "data-creator.py", line 37, in <module>
CharlesBot1_ships = get_ships(CharlesBot1)
File "data-creator.py", line 9, in get_ships
return int(data.split("producing ")[1].split(" ships")[0])
IndexError: list index out of range
@austinmccalley
austinmccalley / data-creator.py
Created January 11, 2018 16:09
This is my data creator file which is returning the weird error. The function get_ships(data) is returning the weird error.
import os
import time
ship_requirement = 10
damage_requirement = 1000
def get_ships(data):
return int(data.split("producing ")[1].split(" ships")[0])
@austinmccalley
austinmccalley / image_to_graph_and_csv.py
Created February 14, 2018 19:25
Iterates through picture to make a csv and graph
import numpy as np
import mpl_toolkits.mplot3d.axes3d as p3
import matplotlib.pyplot as plt
import colorsys
from PIL import Image
import sys
import csv
if sys.version_info[0] == 3:
xrange = range
worker_processes auto;
error_log logs/error.log warn;
events {
worker_connections 1024;
}
# RTMP Config
worker_processes auto;
error_log logs/error.log debug;
events {
worker_connections 1024;
}
# RTMP Config
@austinmccalley
austinmccalley / flutter_build_output.log
Created May 2, 2019 17:20
Failed GeoFlutterFire Build Log
This file has been truncated, but you can view the full file.
[ +76 ms] executing: [/Users/austin/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +109 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ +4 ms] origin/stable
[ +1 ms] executing: [/Users/austin/flutter/] git rev-parse --abbrev-ref HEAD
[ +17 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] stable
[ +35 ms] executing: [/Users/austin/flutter/] git ls-remote --get-url origin
[ +103 ms] Exit code 0 from: git ls-remote --get-url origin
[ +30 ms] https://github.com/flutter/flutter.git
[ +1 ms] executing: [/Users/austin/flutter/] git log -n 1 --pretty=format:%H
This file has been truncated, but you can view the full file.
[ +136 ms] executing: [/Users/austin/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +109 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ +2 ms] origin/stable
[ +2 ms] executing: [/Users/austin/flutter/] git rev-parse --abbrev-ref HEAD
[ +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] stable
[ +2 ms] executing: [/Users/austin/flutter/] git ls-remote --get-url origin
[ +14 ms] Exit code 0 from: git ls-remote --get-url origin
[ +1 ms] https://github.com/flutter/flutter.git
[ +29 ms] executing: [/Users/austin/flutter/] git log -n 1 --pretty=format:%H
@austinmccalley
austinmccalley / index.html
Created December 17, 2019 23:57
Button Not Able to Be Clicked Below Overlay
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Intro Animation</title>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.1/TweenMax.min.js"></script>
<link rel="stylesheet" href="master.css">
version: '3'
services:
nodejs:
build:
context: .
dockerfile: Dockerfile
image: nodejs
container_name: nodejs
restart: unless-stopped

We are one of the numerous partners of the Knights of Academia 2020 hackacthon! :letmein_devcord: We would like @everyone to join it! But some basic information that they want us to share first.

They are breaking this event up into three phases.

1️⃣ Phase 1: Lobby is Opened As of March 1st, the floodgates open to all participants and spectators of the event of the dozens of communities participating. Come on in, mingle, and begin getting acquainted with the informational posts tacked up to the walls. The link to the event will be shared here!

2️⃣ Phase 2: Team Building & Idea Creation March 7th to March 13th.