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
// File: /packages/my-first-theme/src/components/index.js | |
// ... | |
import Post from "./post" | |
const Root = ({ state }) => { | |
const data = state.source.get(state.router.link) | |
return ( | |
<> |
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": "react tut", | |
"version": "0.0.1", | |
"description": "Steps towards a more sufficient build pipeline", | |
"main": "index.js", | |
"watch": { | |
"sass": { | |
"patterns": [ | |
"./src/sass" | |
], |
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
;; -*- mode: emacs-lisp; lexical-binding: t -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Layer configuration: | |
This function should only modify configuration layer settings." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory | |
;; `+distribution'. For now available distributions are `spacemacs-base' |
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
(set-default '((js-mode (javascript-backend . lsp))) ((js2-mode (javascript-backend . lsp)))) | |
(progn (set-default 'dotspacemacs-distribution 'spacemacs) (set-default 'dotspacemacs-enable-lazy-installation 'unused) (set-default 'dotspacemacs-ask-for-lazy-installation t) (set-default 'dotspacemacs-configuration-layer-path 'nil) (set-default 'dotspacemacs-configuration-layers '(html javascript auto-completion emacs-lisp git helm dap lsp javascript multiple-cursors treemacs)) (set-default '((js-mode (javascript-backend . lsp))) ((js2-mode (javascript-backend . lsp)))) (set-default 'dotspacemacs-additional-packages 'nil) (set-default 'dotspacemacs-frozen-packages 'nil) (set-default 'dotspacemacs-excluded-packages 'nil) (set-default 'dotspacemacs-install-packages 'used-only)) | |
(closure (t) nil "Layer configuration:\nThis function should only mod..." (progn (set-default 'dotspacemacs-distribution 'spacemacs) (set-default 'dotspacemacs-enable-lazy-installation 'unused) (set-default 'dotspacemacs-ask-for-lazy-insta |
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": "react-fundamentals", | |
"version": "0.1.0", | |
"description": "playing with react stuff", | |
"main": "index.js", | |
"watch": { | |
"sass": { | |
"patterns": [ | |
"./src/sass/" |
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
<VirtualHost *:80> | |
DocumentRoot /var/www/mysitelocaldev | |
Servername rateyourlandlord.localdev | |
<Directory /var/www/mysite.localdev> | |
AllowOverride none | |
FallbackResource /index.php | |
Require all granted |
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
let billionaires = [ | |
{ name : 'Bill Gates', email : '[email protected]' }, | |
{ name : 'Jeff Bezos', email : '[email protected]' }, | |
{name : 'Mark Zuckerberg', email : '[email protected]'} | |
] | |
function List(i) { | |
return( | |
<ul> |