Skip to content

Instantly share code, notes, and snippets.

@edubkendo
edubkendo / package.json
Created August 4, 2012 08:27
package.json that works when installing tower/development
{
"name": "tower",
"version": "0.4.1",
"description": "Full Stack Web Framework for Node.js and the Browser",
"homepage": "http://viatropos.github.com/tower",
"main": "./index.js",
"author": "Lance Pollard <lancejpollard@gmail.com>",
"keywords": [
"framework",
"rails",
@edubkendo
edubkendo / tower-new-app-error.md
Created August 4, 2012 08:31
error when I run "tower new myApp" with tower/dev branch

/home/eric/git/community/tower/lib/tower-generator/server/generator.js:17

return new klass(options); ^ TypeError: undefined is not a function

at Function.Tower.Generator.Generator.run (/home/eric/git/community/tower/lib/tower-

generator/server/generator.js:17:12)

@edubkendo
edubkendo / FreeNode-#towerjs.log
Created August 4, 2012 08:34
irc logs from #towerjs 11/07 to present
**** BEGIN LOGGING AT Wed Jul 11 02:22:29 2012
Jul 11 02:24:51 * techthumb has quit (Quit: Leaving.)
Jul 11 03:34:29 * thomaschaaf (c1af1a44@gateway/web/freenode/ip.193.175.26.68) has joined #towerjs
Jul 11 03:34:38 <thomaschaaf> Hi
Jul 11 04:50:52 * thomaschaaf has quit (Quit: Page closed)
Jul 11 12:19:22 * orngchkn (~orngchkn@75-147-186-177-Washington.hfc.comcastbusiness.net) has joined #towerjs
Jul 11 15:21:49 * Proditor (alex@apa.io) has joined #towerjs
**** ENDING LOGGING AT Wed Jul 11 16:29:30 2012
@edubkendo
edubkendo / FreeNode-#towerjs.log
Created August 4, 2012 08:36
irc logs for #towerjs from 13/APR to 07/JUL
**** BEGIN LOGGING AT Fri Apr 13 23:39:19 2012
Apr 13 23:39:19 * Now talking on #towerjs
Apr 13 23:39:19 * hitchcock.freenode.net sets mode +n #towerjs
Apr 13 23:39:19 * hitchcock.freenode.net sets mode +s #towerjs
Apr 13 23:39:20 * services. removes channel operator status from e_dub
Apr 13 23:39:20 * *** Notice -- TS for #towerjs changed from 1334378341 to 1330755347
Apr 13 23:39:20 * services. sets mode +c #towerjs
Apr 13 23:39:20 * services. sets mode +t #towerjs
Apr 13 23:39:20 * services. sets mode -s #towerjs
@edubkendo
edubkendo / errors.md
Created August 4, 2012 08:50
errors again

eric@edub:~/projects/projects/experiments $ tower new myApp

/home/eric/git/community/tower/lib/tower-generator/server/generator.js:17

return new klass(options); ^ TypeError: undefined is not a function

at Function.Tower.Generator.Generator.run (/home/eric/git/community/tower/lib/tower-

eric@edub:~/projects/projects/experiments $ tower new myApp path.existsSync is now called fs.existsSync. create : myApp/.gitignore create : myApp/.npmignore create : myApp/.slugignore create : myApp/Cakefile create : myApp/app/client/config/bootstrap.coffee create : myApp/app/client/stylesheets/application.styl create : myApp/app/client/controllers/applicationController.coffee create : myApp/app/client/views/layouts/application.coffee

@edubkendo
edubkendo / errors
Created August 4, 2012 09:32
errors when i run "cake build"
eric@edub:~/git/community/tower (development) $ cake build
path.existsSync is now called `fs.existsSync`.
{ [Error: ENOENT, no such file or directory './dist/tower-support.coffee']
errno: 34,
code: 'ENOENT',
path: './dist/tower-support.coffee',
syscall: 'open' }
{ [Error: ENOENT, no such file or directory './dist/tower-application.coffee']
errno: 34,
code: 'ENOENT',
@edubkendo
edubkendo / notes.md
Created August 8, 2012 06:10
Couple notes on Tower scopes and documentation.

When using scopes, it is important to do/chain things in the proper order. For instance:

user = App.User.where({firstName: 'bob'}).find().objectAt(0).toJSON()

Will give the expected results, but, changing the order of 'find' and 'where' returns all the objects.

Also, some of the examples use scopes like:

@edubkendo
edubkendo / README.md
Created August 9, 2012 06:43
My description of tenkyo, a WIP

tenkyo: redefine self directed learning

tenkyo, a learning environment that provides tools to make self-directed learning effortless and fun. To get started with tenkyo, pick a subject you'd like to learn, find some text about those subjects, point tenkyo to the text, or copy/paste it in, and get started. Mouse over words and tenkyo will try to find a definition in one of its dictionaries. Select the definition you like best, and in the future, that definition will be at the top of the list. tenkyo will learn, based on user choice, what the best definition is, based on a given context. If there are no definitions, or you don't like any of them, enter your own. In the future, tenkyo will use that definition, for you and other users. If other people use your definition, you will get COIN, something we'll talk about later, and REP. Set goals for yourself, create contests, track stats.

If at any time you find what you are reading too hard, or just boring, move on to the next item to read and tenkyo will pre

@edubkendo
edubkendo / towerjs.md
Created August 14, 2012 06:23
Installing tower.js development branch...an irc log

Aug 04 02:49:46 <e_dub> what branch should i use to start working on docs? i had trouble building the development branch the other day, though you've pushed quite a bit since then so i might try again Aug 04 02:50:39 use the development branch. You'll probably have issues, this is everything we'll have to work through to release though so just let me know. Aug 04 02:52:17 <e_dub> ok cool Aug 04 03:08:31 <e_dub> viatropos, ok, first problem i am having: https://gist.github.com/3255778 Aug 04 03:09:30 what did the terminal say? Aug 04 03:09:49 <e_dub> npm ERR! Aug 04 03:09:49 <e_dub> npm ERR! Additional logging details can be found in: Aug 04 03:09:49 <e_dub> npm ERR! /home/eric/git/community/tower/npm-debug.log Aug 04 03:09:49 <e_dub> npm ERR! not ok code 0 Aug 04 03:09:51 you have node >= 0.8?