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
| #!/bin/bash | |
| if [ "x$JBOSS_HOME" = "x" ]; then | |
| JBOSS_HOME="/opt/apps/jboss/current/jboss-as" | |
| fi | |
| if [ "x$JBOSS_SERVER" = "x" ]; then | |
| JBOSS_SERVER="default" | |
| fi |
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
| find . -name 'pom.xml' | xargs sed -i "s/\<version\>1.0.1\<\/version\>/\<version\>1.0.2-SNAPSHOT\<\/version\>/g" | |
| find . -name 'pom.xml-e' | xargs rm -f | |
| find . -name 'pom.xml' | xargs sed -i -e "s/\<version\>1.0.1-SNAPSHOT\<\/version\>/\<version\>1.0.1\<\/version\>/g" |
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
| @Name("stockList") | |
| public class StockList extends EntityQuery<Stock> { | |
| private static final String EJBQL = "select stock from Stock stock"; | |
| private static final String[] RESTRICTIONS = { | |
| "stock.employeeAssigned.employeeId = #{stockList.currentEmployee.employeeId}", | |
| "lower(stock.barcode) like concat(lower(#{stockList.barcode}),'%')" | |
| }; |
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
| $ git clone git://github.com/bmwcarit/Jnario.git | |
| $ cd Jnario | |
| $ git rev-parse HEAD | |
| 79807982cc96cccb48f8dcf5fc594aba7b5912f6 | |
| $ mvn clean install | |
| ...... |
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" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
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
| echo -n "mytext"| openssl sha1 -binary | base64 |
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
| #!/bin/bash | |
| # | |
| # chkconfig: 345 88 12 | |
| # description: Karaf is a java container. | |
| ### BEGIN INIT INFO | |
| # Provides: $activemq | |
| ### END INIT INFO | |
| . /etc/init.d/functions | |
| . /etc/profile.d/java.sh |
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" encoding="UTF-8"?> | |
| <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0" | |
| xmlns:camel="http://camel.apache.org/schema/blueprint" | |
| xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" | |
| xsi:schemaLocation=" | |
| http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd | |
| http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0 http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0/blueprint-ext.xsd | |
| http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd |
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
| #!/bin/bash | |
| # Set custom OS X defaults | |
| # See: github.com/mathiasbynens/dotfiles | |
| # General UI/UX | |
| # ---------------------------------------------------------------------- | |
| # Disable Menu bar transparency | |
| defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false |
OlderNewer