Skip to content

Instantly share code, notes, and snippets.

View pschyska's full-sized avatar
🤔
Aber das geht doch besser‽

Paul Schyska pschyska

🤔
Aber das geht doch besser‽
View GitHub Profile
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
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 )",
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
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)
<?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>
private boolean isColumnTrimmable(int paramInt)
throws SQLException
{
switch (this.fields[(paramInt - 1)].getSQLType())
{
case -4:
case -3:
case -2:
case -1:
case 1:
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});
class Base
def config
@config||=configuration
end
def configuration
# no op
end
end
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}
$ 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,