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
| /* | |
| * jquery-ujs | |
| * | |
| * add back the features ":submit",":with" features (link_to_remote) in the UJS | |
| * manage this features by adding this with the HTML 5 attributes | |
| * :with => data-with | |
| * :submit => data-submit | |
| * | |
| * follow same behaviour http://apidock.com/rails/ActionView/Helpers/PrototypeHelper/link_to_remote | |
| * |
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 | |
| # How to perform a release with git & maven following the git flow conventions | |
| # ---------------------------------------------------------------------------- | |
| # Finding the next version: you can see the next version by looking at the | |
| # version element in "pom.xml" and lopping off "-SNAPSHOT". To illustrate, | |
| # if the pom's version read "0.0.2-SNAPSHOT", the following instructions would | |
| # perform the release for version "0.0.2" and increment the development version | |
| # of each project to "0.0.3-SNAPSHOT". | |
| # |
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
| CSS/VERTICAL ALIGN | |
| http://forum.alsacreations.com/topic.php?fid=4&tid=664&p=1 | |
| http://www.loriswebs.com/html-tips/verticallyalignimages.html | |
| http://forum.alsacreations.com/topic.php?fid=4&tid=35#copy | |
| http://openweb.eu.org/articles/initiation_flux/ | |
| CSS/FLOAT |
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
| Maven 3.0 | |
| http://www.sonatype.com/people/2009/08/create-a-customized-build-process-in-maven/ | |
| deploy | |
| http://maven.apache.org/pom.html#Distribution_Management | |
| http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html | |
| classifier | |
| http://geekzguru.wordpress.com/2008/02/16/maven-tag/ |
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
| ########################################################################## JQuery | |
| Jquery + google maps | |
| http://www.webgo.fr/2011/08/google-maps-geocode-jquery-ui-autocomplete/ | |
| Jquery tooltip | |
| http://vadikom.com/demos/poshytip/ | |
| Jquery select |
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:flyway/flyway.git | |
| cd flyway | |
| # move into another folder with rewriting the history | |
| git filter-branch -f --prune-empty --tree-filter 'mkdir -p .root;mv * .root;mv .root root' -- --all | |
| git clone git@github.com:regis-leray/flyway.git regis-flyway | |
| cd regis-flyway/ | |
| git remote add origin-flyway ../flyway | |
| git fetch origin-flyway |
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
| ### Pre step / Execute Shell | |
| # Remove the snapshot from the project version | |
| project_version=`xpath -q -e "/project/version/text()" pom.xml` | |
| mvn versions:set -DnewVersion=${project_version%-SNAPSHOT}-build.${BUILD_NUMBER} | |
| ### Build | |
| clean deploy -Pintegration,release -Denvironment=int -Dpackage-deb=true -Dinstall-deb=true |
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
| mvn clean test -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE" |
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
| mvn clean install '-P!CommercialDBJars,!MediumTests' |
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
| crontab -l | |
| @reboot inoticoming --logfile /var/www/depot/logs/inoticoming-snapshot.log /var/www/depot/snapshot/binary --stderr-to-log --stdout-to-log --suffix '.changes' /usr/local/bin/update-apt-upload.sh /var/www/depot/snapshot \; | |
| @reboot inoticoming --logfile /var/www/depot/logs/inoticoming-release.log /var/www/depot/release/binary --stderr-to-log --stdout-to-log --suffix '.changes' /usr/local/bin/update-apt-upload.sh /var/www/depot/release \; | |
| cat /usr/local/bin/update-apt-upload.sh | |
| #!/bin/sh | |
| REPO_DIR=$1 |
OlderNewer