In your command-line run the following commands:
brew doctor
brew update
FROM php:7.2.6-apache | |
RUN docker-php-ext-install mysqli |
/* | |
* Usage: | |
* const AppProvider = createProvider(rootReducer, rootSaga); | |
* ... | |
* <AppProvider> | |
* <AppComponent> | |
* </AppProvider> | |
*/ | |
const createProvider = (reducer, saga) => { | |
const sagaMiddleware = createSagaMiddleware(); |
import express from "express"; | |
import path from "path"; | |
import React from "react"; | |
import { renderToString } from "react-dom/server"; | |
import Layout from "./components/Layout"; | |
const app = express(); | |
app.use( express.static( path.resolve( __dirname, "../dist" ) ) ); |
javascript:(function(){window.rl = window.rl || []; function rlfunc() { $('span.message_sender, a.member').each(function (i, j) { for (var i = 0; i < window.rl.length; i++) { var re = new RegExp(rl[i], "ig"); if (j.className.match(re) || j.textContent.match(re)) { j.closest('ts-message').remove(); console.log('removing', re); } else { console.log('no match', re, j.className); } } } ) } var u = prompt('user partial'); if (u != null) { window.rl.push(u); console.log(window.rl); rlfunc() }; $('body').remove('DOMSubtreeModified', rlfunc()); $('body').on('DOMSubtreeModified', rlfunc());})(); |
In your command-line run the following commands:
brew doctor
brew update
$('#input').on('keyup', function() { | |
// do an ajax save when this input is changed | |
var val = this.value; | |
// clear the timeout so we dont fire in succession | |
clearTimeout(this.delayer); | |
this.delayer = setTimeout(function () { | |
console.log(val); | |
}, 500); | |
}); |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
server { | |
listen 80; | |
server_name localhost; | |
root /Users/YOUR_USERNAME/Sites; | |
access_log /Library/Logs/default.access.log main; | |
location / { | |
include /usr/local/etc/nginx/conf.d/php-fpm; | |
} |
#MongoDB 3.2.x Security
##Network Ports The standard ports used by mongo are:
Process | Role | Default Port |
---|