View datasetgenerator.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View PnP(1).ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View tmp75a.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* TMP75A reading code | |
*/ | |
#include <asf.h> | |
#include <stdint.h> | |
////////////// config ////////////////// |
View mastermind.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import numpy as np | |
import random | |
code = (1, 2, 3, 4) | |
def play(code, guess): | |
red = 0 | |
white = 0 |
View good.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#expectations | |
#sudo apt-get install python-pip | |
#sudo pip install Pillow | |
#working directory must contain a folder "Vision Images" that contains folders | |
#created by the RR 2015 vision system | |
#to run: |
View stddev.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double contour_average_distance(Mat image, Contour contour) | |
{ | |
double average = 0; | |
for (Point pt : contour) { | |
average += Calculate_Real_Distance(image, pt); | |
} | |
return average / contour.size(); | |
} | |
double contour_stddev(Mat image, Contour contour) |
View example.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdio.h" | |
#include "string.h" | |
#include "windows.h" | |
void process_command(char *line); | |
int main() | |
{ | |
int c = 0; | |
int position = 0; |
View config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
achievements: | |
- name: Parkour1 | |
type: BRONZE | |
criteria: PARKOUR_COMPLETE | |
options: | |
course: 1 | |
- name: Zapierdol | |
type: BRONZE | |
criteria: PLAYS_ON_CERTAIN_PARKOUR | |
options: |
View war.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set: | |
war: | |
killstreak: | |
'3': | |
privmsg: You have been rewarded with some health for your kills. | |
reward: | |
health: 8 | |
'4': | |
reward: | |
xp: 3 |
View jenkins-apache-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN Jenkins | |
<VirtualHost *:80> | |
ServerName ci.cmastudios.me | |
ProxyPass / http://localhost:8080/ | |
ProxyPassReverse / http://localhost:8080/ | |
ProxyRequests off | |
<Proxy http://localhost:8080/*> | |
Order deny,allow | |
Allow from all | |
</Proxy> |
NewerOlder