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
$("#mainContent").droppable({ | |
drop: function(event, ui) { | |
debug("placing object"); | |
debug("inventory placeObject painting1" + event.pageX + " " + event.pageY) ; | |
Client.event("navcommand", "inventory placeObject painting1" + event.pageX + " " + event.pageY); | |
} |
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
run:5: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module. | |
sin, sout = os.popen2("ps -af") | |
xterm -e "cd build/cmake; ./proximity_d" & | |
xterm -e "cd build/cmake; ./space_d" & | |
python csv_converter.py scene.csv scene.db | |
run:57: DeprecationWarning: os.popen2 is deprecated. Use the subprocess module. | |
sin, sout = os.popen2(cmd) | |
cd build/cmake && cppoh_d --db ../../scene.db | |
sh: cppoh_d: not found |
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
dennis@ubuntu:~/workspaces/museum$ git push git@github.com:speedlimits/museum.git origin master | |
fatal: refs/remotes/origin/HEAD cannot be resolved to branch. | |
dennis@ubuntu:~/workspaces/museum$ fatal: The remote end hung up unexpectedly |
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
C:\Documents and Settings\Owner\My Documents\Workspaces\museum>git pull | |
remote: Counting objects: 30, done. | |
remote: Compressing objects: 100% (16/16), done. | |
remote: Total 17 (delta 8), reused 0 (delta 0) | |
Unpacking objects: 100% (17/17), done. | |
From git@github.com:speedlimits/museum | |
0f8441c..b702652 ccrma_master -> origin/ccrma_master | |
error: Entry 'build/cmake/camera_path.csv' not uptodate. Cannot merge. | |
fatal: merging of trees 0d80a0ddf19d106a90a52859ca42772cf304c1b4 and 7391b16a364 | |
d43f75e88300d811cf5c7ce645526 failed |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://static.dennisschaaf.com/hand-canvas-pre-release.js"></script> | |
<script type="text/javascript"> | |
function drawCanvas(){ | |
var canvas = document.getElementById('tutorial'); | |
if(canvas.getContext) { | |
// Get the context and convert it to a hand canvas | |
var ctx = handCanvas(canvas.getContext('2d')); |
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
// Draw a Line | |
ctx.beginPath(); | |
ctx.moveTo(10, 100); | |
ctx.lineTo(110,100); | |
ctx.lineTo(80, 0); | |
ctx.lineTo(10, 100); | |
ctx.stroke(); | |
// Draw another Line | |
ctx.beginPath(); |
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
// Draw a long hand drawn line in html5 canvas | |
ctx.beginPath(); | |
ctx.moveTo(300,35); | |
ctx.lineTo(35,150); | |
ctx.stroke(); |
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
// Draw a stroked rect | |
ctx.beginPath(); | |
ctx.rect(10, 10, 100, 100); | |
ctx.stroke(); | |
// Draw a filled rect | |
ctx.fillRect(200, 10, 100, 100); |
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
// Draw Hand Drawn Circle With Outline | |
ctx.beginPath(); | |
ctx.arc(100, 100, 80, 0, Math.PI * 2); | |
ctx.stroke(); | |
// Draw filled Hand Drawn Circle | |
ctx.beginPath(); | |
ctx.arc(300, 100, 80, 0, Math.PI * 2); | |
ctx.fill(); |
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
/** | |
* The constructor for the Canto class. | |
* This constructor is private and is not exported. Use the canto() | |
* factory function instead. | |
* @constructor | |
* @private | |
*/ | |
function Canto(canvas) { | |
if (!canvas.getContext) | |
throw new Error("canto() requires a canvas element or id"); |
OlderNewer