- pixabay – free images – public domain or creative commons licensed
- maven with ssl mavenrepo – use this to configure maven with a repo under ssl and failing ssl handshake (for whatever weird reason)
- hyper – a js/html/css terminal – now avail for windows
Schlagwort: javascript
Ein simpler statischer Webserver mit Node.js
Des Öfteren braucht man ja einen Http Server, um rein ein paar statische Files bereit zu stellen.
Lösungen gibt es ja hier wie Sand am Meer, wobei die meisten dann doch viel zu viel können (und vor allem viel zu viel installieren), als man eigentlich braucht.
Abhilfe kann hier ein einfacher 5-Zeiler mit nodejs bieten:
Davor muß man aber noch Node.js installieren
und connect mit npm installieren
npm install connect
Jetzt der 5 Zeiler (server.js):
var connect = require('connect'); //Hier den Pfad eingeben, //indem die statischen (html/js/css) Files liegen. var HTDOCSPATH = 'C:\data\js\learn' console.log("serving from dir " + HTDOCSPATH) connect.createServer( connect.static(HTDOCSPATH) ).listen(8080);
Und dann noch starten …
node server.js
Voila!
Jaja, ich weiß. Hardcodierter Pfad und so. Das kann man sicher schöner machen.
Bittesehr: https://gist.github.com/2639556
Random Links #295
- HTML5 syntax guidelines
Three simple guidelines - More fun with Canvas – a JavaScript Starfield!
And from the comments, another starfield - Is There A Place For a Premium JVM?
Should this make me nervous?
Random Links #293
- Interview with Dierk Koenig – Author of Groovy in Action
“The early days were a bit of a wild-west but … we feel a high obligation to evolve the language in a controlled fashion.” - 5 Tips to Better Serve Your Internal Customer
With listen as No.1 - CoffeeScript
A language that compiles to JavaScript
Random Links #292
- A Look Into Ruby’s Object Model
Ruby Magic? - Let’s Make a Web App: Nodepad
with node - Android Development with Maven – a primer
mvn android:deploy
Random Links #288
- Adobe announces the Html5 Video Player Widget
“… solution that shifts gracefully from the HTML5 <video> tag to the Flash Player when the tag is not supported …” - 50 Powerful Time-Savers For Web Designers
Great Article from Smashing Magazine, once again! - Learning Javascript with Object Graphs
With pictures!
Random Links #285
- The wxPython Demo
Normally I’d suggest a web based solution for a wide range of multiplatform apps, but for some cases this could be relevant. - Quick Tip: Using the Mustache Template Library
Back in the web world with Javascript templateing
- Firefox No Longer Not Fast?
Waiting for Beta 7
Random Links #276
- Tutorial: Simple game with HTML5 Canvas – part 1
Part 1/5 of a great tutorial - Back up your Android phone with these two apps
backups are only for wimps 😉 - Beginning Android Game Programming
without javascript
Random Links #274
- is email address a bad primary key
The short answer: yes. - Another Look at Android vs. iPhone Development
Short comparison with no clear winner (of course) - JS1k Demos
wow!
Random Links #264
- NoSQL Job Trends – September 2010
No Sql – more Jobs ? 😉 - htop für das Netzwerk
iptraf - Whom to hire: The best, the mediocre or the cheapest
Easy solution but hard to find? - Bouncing a Ball Around with HTML5 and JavaScript
With canvas