- Expand storage
- Start desktop
- Reboot
Continue by plugging the LAN cable, then in the router admin panel, find the IP address of the pi. Connect:
ssh pi@ipaddress
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>vision-test</title> | |
<script src="libraries/p5.js" type="text/javascript"></script> | |
<script src="libraries/p5.dom.js" type="text/javascript"></script> | |
<script src="libraries/p5.sound.js" type="text/javascript"></script> |
// Based on https://github.com/detunized/seene-viewer | |
#include "ofMain.h" | |
inline bool ends_with(std::string const & value, std::string const & ending) | |
{ | |
if (ending.size() > value.size()) return false; | |
return std::equal(ending.rbegin(), ending.rend(), value.rbegin()); | |
} |
/* | |
* Modified from WiFlyHQ Example httpclient.ino | |
* | |
* This sketch implements a simple Web client that connects to a | |
* web server, sends a GET, and then sends the result to the | |
* Serial monitor. | |
* | |
* This sketch is released to the public domain. | |
* | |
*/ |
-- turtleLib: A core set of tool libraries for ComputerCraft turtles | |
-- by Alexander "SquidLord" Williams (SaladinVrai) | |
-- Gist: https://gist.github.com/SquidLord/4755840 | |
-- Put in turtle startup file with: | |
-- os.loadAPI("squid/turtleLib") | |
-- The MIT License (MIT) |
#include "ofMain.h" | |
#include "ofAppGlutWindow.h" | |
class testApp : public ofBaseApp { | |
public: | |
ofImage img; | |
ofPoint corners[4]; | |
int selectedCorner; |
######################### | |
# .gitignore file for Xcode4 and Xcode5 Source projects | |
# | |
# Apple bugs, waiting for Apple to fix/respond: | |
# | |
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
# | |
# Version 2.6 | |
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
# |
launchctl unload /System/Library/LaunchAgents/com.apple.notificationcenterui.plist | |
sudo mv /System/Library/LaunchAgents/com.apple.notificationcenterui.plist /System/Library/LaunchAgents/com.apple.notificationcenterui.bak |
Add this to Info.plist
in /System/Library/Spotlight/RichText.mdimporter/Contents/
and Spotlight will search for source code files.
<string>public.c-header</string>
<string>public.c-plus-plus-header</string>
<string>public.c-source</string>
<string>public.objective-c-source</string>
public.c-plus-plus-source
// ... | |
SoftwareSerial wifiSerial(8,9); | |
WiFly wifly; | |
// ... | |
void setupWifi() { | |
wifiSerial.begin(9600); |