April 2013
2 posts
3 tags
Sql-templar by twilson63 →
A template engine abstraction over node-mysql, so you can easily drop your sql files in a template folder just like you drop your jade or ejs files
blog.izs.me: Unix Philosophy and Node.js →
izs:
At TxJS the other day, I gave a talk where I mentioned that the Unix Philosophy is a crucial part of the patterns, opinions, and culture of Node.js. As usual, I made my slides available online well in advance of the talk video being available. For some reason, this brief mention of “Unix…
February 2013
1 post
Open Letter to the Charleston Development...
I hope everyone is having an awesome 2013.
Upcoming Events!
March 14 CODEShow http://www.chscodeshow.com/ - The city of Charleston through the Digital Corridor is running this event, it will be the start of many code events. It is time we come together and start the process of building an awesome Dev Community in Charleston.
March 27 and 28 POSSCON http://posscon.org/ 2013, this...
January 2013
2 posts
4 tags
BootStrap Typeahead Directive of AngularJS
Bootstrap Typeahead Directive for AngularJS
A simple directive wrapper around the Bootstrap Typeahead component
Requirements
Bootstrap (2.1.1)
AngularJS (1.0.2, 1.0.3)
Goal
The goal of this project is to have a straight forward typeahead component example using angular, that can be forked and customized by developers wanting more specific use cases for their typeahead component.
Usage
...
2 tags
Simple Upload Service for AngularJS →
AngularJS is a great framework for single page applications, but doing async uploads to support a broad range of browsers is a bit challenging. (The HTML5 file api is awesome, but does not land in IE until IE10). Here is a service that leverages an iframe to implement a file upload, it is bare bones and simple.
December 2012
2 posts
The Nuances of Scope Prototypal Inheritance →
Convincing the Boss to Learn NodeJS →
Working in Java or .Net?
Make 2013 the year you learn a new technology.
Using NodeJS can bring a lot of quick wins for your organization.
JSON API’s
NoSQL Datastore
Streaming Data
Prototyping
etc
If your in Charleston, check out the CODECamp NodeJS Class http://www.chscodecamp.com/classes/node-js
There are 9 seats available and classes start January 16.
Happy Holidays!
November 2012
1 post
Redis Crashes →
October 2012
1 post
Installing STUD on Ubuntu 12.04
Here are some steps on installing STUD on ubuntu 12.04
sudo apt-get install libev-dev libssl-dev git-core -y
git clone git://github.com/bumptech/stud.git
cd stud
make
sudo make install
To run with an ssl cert just
stud --ssl my.pem
This will listen on port 8443 and forward to 8000
September 2012
4 posts
2 tags
ngFiddle a tool to fiddle with AngularJs
AngularJs has be come the javascript client tool of choice for Jack Russell Software, we have been bike shedding on many different client mv* frameworks for a few years. Our clients continue to demand richer ui experiences on the client and our jquery code base has gotten out of control.
We started some exploration with backbonejs one of the first mv* frameworks and had problems working with it...
New Release of html2haml.heroku.com →
There is a new release of html2haml.heroku.com, mainly bugfixes, but one upgrade to the new html2haml gem and haml 3.2 beta.
As always, post any issues to github! http://github.com/twilson63/html2haml
CoffeeScript Source Maps →
dhotson:
Yes! This will enable you to debug coffeescript directly in your browser.
2 tags
AngularJS Contact Form Example
AngularJS is a powerful MV-Star framework from Google that has all kinds of neat features, focused on testability and automatic data-binding, it uses a declarative markup style and leverages the strength of the DOM. Yes, the dom is ok at some things. :D
The AngularJS team feels the future of the web is moving more to this declarative style, time will tell, but it definitely makes my life a...
August 2012
2 posts
3 tags
Upgraded 1.5 - Express-Coffee →
Upgraded to Express 3rc2
Tested on Windows (server 2008)
1 tag
Added RevealJs to Bam 8.1
For more information on RevealJs check out:
http://lab.hakim.se/reveal-js/
July 2012
2 posts
4 tags
mssqlx →
pipe sql to mssqlx and get json out
should work great on all platforms, especially mac and unix, without any other drivers, just nodejs.
usage
echo 'select * from sysobjects' | mssqlx | prettyjson
source
https://github.com/twilson63/node-mssqlx
future
Currently, this only works on the command-line, the next version will work via stream api:
var mssqlx = require('mssqlx'),
nconf =...
w3 →
@akennedy and I were digging through angularjs, a new client mv* framework from google. When we evaluate new tech, it is nice to go through the examples, but we really need to quickly see how these frameworks will do at solving our needs. Our applications use a lot of autocompletes, dynamic selects and a lot of ajax. So we need to create small little spikes to test these concerns.
NodeJs is...
June 2012
8 posts
Error Loading Data in MySQL →
hackingonstuff: Your Own Little node.js PaaS -... →
eladb:
PaaS (platform-as-a-service) services are blooming these days (Heroku, Nodejitsu, nodester, cloudcontrol and many more). All offer some awesome features. I set out to try and set up a very simple node.js PaaS for myself within an Amazon EC2 Ubuntu instance. It obviously lacks many of the…
The Naive Optimist: How I manage 40 people... →
ryanleecarson:
I recently asked what you’d like me to cover here on the blog. I got a great question from @tfav
@ryancarson I would love to hear about managing a remote team.
— Travis Favaron (@tfav) June 8, 2012
I’ve been running Treehouse since August 2010 from my home in the United Kingdom….
3 tags
JsBuddies: Every JQuery WebForm needs a buddy or...
Check out buddies.js, a couple clean well-tested library functions to populate and extract data from html forms in one method.
el = $("#foo") # the html above
# use the object attribute short_title and put it in the short-title form input
atts = {short_title : 'short-title'}
FormManager.populate ob, el, atts
See more: http://hssc.github.com/buddies-js/
There is a great working example on...
EasyBake 0.1.2 Released
EasyBake is a very simple command-line application that installs a Cakefile in the current directory your are in.
npm install easybake -g
mkdir myproject
cd myproject
easybake
Watch a video on how to use easybake
http://codestre.am/aaac575ec34e4a0b681d3f1e9
Super handy utility to quickly add some default cakefile tasks to your project.
Check out the code on github:...
Oh the places you'll go →
Dave Lee: GTD sucks for creative work. Here's an... →
heydave7:
A friend asked me this question about what system I use to manage my todo list:
Your todo list is probably like mine, a million items long and constantly growing… Do you use a system or systems to manage your todo list? I’ve been loosely following GTD, and currently using a text document to…
5 tags
csv2json - csv to json streaming node module
Announcing csv2json a csv to json streaming node module. Using event-stream, it is super simple to convert a function into a stream.
var = require('event-stream');
// through stream
es.map(function(data, callback) {
/* do stuff */
callback(null, data);
});
Using event-stream, I was able to create a csv to json streaming module with a very little amount of code. Check it out ->...
May 2012
4 posts
Announcing BAM 0.5.1
Announcing Bam 0.5.1
This version includes an updated twitter bootstrap template and
a new template called pagedown. The pagedown template generates
a static site with a very simple slide presentation dsl.
install
npm install bam -g
usage
bam new [project] pagedown
This command will generate a new static site with the bootstrap them and an
index.coffee file that contains the slide dsl...
DIY Slide Deck
My Do it yourself Slide Deck
First off, this is just too awesome not to talk about. Today, I was reading http://www.igvita.com/2012/05/14/all-presentation-software-is-broken/ and totally agree. As I was putting together my slides for http://www.charlestoncodes.com, I spent a few minutes putting together a simple concept.
Disclaimer
This was not to try to create the next best presentation...
April 2012
8 posts
stroll.js - CSS3 List Scroll Effects →
thechangelog:
This project by Hakim El Hattab is just sick. stroll.js is a collection of CSS list scroll effects. Oh, and of course, pull requests are welcome.
Besides the awesome work from Hakim, a few contributors helped make stroll.js possible as well:
Paul Irish and Felix Gnass added performance improvements
Kilian Ciuffolo added the Fly & Fly Reverse effects
Dave Arel added the...
Meteor now MIT licensed →
thechangelog:
Why MIT? To make Meteor the best possible platform for JavaScript development, it has to be part of a robust ecosystem. That means ubiquity and flexibility: permitting a wide variety of use cases and environments. Because Meteor is a framework, many developers have asked to integrate it with other code that may be GPL, MIT, or closed source. We think it’s vitally important that...
Fiddle Salad - Live editor with preprocessors,... →
thechangelog:
A few days back, Yuguang Zhang reached out to us to let us know about his ambitious project, Fiddle Salad. It’s a little rough on the UX side of things …
I certainly like the problem it aims to solve. After playing with it for a bit my only gripe is that it feels a little clunky and hard to use. I wanted to create a sample document, save it and share it as an example in the post....
Five Skills of an Awesome Developer
What is an Awesome Developer?
Developers are in high demand and recently rated one of the top careers in America, but how do you separate the cream from the crop?
I have always said that when you meet an Awesome Developer you can see the “Eye of the Tiger”. What is an Awesome Developer?
How do I identify an Awesome Developer?
Most, focus in on technical skills and abilities,...
Top of the todo list →
TJ Holowaychuk: ExpressJs 3.0.0 alpha1 →
tjholowaychuk:
I just released the first alpha, but beware! the documentation has not been updated. I wanted to defer a release until I had time to re-write the site, but meanwhile people have been using the master branch anyway, so we might as well make it official (and available via npm). The alpha is by no…
4 tags
New Feature Request -> Ask 5 Why's
http://en.wikipedia.org/wiki/5_Whys
Just like a four year old kid, innovation has to do with curiosity and asking questions.
Why? Why? Why?
“The 5 Whys is a question-asking technique used to explore the cause-and-effect relationships underlying a particular problem. The primary goal of the technique is to determine the root cause of a defect or problem.” re:...
March 2012
4 posts
easyboot - easily add #twitterbootstrap to your...
Announcing easyboot:
An easy way to get and keep the latest twitter bootstrap updated in your application.
Twitter Bootstrap has exploded and the project continues to iterate and come up with great
patterns and ui tools, but it can sometimes be very time consuming to pull down the latest version and integrate it to your application. This is where easyboot comes in.
What is easyboot?
...
Contributing to Open Source →
Kris Windham’s thoughts and reactions after a month of really getting into open source. He has committed to maintaining an open source project called ‘CoffeeKup’ that was abandoned, and is really making a difference. Great Stuff!
Installing NodeJs v6.12 on Ubuntu 10.04
Here are my steps to installing NodeJs v6.12 on a fresh Ubuntu 10.04
sudo apt-get install git-core build-essential libssl-dev openssl pkg-config -y
wget http://nodejs.org/dist/v0.6.12/node-v0.6.12.tar.gz
tar -xzvf node-v0.6.12.tar.gz
cd node-v0.6.12/
./configure
make
sudo chown -R [user] /usr/local
make install
2 tags
Installing NodeJs v6.12 on Ubuntu 10.04
Here are my steps to installing NodeJs v6.12 on a fresh Ubuntu 10.04
sudo apt-get install git-core build-essential libssl-dev openssl pkg-config -y
wget http://nodejs.org/dist/v0.6.12/node-v0.6.12.tar.gz
tar -xzvf node-v0.6.12.tar.gz
cd node-v0.6.12/
./configure
make
sudo chown -R [user] /usr/local
make install
February 2012
9 posts
Tom and Yehuda talk EmberJS at Carbon5 →
HTML5-Clear: A replica of the Clear iPhone UI in... →
thechangelog:
If we’re fans of anything, we’re fans of experiments that get open sourced.
As a followup to our native coverage of Clear’s UI with JTGestureBasedTableViewDemo, you might enjoy this experiment by Evan You to replicate the UI of Clear in HTML5 and CSS3.
HTML5 Clear is a replica of the awesome Clear iphone app (UI only) featuring the innovative gesture controls and the look...
Ember.js: formerly Amber.js and formerly... →
thechangelog:
Ok, so I’m slow to the take. My ear wasn’t close enough to the ground to get the fact that Ember.js was formerly the Amber.js that was formerly SproutCore 2.0.
Four days after it was announced as Amber.js, it was renamed to Ember.js due to some naming collisions with Amber Smalltalk, a Smalltalk implementation written in JavaScript. After some communication with the folks...
DRAFT BAM Demo -> How to generate a static site!
Feedback welcome!
> bam deploy s3
Using bam you can now deploy your static site to s3 with one command!
All you have to do is modify the s3.json file that is created when you create your new bam project. It is simple:
{
"key": "Your aws key",
"secret": "Your aws secret",
"bucket": "www.foo.com"
}
Once you have your s3 info stored in this config file, all you have to do is run the gen command to generate the static...
BAM -> Easiest Static Site Generator on the...
BAM is a nodejs cli application that enables you to generate and maintain static sites using github style markdown for your pages. The github style markdown modifies the markdown style just a little bit to make the process of writting posts with code snippets easier.
http://github.github.com/github-flavored-markdown/
Bam Quickstart
** easiest site generator on the planet! **
The pages are...
CupCake 3 -> A Express-Coffee FastTrack
2012 To Do List
Learn NodeJs
Learn Coffee-Script
Why not at the same time?
CupCake is a command line template builder that makes it easy for you to get a blank project up and ready to go!
Step 1:
Install nodejs from
http://nodejs.org
Step 2:
npm install cupcake -g
Step 3:
cupcake [your project]
Step 4:
What template engine?
1. Jade
2. eco
3. coffeekup
choose 1
Step...
moviepilot labs: Red Light, Green Light with... →
moviepilotlabs:
If there’s one thing that sums us up here at Moviepilot Labs, it’s thinking outside the box. Sometimes, though, thinking outside the box means going back into it—our own box—so to speak. Shoutbox is a free, centralized system status dashboard service developed by our very own Benjamin…