- people don't read on the web
- how users read on the web http://www.nngroup.com/articles/how-users-read-on-the-web/
- F shaped pattern (Jakob Nielsen)
- what readers look at
- menaningful text and images
- the begining of paragraphs
- bullet lists
- variations in typeface
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
from icalendar import Calendar, Event | |
import simplejson as json | |
import re | |
import web | |
from mimerender import mimerender | |
import sys | |
event = {} | |
urls = ( | |
'https://api.geoloqi.com/1/place/create', 'place' |
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
from icalendar import Calendar, Event | |
import simplejson as json | |
import re | |
import web | |
from mimerender import mimerender | |
import sys | |
import urllib2 | |
event = {} |
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
# a = 1 | |
# b = a + 2 | |
# print b | |
program = [ | |
('assign', 'a', ('value', 1)), | |
('assign', 'b', ('plus', ('refer', 'a'), ('value', 2))), | |
('print', ('refer', 'b')), | |
('variables',)] | |
variables = {} |
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
set enc=utf-8 | |
set nu | |
function! WindowsizeMaximize13() | |
set lines=570 | |
set columns=1810 | |
colorscheme ir_black | |
endfunction | |
"command! WindowsizeMaximize13 call WindowsizeMaximize13() | |
filetype indent plugin on |
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
// | |
// ViewController.m | |
// coreDataTutorial | |
// | |
// Created by Naoya Makino on 12-10-25. | |
// Copyright (c) 2012 Naoya Makino. All rights reserved. | |
// | |
#import "ViewController.h" | |
#import "AppDelegate.h" |
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
(main)> bag = NanoStore::Bag.bag | |
=> #<NanoStore::Bag:0x8c930b0> | |
(main)> NanoStore.shared_store.addObject(bag, error:nil) | |
=> true | |
(main)> bag.setName "cars" | |
=> #<NanoStore::Bag:0x8c930b0> | |
(main)> user = User.create(8, 'demo', 23, bag.name) | |
=> #<User:0x8c93800> | |
(main)> user.save | |
=> #<User:0x8c93800> |
- RESTful search engine built on top of Apache
wanted: autocomplete, replace database full-text search, bring site earch in-house
node: instance of elasticsearch which belongs to a cluster
- rails 3: removing /lib from automatically being loaded on application boot
create a namespace and setup a proper layout when we need to extract our code outside the application into a gem
#config/initializers/twitter_wrangler.rb
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
Diametric gem https://github.com/relevance/diametric | |
- ActiveModel wrapper of Datomic. MRI via REST service. Jruby via REST service | |
Datomic is via Rich Hickey, newSql database. | |
ACID (atomicity, consistency, Isolation, Durability) guranteed. | |
- has idea of simplicity | |
- datomics schema, - Array of Hash | |
- data: array of hash | |
- query - array in array | |
- data is immutable |
OlderNewer