Skip to content

Instantly share code, notes, and snippets.

View taoning2014's full-sized avatar

Tao Ning taoning2014

  • LinkedIn
  • United States
View GitHub Profile
@taoning2014
taoning2014 / Host Images
Last active January 12, 2022 21:32
This gist is used to host images which are used across my repos.
We couldn’t find that file to show.
import Ember from 'ember';
import { getWithDefault } from '@ember/object';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
init() {
const obj = { foo: 'foo', bar: null, barfoo: undefined };
const foo = getWithDefault(obj, 'foo', 'fooDefault');
const bar = getWithDefault(obj, 'bar', 'barDefault');
const barfoo = getWithDefault(obj, 'barfoo', 'barfooDefault');
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
/* Origin image*/
.img-class {
height: 76px;
import Ember from 'ember';
export default Ember.Component.extend({
cominfo: 'hhhh'
});

Wukong Tech Refer

Some of the resource you may download for free by seaching on the Internet, however I highly recommend pay to read / watch / use them as a respect to the author.

Also, you may subscribe to to safari books online or packtpub to get access to read some of them.

Template

@taoning2014
taoning2014 / git-check-sheet.md
Last active April 8, 2016 10:47 — forked from hofmannsven/README.md
My simply Git Cheatsheet

Using Git

Practical Guide

##Branch

###Create new branch Create and checkout new branch based on current head: