start new:
tmux
start new with session name:
tmux new -s myname
| /* ============================================================= | |
| * bootstrap-scrollspy.js v2.0.1 | |
| * http://twitter.github.com/bootstrap/javascript.html#scrollspy | |
| * ============================================================= | |
| * Copyright 2012 Twitter, Inc. | |
| * | |
| * Licensed 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 | |
| * |
| # Just an example. | |
| # @video is a direct reference to a '<video>' element. | |
| # $() is assuming jQuery is being used in this example. | |
| @video.addEventListener("loadedmetadata", (event) => | |
| actualRatio = @video.videoWidth/@video.videoHeight | |
| targetRatio = $(@video).width()/$(@video).height() | |
| adjustmentRatio = targetRatio/actualRatio | |
| $(@video).css("-webkit-transform","scaleX(#{adjustmentRatio})") | |
| ) |
| package net.nobien.cloudfoundry.example.config; | |
| import java.util.Properties; | |
| import org.cloudfoundry.runtime.env.CloudEnvironment; | |
| import org.cloudfoundry.runtime.env.CloudEnvironmentPropertiesFactoryBean; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.context.ApplicationContextInitializer; | |
| import org.springframework.core.env.ConfigurableEnvironment; |