I hereby claim:
- I am powellmichael on github.
- I am powellmap (https://keybase.io/powellmap) on keybase.
- I have a public key whose fingerprint is DF54 9DBC 84E1 EA4C 62FE 72DE 62D7 3C19 CE4C 50FF
To claim this, I am signing this object:
<div class="box1"></div> | |
<div class="box2"></div> | |
<div class="box"></div> |
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Theme | |
ZSH_THEME="cloud" | |
# Aliases | |
alias zshconfig="subl ~/.zshrc" | |
alias ohmyzsh="subl ~/.oh-my-zsh" |
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch" |
#/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# forked by Gianluca Guarini | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep -E --quiet "$1" && eval "$2" | |
} |
function Gauge(placeholderName, configuration) | |
{ | |
this.placeholderName = placeholderName; | |
var self = this; // for internal d3 functions | |
this.configure = function(configuration) | |
{ | |
this.config = configuration; | |
I hereby claim:
To claim this, I am signing this object:
https://stackoverflow.com/questions/20603107/angularjs-text-area-character-counter | |
.directive('charCount', ['$log', '$timeout', function($log, $timeout){ | |
return { | |
restrict: 'A', | |
compile: function compile() | |
{ | |
return { | |
post: function postLink(scope, iElement, iAttrs) | |
{ |
import { Pipe, PipeTransform } from '@angular/core'; | |
import { parsePhoneNumber, CountryCode } from 'libphonenumber-js/min'; | |
@Pipe({ | |
name: 'phone' | |
}) | |
export class PhonePipe implements PipeTransform { | |
transform(phoneValue: number | string, country: string): any { | |
try { |
This migration path focuses on AngularJS UI Router and Angular Router interopability,
This method not good for everyone! The main characteristics of this path is that the AngularJS and Angular apps does not share the same layout. So new components are always introduced in Angular, old components are rewritten and downgraded for AngularJS. Migration of old modules happens at once, when almost all components are updated. UI Router states cannot be reused in Angular, so every state and listener should bre rewriten to routes and event listeners or strategies for Angular Router.