Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate
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
Router.route('/video/:_id', { | |
name: 'Test', | |
waitOn: function() { | |
return Meteor.subscribe('videos', this.params._id); | |
}, | |
data: function() { | |
return Videos.findOne(this.params._id); | |
} | |
}); |
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
const path = require('path'); | |
const webpack = require('webpack'); | |
module.exports = { | |
devtool: 'cheap-module-eval-source-map', | |
entry: [ | |
'webpack-hot-middleware/client', | |
'./src/index' | |
], | |
output: { |
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
const path = require('path'); | |
const express = require('express'); | |
const webpack = require('webpack'); | |
const config = require('./webpack.config.dev'); | |
const app = express(); | |
const compiler = webpack(config); | |
app.use(require('webpack-dev-middleware')(compiler, { | |
noInfo: 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
import React from 'react'; | |
import { connect } from 'react-redux'; | |
import * as postsActions from '../actions/postsActions'; | |
import { bindActionCreators } from 'redux'; | |
import { fetchAndRecievePosts } from '../actions/postsActions'; | |
import CallToAction from '../components/CallToAction'; | |
import PostBlock from '../components/PostBlock'; | |
import DraftBlock from '../components/DraftBlock'; | |
import {editorStateToJSON, editorStateFromRaw} from "megadraft/lib/utils"; |
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 { take, call, put, fork, cancel } from 'redux-saga/effects'; | |
import { LOCATION_CHANGE } from 'react-router-redux'; | |
import { GET_RECOMMENDATIONS } from './constants'; | |
import { getRecommendationsError, getRecommendationsSuccess } from './actions'; | |
import request from 'utils/request'; | |
function* getRecommendations() { | |
const requestURL = '/api/tinder/recommendations'; | |
const profiles = yield call(request, requestURL); |
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
{ | |
"syntaxProfiles": { | |
"jsx": { | |
"attr_quotes": "single" | |
} | |
} | |
} |
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
show_icons() { | |
defaults write com.apple.finder CreateDesktop true | |
killall Finder | |
} | |
hide_icons() { | |
defaults write com.apple.finder CreateDesktop false | |
killall Finder | |
} |
I hereby claim:
- I am eddiewang on github.
- I am eddiewang (https://keybase.io/eddiewang) on keybase.
- I have a public key whose fingerprint is EFDF 6E24 2698 5473 55F0 3A1D 31F8 A0F5 B5EB 74A1
To claim this, I am signing this object:
OlderNewer