Skip to content

Instantly share code, notes, and snippets.

View drewcassidy's full-sized avatar
💭
🐇

Andrew Cassidy drewcassidy

💭
🐇
View GitHub Profile
Product Name Source Unit Price Quantity Notes Subtotal
Raspberry Pi kits [Amazon][1] $ 79.99 30 x $ 2,399.70
Square buttons [Adafruit][2] $ 5.95 15 x 3 of ea color $ 89.25
breadboards [Sparkfun][3] $ 5.36 15 x shared $ 80.40
LEDs [Sparkfun][4] $ 2.95 6 x 5 of ea color $ 17.70
resistors [Sparkfun][5] $ 0.95 6 x $ 5.70
header [Sparkfun][6] $ 0.95 30 x $ 28.50
PCBs [PentaLogix][7] $ 16 30 x price varies $ 488.10
3D Cases RapidTech $ 0 30 x see STL files $ 0.00
Initialize 1ms
Configure 6ms
Scan for out of date files 11ms
Building C object contrib/c/makekeys.c complete
Building C object contrib/c/privatetopublic.c complete
Building C object admin/angel/cjdroute2.c complete
Building C object crypto/random/randombytes.c complete
Building C object contrib/c/publictoip6.c complete
Building C object test/testcjdroute.c complete
Building C object contrib/c/sybilsim.c complete
00:35 cinebox: yeah, i have no clue why, but this engine really doesnt like my computer. i cant get it to render the basic empty project at more than 20 fps, and even zeroed out all the post processing with an unbound postfx volume
00:36 MrNexy: What are your system specs ?
00:37 cinebox: i5 2.4ghz intel iris pro graphics
00:37 cinebox: no gaming pc but come on 20fps is just ridiculous
00:37 cinebox: 8GB ram
00:38 Bronzdragon: Good morning!
00:38 MrNexy: you're using an intel gpu , you really shouldn't be surprised.
00:38 cinebox: ...
00:38 cinebox: IT RUNS AT 100FPS IN UNITY
00:38 MrNexy: this is not unity.
@drewcassidy
drewcassidy / aBot
Last active August 29, 2015 14:25
fun with the Voight Kampff test
(] is a bot)
<cinebox>karkat: You’re in a desert walking along in the sand when all of the sudden you look down, and you see a tortoise, it’s crawling toward you. You reach down, you flip the tortoise over on it's back. The tortoise lays on it's back, it's belly baking in the hot sun, beating it's legs trying to turn it'self over, but it can’t, not without your help. But you’re not helping. Why is that?
<]>THE FASHION 4CHAN BOARD
<cinebox>oh
<cinebox>ok
using System.Collections.Generic;
using System.Reflection;
namespace UnityEngine.EventSystems
{
[AddComponentMenu("Event/Standalone Input Module")]
public class StandaloneInputModule : PointerInputModule
{
private float m_NextAction;
<?xml version="1.0" encoding="utf-8"?>
<!--This file represents the results of running a test suite-->
<test-results name="Unity Tests" total="3" errors="0" failures="1" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2015-12-14" time="21:51:12">
<environment nunit-version="2.6.2-Unity" clr-version="2.0.50727.1433" os-version="Unix 15.2.0.0" platform="Unix" cwd="/Users/drewcassidy/Documents/Github/voxelgon" machine-name="Andrews-MacBook-Pro.local" user="root" user-domain="Andrews-MacBook-Pro.local" unity-version="5.3.0f4" unity-platform="Editor" />
<culture-info current-culture="en-US" current-uiculture="en-US" />
<test-suite name="voxelgon" type="Assembly" executed="True" result="Failure" success="False" time="0.064">
<results>
<test-case name="Voxelgon.MeshBuilder.Tests.MeshBuilderTests.TriangleContains" executed="True" result="Success" success="True" time="0.035">
</test-case>
<test-case name="Voxelgon.MeshBuilder.Tests.MeshBuilderTests.WindingOrder" execu
@drewcassidy
drewcassidy / setbrightness
Created April 18, 2016 02:25
bash script to set the raspberry pi 7" LCD backlight. takes 1 argument from 0 to 255. place in /usr/bin
#!/bin/bash
echo $1 > /sys/class/backlight/rpi_backlight/brightness
@drewcassidy
drewcassidy / 16-04-20
Last active April 21, 2016 00:01
3D printer M501 logs
echo:Stored settings retrieved
echo:Steps per unit:
echo: M92 X75.33 Y79.29 Z2020.00 E98.00
echo:Maximum feedrates (mm/s):
echo: M203 X125.00 Y125.00 Z5.00 E14.00
echo:Maximum Acceleration (mm/s2):
echo: M201 X2000 Y2000 Z30 E10000
echo:Acceleration: S=acceleration, T=retract acceleration
echo: M204 S3000.00 T3000.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
@drewcassidy
drewcassidy / gen.py
Last active September 18, 2016 00:17
import os
dest = open("source/bitmaps.cpp", "w+")
head = open("source/bitmaps.h", "w+")
dest.write("#include \"bitmaps.h\"\n")
head.write("#ifndef BITMAPS_H\n#define BITMAPS_H\n")
for file in os.listdir("bitmaps"):
if file != ".DS_Store":
size = os.stat("bitmaps/" + file).st_size
@drewcassidy
drewcassidy / Doxyfile
Last active October 7, 2016 22:17
mbed-drivers doxygen
# Doxyfile 1.8.8
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
#
# All text after a double hash (##) is considered a comment and is placed in
# front of the TAG it is preceding.
#
# All text after a single hash (#) is considered a comment and will be ignored.
# The format is: