This file contains 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
from calibre.web.feeds.recipes import BasicNewsRecipe | |
class JavaTutorialsRecipe(BasicNewsRecipe): | |
title = 'Java Tutorials. Trail: Essential Classes - Concurrency' | |
description = '' | |
cover_url = 'https://docs.oracle.com/javase/tutorial/images/oracle-java-logo.png' | |
url_prefix = 'https://docs.oracle.com/javase/tutorial/essential/' | |
no_stylesheets = True |
This file contains 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
$rootScope = @$scope.$root | |
$rootScope.$on('$stateChangeStart', (event, toState, toParams, fromState, fromParams) -> | |
console.log('$stateChangeStart to ' + toState.to + '- fired when the transition begins. toState,toParams : \n', toState, toParams); | |
console.log(arguments) | |
) | |
$rootScope.$on('$stateChangeError', (event, toState, toParams, fromState, fromParams) -> | |
console.log('$stateChangeError - fired when an error occurs during transition') | |
console.log(arguments) |
This file contains 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
// file: app/scripts/directives/myDirective.js | |
angular.module('someApp.directive').directive('myDirective', function () { | |
return { | |
templateUrl: 'templates/myDirective.html', // HERE | |
.... | |
} | |
}); |
This file contains 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
# User defaults for abcde version 2.2.x | |
# Entire description of these options: /etc/abcde.conf, or shell command: "man abcde" | |
OUTPUTTYPE="flac,mp3" | |
######### | |
FLACENCODERSYNTAX=flac | |
MP3ENCODERSYNTAX=lame | |
FLAC=flac | |
LAME=lame | |
FLACOPTS='--verify --best' | |
LAMEOPTS='--preset insane' |
This file contains 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
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[33m\] $(__git_ps1 "(%s)")\[\033[00m\]$ ' | |
alias d='git diff --word-diff $@' | |
alias s='d; echo -e "\n"; git status -sb' | |
alias st='d; echo -e "\n"; git status -b' | |
alias b='git branch -avv' | |
alias pl='git pull -v' | |
alias ph='git push -v' | |
alias a='git add $@' | |
alias c='git commit -v $@' |