Skip to content

Instantly share code, notes, and snippets.

View framon's full-sized avatar

Fábio Ramon framon

  • Feira de Santana
View GitHub Profile
@framon
framon / vim-cheatsheet.md
Created April 20, 2020 01:00 — forked from 0xadada/README.md
VIM movement, keyboard commands and shortcuts
// Credits: Adam's answer in http://stackoverflow.com/a/20786262/69362
// Paste this in browser's console
var $rootScope = angular.element(document.querySelectorAll("[ui-view]")[0]).injector().get('$rootScope');
$rootScope.$on('$stateChangeStart',function(event, toState, toParams, fromState, fromParams){
console.log('$stateChangeStart to '+toState.to+'- fired when the transition begins. toState,toParams : \n',toState, toParams);
});
$rootScope.$on('$stateChangeError',function(event, toState, toParams, fromState, fromParams){
console.log('$stateChangeError - fired when an error occurs during transition.');
@framon
framon / angular.jsp
Last active August 29, 2015 14:09 — forked from wvuong/angular.jsp
<script>
// inject inlined constants
angular.module('app.constants', [])
.constant('contextPath', '${pageContext.request.contextPath}');
</script>
#Conceitos sobre arquitetura
http://randomactsofarchitecture.com/2012/11/20/should-software-architects-write-code/
http://www.infoq.com/articles/brown-are-you-a-software-architect
http://www.joelonsoftware.com/items/2006/09/01.html
#Apresentação do Twitter sobre otimizações da JVM
http://www.slideshare.net/aszegedi/everything-i-ever-learned-about-jvm-performance-tuning-twitter
#Livros
Recomendações: http://pinterest.com/while42/pragmatic-programmer/