-
Software Engineering Radio Topics like CQRS, Event Sourcing, Distributed System, etc.
-
The Coudcast Topcs like CoreOS, Kubernetes, Docker and Microservices
-
Thoughtworks Good talks focused on DevOps
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
| //============================================================ | |
| // Annotations with line pointers | |
| // @param y-position: num required | |
| // @param x-position: num required | |
| // @param box-width: num optional | |
| // @param box-height: num optional | |
| //============================================================ | |
| // Variables | |
| // -------------------------------------- |
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
| Run following command line. | |
| git config --global credential.helper osxkeychain | |
| Then run your git command. Here is the link that helped me figure out. https://help.github.com/articles/caching-your-github-password-in-git/ |
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
| $scope.pager = { | |
| pageChange: function(pageNum) { | |
| $scope.search(resultPager.get(pageNum)); | |
| }, | |
| next: function() { | |
| this.pageChange(resultPager.next()); | |
| }, |
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
| cd ~ | |
| ##If you want to install OpenJDK | |
| #sudo apt-get update | |
| #sudo apt-get install openjdk-8-jre-headless -y | |
| ###Or if you want to install Oracle JDK, which seems to have slightly better performance | |
| sudo add-apt-repository ppa:webupd8team/java | |
| sudo apt-get update | |
| sudo apt-get install oracle-java8-installer |
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
| { | |
| "name": "my-project", | |
| "version": "0.0.2", | |
| "description": "", | |
| "main": "Gruntfile.js", | |
| "dependencies": { | |
| "grunt": "^0.4.5", | |
| "grunt-autoprefixer": "^0.7.3", | |
| "grunt-bless": "^0.1.1", | |
| "grunt-contrib-connect": "^0.8.0", |
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
| /** | |
| * Grunt Task Configuratiion | |
| * @Commands: | |
| * grunt - Start the watcher | |
| * grunt watch:sass - Watch for Sass changes only and compile. | |
| * | |
| * @Todo: | |
| * 1. Convert to coffescript at some point | |
| * 2. Modularize grunt file with load-grunt-config - http://www.html5rocks.com/en/tutorials/tooling/supercharging-your-gruntfile/ | |
| */ |
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
| /** | |
| * Grunt Task Configuratiion | |
| * @Commands: | |
| * grunt - Start the watcher | |
| * grunt sass - Compiles Sass to CSS | |
| * grunt js - Concats js libs into a single file | |
| * grunt uncss - Remove unused CSS while in development | |
| * grunt dev - Builds files for development purposes | |
| * grunt build - Builds files and makes them production ready | |
| * grunt deploy - Runs build and deploys to a remote server |
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
| def self.circle_path(center, radius, complete_path = false) | |
| # For increased accuracy, if your data is in a localized area, add the elevation in meters to r_e below: | |
| r_e = 6378137.0 | |
| @@d2r ||= Math::PI/180 | |
| @@multipliers ||= begin | |
| segments = 16 | |
| dRad = 2*Math::PI/segments | |
| (segments + (complete_path ? 1 : 0)).times.map do |i| | |
| rads = dRad*i | |
| y = Math.sin(rads) |
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
| //========================================================================== | |
| // Baseline It | |
| // Adds visible lines to the background for typography positioning. | |
| // | |
| // 1. Pass the height you want the grid and the RGB color value of the grid lines. | |
| // 2. An optional offset value can be passed to compensate for padding or margins | |
| // that effect the starting point. | |
| // 3. An option value to hide the grid by default can be passed. Click and hold | |
| // anywhere within the element to hide/show the grid. | |
| // |