<template name="Profile">
{{> DashboardHeaderTop}}
<div class="profile">
<div class="row">
<div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
<h2>Profile</h2>
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
isMatched: null, | |
didUpdateAttrs() { | |
this._super(...arguments); | |
}, | |
actions: { |
React Hook | Ember Hook | Server? | Initial Render? | Rerender? | Purpose |
---|---|---|---|---|---|
componentWillMount |
init |
Yes | Yes | No | Set initial component state without triggering re-render |
componentDidMount |
didInsertElement |
No | Yes | No | Provides opportunity for manual DOM manipulation |
componentWillReceiveProps |
willReceiveAttrs |
No | No | Yes | React to changes in component attributes, so that setState can be invoked before render |
shouldComponentUpdate |
Maybe N/A | No | No | Yes | Gives a component an opportunity to reject downstream revalidation |
componentWillUpdate |
willUpdate |
No | No | Yes | Invoked before a template is re-rendered to give the component an opportunity to inspect the DOM before updates have been applied (example) |
componentDidUpdate |
didUpdate |
No | No | Yes | Invoked after a template is r |
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
// Version: v1.0.0-pre.2-396-g99357c2 | |
// Last commit: 99357c2 (2013-01-14 11:38:40 +0000) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
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
g=git | |
ga='git add' | |
gaa='git add --all' | |
galias='alias | grep git' | |
gapa='git add --patch' | |
gb='git branch' | |
gba='git branch -a' | |
gbda='git branch --merged | command grep -vE "^(\*|\s*master\s*$)" | command xargs -n 1 git branch -d' | |
gbl='git blame -b -w' | |
gbnm='git branch --no-merged' |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install tree rmtrash ag sift python python3 gawk tmux cscope ctags fasd git git-flow aria2 wget mmv rename
brew install tig jq fpp cloc htop ctop shellcheck mycli
brew tap homebrew/command-not-found
# Keybindings #
###############
# Keybindings to make special keys work - https://wiki.archlinux.org/index.php/Zsh#Key_Bindings
bindkey -v # vi mode
bindkey "\e[1~" beginning-of-line # Home