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
| [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.6:assembly (default-assembly) on project xxxx-karaf: Unable to build assembly: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=xxx-kar; type=karaf.feature; version=1.0.0.SNAPSHOT; filter:="(&(osgi.identity=xxx-kar)(type=karaf.feature)(version>=1.0.0.SNAPSHOT))" [caused by: Unable to resolve xxx-kar/1.0.0.SNAPSHOT: missing requirement [xxx-kar/1.0.0.SNAPSHOT] osgi.identity; osgi.identity=xxx.backend; type=osgi.bundle; version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve xxx.backend/1.0.0.SNAPSHOT: missing requirement [xxx.backend/1.0.0.SNAPSHOT] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.service.blueprint)(version>=1.0.0)(!(version>=2.0.0)))"]] -> [Help 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
| #### Private Share #### | |
| [sharepoint-export] | |
| path = /opt/myshare | |
| guest ok = yes | |
| guest account = fs5 | |
| writable = no | |
| guest only = yes | |
| browsable = yes | |
| create mask = 0707 | |
| directory mask = 0707 |
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
| input { | |
| log4j { | |
| port => 4712 | |
| } | |
| } | |
| output { | |
| loggly { | |
| key => abcdef12-3456-7890-abcd-ef0123456789 | |
| proxy_host => myproxy.com # string (optional) | |
| proxy_port => 8080 # number (optional) |
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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
| "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
| <script src="http://raw.github.com/jzaefferer/jquery-validation/1.11.1/jquery.validate.js"></script> | |
| <script src="http://raw.github.com/jzaefferer/jquery-validation/1.11.1/additional-methods.js"></script> | |
| </head> | |
| <body> |
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
| function createFooLayer() { | |
| return new OpenLayers.Layer.Vector(" foo", { | |
| minZoomLevel: 7, | |
| maxZoomLevel: 10, | |
| styleMap: new OpenLayers.StyleMap(incidentStyle), | |
| strategies: [new OpenLayers.Strategy.BBOX()], | |
| protocol: new OpenLayers.Protocol.WFS({ | |
| url: geoserverUrl, | |
| featureType: "foo", | |
| featureNS: "http://www.foo.com", |
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
| public FooWS getEndpoint() throws MalformedURLException { | |
| if (webservice == null) { | |
| FooWS client = new FooWSService(new URL(wsEndpoint)).getFooWSPort(); | |
| if (timeout != -1) | |
| { | |
| Client cl = ClientProxy.getClient(client); | |
| HTTPConduit http = (HTTPConduit)cl.getConduit(); |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
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
| public class JUnitTest | |
| { | |
| private PGPoolingDataSource dataSource; | |
| @Before | |
| public void setup() { | |
| dataSource = new PGPoolingDataSource(); | |
| dataSource.setServerName("localhost:5432/foo"); | |
| dataSource.setUser("postgres"); | |
| dataSource.setPassword("postgres"); |
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
| public class UnicodeSQLServerDialect extends SQLServerDialect { | |
| public UnicodeSQLServerDialect() { | |
| super(); | |
| registerColumnType(Types.VARCHAR, 255, "nvarchar($l)"); | |
| registerColumnType(Types.CHAR, "nchar(1)"); | |
| registerColumnType(Types.CLOB, "nvarchar(max)"); | |
| } | |
| } |
NewerOlder