Block/remove these exact versions everywhere (dev, CI, prod, caches):
[email protected]
[email protected]
[email protected]
Block/remove these exact versions everywhere (dev, CI, prod, caches):
[email protected]
[email protected]
[email protected]
| #!/usr/bin/expect -f | |
| set adminpassword [lindex $argv 0] | |
| set newusername [lindex $argv 1] | |
| set newuserpwd [lindex $argv 2] | |
| set timeout 5 | |
| spawn /opt/cloudhsm/bin/cloudhsm_mgmt_util /opt/cloudhsm/etc/cloudhsm_mgmt_util.cfg | |
| expect -re "aws-cloudhsm*" { |
| FROM node | |
| MAINTAINER Adam Barthelson | |
| RUN npm cache clean -f | |
| RUN npm install -g grunt-cli | |
| RUN npm install -g bower | |
| # Install Ruby | |
| ADD http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz /tmp/ |
| /** | |
| * Locations.js | |
| * | |
| * @description :: TODO: You might write a short summary of how this model works and what it represents here. | |
| * @docs :: http://sailsjs.org/#!documentation/models | |
| */ | |
| module.exports = { | |
| seedData:[ |
| function NMEA2GPS(num, pole){ | |
| var poles = {'N':1,'S':-1,'W':-1,'E':1}; | |
| var s = parseFloat(num).toString(); | |
| var deg = s.substring(0,2); | |
| var min = s.substring(2); | |
| return (parseInt(deg) + parseFloat(min)/60) * poles[pole]; | |
| } | |
| // NMEA2GPS(07721.2060, 'W') => -77.35347 |
| .state('root.index', { | |
| url: '/?redirectTo', | |
| views: { | |
| 'content@':{ | |
| controller: 'MainCtrl', | |
| templateUrl: 'templates/main.html' | |
| } | |
| }, | |
| authenticate: false, | |
| onEnter: function(Redirect, $stateParams){ |
| $scope.things = []; | |
| $scope.hasChanged = { | |
| mySuperAwesomeStuff: false, | |
| }; | |
| $scope.$watch('things', function () { | |
| $scope.hasChanged.mySuperAwesomeStuff = true; | |
| }); |
| <div bg-preload-src="http://31.media.tumblr.com/tumblr_mac0i9xIMf1rzupqxo1_500.png"></div> |
| app.directive("gmap", function() { | |
| return { | |
| restrict: "E", | |
| scope: false, | |
| replace: false, | |
| templateUrl: "map.html", | |
| link: function(scope){ | |
| map = new GMaps({ | |
| div: '#map', | |
| lat: scope.latitude, |
Step 1: Install: http://www.vim.org/scripts/script.php?script_id=3567
Step 2: Add to .vimrc:
autocmd VimEnter * ColorHighlight
Step 3: Profit