copy

Copy may refer to: to copy a word from a book to a paper or laptop or computer read more at WikiPedia

  • I will show you in an Apache Maven configuration file how to copy files to server each time the package phase is executed.

    Solution with Ant SCP task

    This snippet of code is a ready to use code that make use of Apache Ant task scp, Just put this snippet of code in your Maven module where the assembly is executed or anywhere else to push all tar.gz files to a server just run a maven mvn package, you can add as many ant task and push to many server the same file during the reactor build.

    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-antrun-plugin</artifactId>
    <version>1.7</version>
    <executions>
    <execution>
        <id>server-copy</id>
        <goals>
            <goal>run</goal>
        </goals>
        <phase>package</phase>
        <configuration>
            <target>
                <echo message="Push to server/home/"/>
                <scp trust="yes"
                    todir="user:password@server:/home/">
                    <fileset dir="${basedir}/target">
                        <include name="**/*.tar.gz"/>
                    </fileset>
                </scp>
            </target>
        </configuration>
    </execution>
    </executions>
    <dependencies>
    <dependency>
        <groupId>org.apache.ant</groupId>
        <artifactId>ant-jsch</artifactId>
        <version>1.8.2</version>
    </dependency>
    </dependencies>
    </plugin>

    Solution with maven-deploy-plugin

    The maven-deploy-plugin allows you to configure the deploy phase to deploy to a server using scp. There is a page in the documentation that describes how it can be done.

    Deploy maven artifact using Maven Wagon SCP

    Another alternative would be to use Maven Wagon SCP like described in this post for example

  • Apple just did steal the idea and is trying to convince the world that they did create it.

    The Verge is reporting that, in particular, Samsung pointed to the Diamond Touch device — developed in 2001 at the Mitsubishi Electronic Research Laboratory — which included predecessors of both pinch-to-zoom and Apple’s bounce-back effect. The device, available in the MERL lounge for anyone to use, saw images snap back into place, rather like they do in iOS, and featured an application called Fractal Zoom, which allowed users to manipulate and zoom in on images using multiple finger gestures.

    DiamondTouch: Pinch to Zoom in 2001

    Add pinch to zoom demo of Jeff Han that shows off a cheap, scalable multi-touch and pressure-sensitive computer screen interface in 2006 that may spell the end of point-and-click. Read now Multi touch and pinch to zoom years before Apple copy it!

  • Technology, society has only come this far by building on the work of the people before you! the patent system is broken and useless: UPSTO (United States Patent and Trademark Office) don't even check if something was invented by another person or company. Just so long as no one has patent you can do it even if you are NOT the inventor!!!

    From TED.com:
    Nothing is original, says Kirby Ferguson, creator of Everything is a Remix. From Bob Dylan to Steve Jobs, he says our most celebrated creators borrow, steal and transform. Kirby Ferguson explores creativity in a world where "everything is a remix."

    Said in the video:

    • Apple need 28 pages to explain how to unlock your device using your finger…
    • Steve Job famous quote should be extended with “Great artists steal but not from me”

    http://www.youtube.com/watch?v=L1s_PybOuY0&feature=player_embedded#!