This file contains 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/sh | |
## | |
# Run this from GitBash | |
## | |
mvn archetype:generate -B -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=pom-root -DarchetypeVersion=1.1 -DgroupId=com.mycompany -DartifactId=Bug238423 | |
cd Bug238423 | |
git init |
This file contains 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/sh | |
## | |
# Gist to create a Git reppo and rename and modify a file on 2 different branches | |
## | |
mkdir renameTest | |
cd renameTest | |
git init | |
This file contains 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/sh | |
## | |
# Removes all Git historyand loacl and remote branches & tags | |
# Reconstructs the repo with only the current content | |
# Pushes to origin | |
## | |
git fetch --all -p |
This file contains 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/sh | |
git config --unset-all "gitflow.branch.master" | |
git config --unset-all "gitflow.branch.develop" | |
git config --unset-all "gitflow.prefix.feature" | |
git config --unset-all "gitflow.prefix.release" | |
git config --unset-all "gitflow.prefix.hotfix" | |
git config --unset-all "gitflow.prefix.support" | |
git config --unset-all "gitflow.prefix.versiontag" |
This file contains 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] ------------------------------------------------------------------------ | |
[INFO] Building arquillian-tutorial 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ arquillian-tutorial --- | |
[INFO] Deleting C:\Dev\Git\BitBucket\arquillian-stuff\arquillian-tutorial\target | |
[INFO] | |
[INFO] --- jacoco-maven-plugin:0.7.0.201403182114:prepare-agent (prepare-agent) @ arquillian-tutorial --- |
This file contains 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
current_branch=`git rev-parse --abbrev-ref HEAD` | |
git show-branch -a | grep '*' | grep -v $current_branch | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//' |
This file contains 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
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_4b410cb9_14.08.06_05.50.34.9121485554497846906782.txt | |
[8/6/14 5:50:34:912 IST] FFDC Exception:javax.servlet.ServletException SourceId:com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters -SE ProbeId:1078 | |
javax.servlet.ServletException: java.io.IOException: "text/html" DataContentHandler requires String object, was given object of type class java.util.ArrayList | |
at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:195) | |
at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:124) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) | |
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230) | |
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779) | |
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) |
This file contains 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
# Add Docker PPA and install latest version | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" | |
sudo apt-get update | |
sudo apt-get install lxc-docker -y | |
# Install fig | |
sudo su | |
curl -L https://github.com/docker/fig/releases/download/1.0.0/fig-`uname -s`-`uname -m` > /usr/local/bin/fig | |
chmod +x /usr/local/bin/fig |
This file contains 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
##### | |
# http://deltaspike.apache.org/documentation/configuration.html#_custom_configsources | |
##### | |
# ConfigSources are picked up using the `java.util.ServiceLoader’ mechanism so follow steps below to add a Custom one: | |
# 1. Create a file named: | |
/META-INF/services/org.apache.deltaspike.core.spi.config.ConfigSource | |
# 2. Implement the Interface ConfigSource http://deltaspike.apache.org/javadoc/1.2.1/org/apache/deltaspike/core/spi/config/ConfigSource.html |
This file contains 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
I, Desmond Kirrane, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Mon Feb 09 2015 10:42:49 GMT+0000 (GMT Standard Time) |
OlderNewer