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
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for com.ailabs:jclosure:jar:1.0-SNAPSHOT | |
[WARNING] 'parent.relativePath' points at com.ailabs:root-group instead of com.ailabs.rootgroup:root-group, please verify your project structure @ line 6, column 11 | |
[WARNING] | |
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. | |
[WARNING] | |
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. | |
[WARNING] | |
[INFO] ------------------------------------------------------------------------ |
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
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] root-group | |
[INFO] sharedlibrary | |
[INFO] helloapp | |
[INFO] worldapp | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ |
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
root@swdevel:~/GwtMaven3Project# mvn package | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] root-group | |
[INFO] sharedlibrary | |
[INFO] helloapp | |
[INFO] worldapp | |
[INFO] |
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
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] root-group | |
[INFO] sharedlibrary | |
[INFO] helloapp | |
[INFO] worldapp | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ |
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
var existingOrders = Orders.find(); | |
var openOrderIds = []; | |
var itemsOrdered = []; | |
existingOrders.forEach(function(order) { | |
if (order.isOpen && !order.isAcceptingMoreItems) { | |
openOrderIds.push(order); | |
var anyOpenOrder = 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
package com.google.gwt.sample.contentcentral.client; | |
import com.google.gwt.core.client.EntryPoint; | |
// package disposable; | |
/** Interface for an object which observes when we have been disposed */ | |
interface IDisposeCallback | |
{ | |
void disposeCallback(); |
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
type LayoutCell struct | |
{ | |
CellIdentifier string; | |
CellWidth int; | |
Widget_name string; | |
Widget_state *interface{}; | |
} | |
type LayoutRow struct // CellGroup |
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
func startWorker() { | |
cmd := exec.Command("myworker"); | |
f, err := os.Create("/tmp/worker7.sock"); | |
if (err != nil) { panic(err); } | |
_, file_err := net.FileListener(f); // ERROR: getsockopt: socket operation on non-socket | |
if (file_err != nil) { panic(file_err); } | |
cmd.ExtraFiles = []*os.File{ 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
type MyResponseWriter struct | |
{ | |
http.ResponseWriter; | |
StatusCode int; | |
} | |
func (srw MyResponseWriter) Write(b []byte) (int, error) { | |
// How can I call the embedded method Write() method of http.ResponseWriter | |
return 0, nil; | |
} |
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
func swap_bgra_rgba(img_buf *image.RGBA) image.Image { | |
var wtf = &bytes.Buffer{}; | |
png.Encode(wtf, img_buf); | |
pic, _ := png.Decode( wtf ); // FIXMEIFMXE FIXME!!!!!!! -- WASTING CPU!!! | |
b := pic.Bounds(); |