$ sudo apachectl start
$ sudo apachectl stop
$ sudo apachectl -k restart
PHP Switcher Script
function App() { | |
let element = useRoutes([ | |
// These are the same as the props you provide to <Route> | |
{ path: '/', element: <Home /> }, | |
{ path: 'dashboard', element: <Dashboard /> }, | |
{ path: 'invoices', | |
element: <Invoices />, | |
// Nested routes use a children property, which is also | |
// the same as <Route> | |
children: [ |
$ sudo apachectl start
$ sudo apachectl stop
$ sudo apachectl -k restart
PHP Switcher Script
{ | |
"editor.minimap.enabled": false, | |
"editor.fontSize": 15, | |
"editor.tabSize": 2, | |
"terminal.integrated.shell.osx": "/bin/zsh", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"workbench.activityBar.visible": true, | |
"workbench.statusBar.visible": true, | |
"workbench.colorTheme": "One Monokai", |
// https://probablyup.com/markdown-to-jsx/ | |
// npm install -D markdown-to-jsx | |
// yarn add -D markdown-to-jsx | |
import React, { Component } from 'react' | |
import Markdown from 'markdown-to-jsx'; | |
import README from './README.md' | |
class PageComponent extends Component { | |
constructor(props) { |
// npm install --save-dev gulp gulp-jade gulp-stylus gulp-autoprefixer gulp-minify-css gulp-jshint jshint-stylish gulp-uglify gulp-concat gulp-imagemin imagemin-pngcrush gulp-rename gulp-clean gulp-newer gulp-filesize gulp-size gulp-notify browser-sync | |
// GULP DEPENDENCIES & PLUGINS | |
var gulp = require('gulp'), | |
jade = require('gulp-jade'), | |
stylus = require('gulp-stylus'), | |
prefix = require('gulp-autoprefixer'), | |
mincss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
stylish = require('jshint-stylish'), |