Building An Exo-Skeleton
This is a “selfie” of my arm prototype. Finding ergonomics more of a challenge, but that’s why you build it!
Building An Exo-Skeleton Read More »
This is a “selfie” of my arm prototype. Finding ergonomics more of a challenge, but that’s why you build it!
Building An Exo-Skeleton Read More »
I’ve been searching for a NodeJS server for web sockets, but socket.io, required both the client and server to be run from within node. I wanted to connect to this server via a normal web page using WebSockets from HTML5. Here’s some code, hope you find it useful:
https://github.com/scottpreston/examples
Server Code
var WebSocketServer = require('ws').Server;
var wss = new WebSocketServer({port: 3000});
wss.on('connection', function (ws) {
ws.on('message', function (message) {
console.log('received: %s', message);
ws.send(message + "!!!!");
});
});
Client Code
var websocket = new WebSocket('ws://localhost:3000');
websocket.onopen = function (evt) {
websocket.send("This Rocks!");
websocket.close();
}
websocket.onmessage = function (evt) {
console.log('RESPONSE: ' + evt.data);
};
Simple WebSocket & NodeJS Server Example Read More »
I was wondering how RequireJS and AMD worked. So I created this snip. It might not be correct but it worked for me.
load('foo', function (foo){
var f = new foo();
f.a = 100;
f.b = 200;
alert(f.add());
});
function define(name, callback) {
modules[name] = callback;
}
function load(file, callback) {
var script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.src = file + ".js";
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);
script.onload = function() {
callback(modules[file]);
};
}
var modules = [];
// foo.js
define("foo", function() {
var foo = {
a: 1,
b: 2,
add: function () {
return this.a + this.b;
}
};
return foo;
});
Home Grown Script Loader Read More »
I decided to create a blog for my chevelle because there was so many things I was learning about it and thought I should help out some other folks working on their car.
I’ve researched a lot on YouTub and the internet as well as Chevelles.Com, but making a post there about what I learned just didn’t seem right.
To learn more visit: scottschevelle.com.
Created A Chevelle Blog Read More »
I recently had an UPS failure. My UPS and APC 650 ES, has a battery they call for is the RBC17. Which on Amazon.Com is $39.99. However when you peal the sticket off you get Vision UB1290. This battery (which is the same battery) cost around $15.00.
I imaging this happens a lot with companies looking to make a cheap buck. Hopefully this post catches someone search on “Alternative APC Battery” or something similar.
Dead APC Back-Ups & Alternative Batteries Read More »
1) Throttle Cable: So I found that I needed a new throttle cable as the original one was 21.5″ long. For a Holley carb this was about an inch too short. I decided to get a Lokar 24″ universal cable with a new bracket. This should allow me to cut-to-fit the cable and get full throttle on it.
2) Rear Brakes: I wanted to get the car moving and rushed the rear brakes. Turns out the line does not fit as expected and I still need to install the emergency cable. I’ll take it out for a test run or two then put it up on blocks to fix this.
3) Alignment: I need to get this done after the brakes.
4) Pesky Oil/Fluid Leaks: My plan is to redo the engine this year, so I’m hoping to hold off for now on fixing these. The one near the distributer I need to keep a closer eye on. I’m not sure of the other leaks, I’m sure I’ll find out those soon enough.
5) Radio / Electronics: Hoping to get these sometime this summer, but only if I can drive it around more than have it on blocks.
Chevelle Updates – Part 2 Read More »
To get my car running here’s what I have done to it thus far.
1971 Chevelle Updates Read More »