Skip to content

Instantly share code, notes, and snippets.

View aminbenselim's full-sized avatar

Amin Benselim aminbenselim

View GitHub Profile
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

Keybase proof

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:

<?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>
<?php
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();
{
"name": "wp-react-redux",
"version": "0.1.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"webpack": " webpack --progress --colors"
},
"dependencies": {
"axios": "^0.15.3",
var path = require("path");
var webpack = require("webpack");
module.exports = {
entry: "./index.js",
output: {
path: path.join(__dirname, "../js"),
filename: "bundle.js"
},
module: {
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 (
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(
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);
}