Skip to main content

Malcolm McRoberts

Malcolm McRoberts's Public Library

  • GWT.getHostPageBaseURL(); GWT.getModuleBaseURL(); GWT.getModuleName();

  • Finally, a full solution!

      
    childDocument.contentWindow.setTimeout( childDocument.contentWindow.moveOn, 0 );
      

    This asks the child document to execute the given function (moveOn) in zero milliseconds, and it is executed in the context of the child, even in Internet Exploder.

      

    Booyah.

May 14, 15

"Deploying a registry server
This section explains how to deploy a Docker Registry either privately for your own company or publicly for other users. For example, your company may require a private registry to support your continuous integration (CI) system as it builds new releases or test servers. Alternatively, your company may have a large number of products or services with images you wish to serve in a branded manner.

Docker's public registry maintains a default registry image to assist you in the deployment process. This registry image is sufficient for running local tests but is insufficient for production. For production you should configure and build your own custom registry image from the docker/distribution code.

Note: The examples on this page were written and tested using Ubuntu 14.04. If you are running Docker in a different OS, you may need to "translate" the commands to meet the requirements of your own environment."

    • docker save an image or docker export a container. This will output a tar file to standard output, so you will like to do something like docker save 'dockerizeit/agent' > dk.agent.lastest.tar. Then you can use docker load or docker import in a different host.

    •  
    • Host your own private registry. See the docker registry image. We have built an s3 backed registry which you can start and stop as needed (all state is kept on the s3 bucket of your choice) which is trivial to setup. This is also an interesting way of watching what happens when pushing to a registry.

  • GoalDescriptionsass:update-stylesheetsMojo that compiles SASS Templates into CSS files. Uses JRuby to execute a generated script that calls the SASS GEMsass:watchNo description.

  • using gem-maven-plugin to compass compile or execute sass. sass with gem dependency within plugin and compass with global compile dependency (which is also added to the java-classpath and not so nice)

  • bower-maven-plugin

     

    Fetch Bower modules in your Maven build.

    • This plugin downloads/installs Node and NPM locally for your project, runs NPM install, installs bower dependencies, run Grunt and/or gulp and/or Karma. It's supposed to work on Windows, OS X and Linux.

        

       What is this plugin meant to do?

        
         
      • Let you keep your frontend and backend builds as separate as possible, by reducing the amount of interaction between them to the bare minimum; using only 1 plugin.
      •  
      • Let you use Node.js and its libraries in your build process without installing Node/NPM globally for your build system
      •  
      • Let you ensure that the version of Node and NPM being run is the same in every build environment

  • To start with, we need to install Node.js, Bower, and Grunt. We’ll use frontend maven plugin created by Eirik Sletteberg.
  • A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma. It’s supposed to work on Windows, OS X, and Linux.
  • <plugins> 
    <plugin> 
    <groupId>com.github.eirslett</groupId> 
    <artifactId>frontend-maven-plugin</artifactId> 
    <version>0.0.21</version> 
    <executions>

2 more annotations...

  • <%  String redirectURL = "http://whatever.com/myJSPFile.jsp";  response.sendRedirect(redirectURL); %>

  • Web Intelligence and Big Data

    This course is about building 'web-intelligence' applications exploiting big data sources arising social media, mobile devices and sensors, using new big-data platforms based on the 'map-reduce' parallel programming paradigm. In the past, this course has been offered at the Indian Institute of Technology Delhi as well as the Indraprastha Institute of Information Technology Delhi.

  • Use $entry as soon as your pass a reference to a Java method to some JS that will call it back "later". If you know it'll be used synchronously then $entry is not needed (but would be harmless; I don't think it would really impact performance; though it depends how the function is used / at which rate it'll be called)  –   Thomas Broyer  Nov 3 '14 at 9:49
1 - 20 of 1879 Next › Last »
20 items/page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo