This file contains hidden or 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
1.9.2 (main):0 > book1=Book.first | |
Book Load (0.5ms) SELECT `books`.* FROM `books` LIMIT 1 | |
+----+-----------+-------------------+-----------+-----------+-------+------+--------+---------------------+----------------------+---------------------+--------------+ | |
| id | author_id | title | exemplars | digitized | notes | tags | rating | created_at | updated_at | last_read_at | published_on | | |
+----+-----------+-------------------+-----------+-----------+-------+------+--------+---------------------+----------------------+---------------------+--------------+ | |
| 4 | 32 | Journey to Ixtlan | 4 | | | | | 2012-02-03 23:22... | 2012-02-03 23:22:... | 2011-12-13 11:12... | 2011-12-13 | | |
+----+-----------+-------------------+-----------+-----------+-------+------+--------+---------------------+----------------------+---------------------+--------------+ | |
1 row in set | |
1.9.2 (main):0 > book2=Book.first | |
Book Load (0.6ms) SELECT `books`.* F |
This file contains hidden or 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
Loading development environment (Rails 3.1.3) | |
1.9.3-p0 :001 > ActiveLdap::Base.schema.dump | |
NOTE: Gem.available? is deprecated, use Specification::find_by_name. It will be removed on or after 2011-11-01. | |
Gem.available? called from /Users/pasc/.rvm/gems/ruby-1.9.3-p0@invoice_receipt_ldap_admin/gems/activeldap-3.1.0/lib/active_ldap/connection.rb:214. | |
{"objectClasses"=> | |
["( 2.5.6.0 NAME 'top' DESC 'top of the superclass chain' ABSTRACT MUST objectClass )", | |
"( 1.3.6.1.4.1.1466.101.120.111 NAME 'extensibleObject' DESC 'RFC2252: extensible object' SUP top AUXILIARY )", | |
"( 2.5.6.1 NAME 'alias' DESC 'RFC2256: an alias' SUP top STRUCTURAL MUST aliasedObjectName )", | |
"( 2.16.840.1.113730.3.2.6 NAME 'referral' DESC 'namedref: named subordinate referral' SUP top STRUCTURAL MUST ref )", | |
"( 1.3.6.1.4.1.4203.1.4.1 NAME ( 'OpenLDAProotDSE' 'LDAProotDSE' ) DESC 'OpenLDAP Root DSE object' SUP top STRUCTURAL MAY cn )", |
This file contains hidden or 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
Benchmark Summary | |
Section Description Score Geekbench Score | |
Geekbench 2.2.6 for Mac OS X x86 (32-bit) What does this score mean? | |
Integer Processor integer performance 2929 3554 | |
Floating Point Processor floating point performance 5131 | |
Memory Memory performance 2621 | |
Stream Memory bandwidth performance 2092 | |
System Information | |
Operating System Mac OS X 10.7.2 (Build 11C74) | |
Model MacBook Pro (15-inch Mid 2009) Motherboard Apple Inc. Mac-F22587A1 MacBookPro5,4 |
This file contains hidden or 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
20:32:29,343 ERROR [MinifierFilter:136] java.lang.NullPointerException | |
java.lang.NullPointerException | |
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:78) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | |
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196) | |
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126) | |
at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:53) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) |
This file contains hidden or 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
<?xml version="1.0"?> | |
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.0.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_0_0.dtd"> | |
<liferay-portlet-app> | |
<portlet> | |
<portlet-name>Content Browser</portlet-name> | |
<icon>/icon.png</icon> | |
<instanceable>true</instanceable> | |
<ajaxable>false</ajaxable> | |
<header-portlet-css>/css/main.css</header-portlet-css> |
This file contains hidden or 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
private boolean isColumnTrimmable(int paramInt) | |
throws SQLException | |
{ | |
switch (this.fields[(paramInt - 1)].getSQLType()) | |
{ | |
case -4: | |
case -3: | |
case -2: | |
case -1: | |
case 1: |
This file contains hidden or 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
this.on('componentload', function (instance) { | |
switch (instance.name) { | |
case "email": | |
this.email.on("addrecipients", function(parameters){ | |
console.info("addrecipients event parameters:", parameters); | |
console.info("this:", this); | |
this.addRecipients(parameters); | |
}); | |
this.email.on('sendmessage', function(message_id){ | |
this.sendMessage({message_id: message_id}); |
This file contains hidden or 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
class Base | |
def config | |
@config||=configuration | |
end | |
def configuration | |
# no op | |
end | |
end |
This file contains hidden or 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
Application.stores.users = new Ext.data.JsonStore | |
url: "/users" | |
restful: true | |
idProperty: '_id' | |
root: 'results' | |
totalProperty: 'total' | |
fields: [ | |
{name: 'first_name', type: 'string', allowBlank: false} | |
{name: 'last_name', type: 'string', allowBlank: false} | |
{name: 'email', type: 'string', allowBlank: false} |
This file contains hidden or 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
$ rspec spec/ | |
No examples were matched by {:focus=>true}, running all | |
creating Makefile | |
fsevent_watch compiled | |
F.... | |
Failures: | |
1) FSEvent should work when a lot of fs events are fired | |
Failure/Error: @results.count.should == 10000 | |
expected: 10000, |