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
Type:: #{% if category == "articles" %}Article{% elif category == "books" %}Book{% elif category == "tweets" %}Tweet{% else %}{{category|title}}{% endif %} | |
Author:: [[{{author}}]] | |
Recommended By:: | |
Full Title:: {{full_title}} | |
Status:: #Waiting [[📤Things to Process]] | |
Tags:: #Readwise | |
Newsletter:: [[Newsletter Backlog]] | |
{% if url %}Link:: {{url}}{% endif %} | |
{% if image_url %}![]({{image_url}}){% endif %} | |
# Summary |
I hereby claim:
- I am amine-benselim on github.
- I am aminebenselim (https://keybase.io/aminebenselim) on keybase.
- I have a public key ASDZ8QMEnv5SZz1k4A2xugshGXdF-YjxKXx6FalFeC6ZmAo
To claim this, I am signing this object:
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
<?php ?><!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="<?php bloginfo( 'charset' ); ?>"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="profile" href="http://gmpg.org/xfn/11"> | |
<?php wp_head(); ?> | |
</head> |
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
<?php | |
get_header(); ?> | |
<div id="primary" class="content-area"> | |
<main id="main" class="site-main" role="main"> | |
</main><!-- #main --> | |
</div><!-- #primary --> | |
<?php | |
get_footer(); |
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
{ | |
"name": "wp-react-redux", | |
"version": "0.1.0", | |
"main": "index.js", | |
"license": "MIT", | |
"scripts": { | |
"webpack": " webpack --progress --colors" | |
}, | |
"dependencies": { | |
"axios": "^0.15.3", |
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
var path = require("path"); | |
var webpack = require("webpack"); | |
module.exports = { | |
entry: "./index.js", | |
output: { | |
path: path.join(__dirname, "../js"), | |
filename: "bundle.js" | |
}, | |
module: { |
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 { Route, IndexRoute } from 'react-router'; | |
import Main from './containers/maincontainer'; | |
import Single from './containers/singlecontainer'; | |
import App from './components/app'; | |
import SingleWrapper from './components/singleContain'; | |
import NotFound from './components/404'; | |
export default ( |
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 ReactDOM from 'react-dom'; | |
import { Provider } from 'react-redux'; | |
import { Router, browserHistory } from 'react-router'; | |
import routes from './routes'; | |
import configureStore from './store/configureStore.js'; | |
const store = configureStore({}); | |
ReactDOM.render( |
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 { createStore, applyMiddleware, compose } from "redux"; | |
import reducers from "./../reducers/reducers"; | |
import promise from "redux-promise"; | |
const enhancer = applyMiddleware(promise); | |
export default function configureStore(initialState) { | |
return createStore(rootReducer, initialState, enhancer); | |
} |
NewerOlder