- create user and password
mysql> CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
- Grant privilege to all dbs
mysql> GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
#!/usr/bin/python | |
import sys | |
import struct | |
import argparse | |
def swap32(i): | |
return struct.unpack("<I", struct.pack(">I", i))[0] | |
filename = None |
mysql> CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
## How to install mcrypt in php7.2 | |
## | |
## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
## | |
# | |
# Check version php and pecl | |
# | |
php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |
Note: This was originally contributed by @mdunisch, @webintoit, and @cwramsey.
It may be moved back on to the Sails website at a future date; I'm just removing it until there's time to break down the "Hosting" section into individual pages. (If anyone's interested in helping w/ that, please send a PR to sails-docs!)
-mike
To deploy to OpenShift, you'll need to make some minor modifications to your configuration:
Running into the same issue here after upgrading from 0.44. None of the above solutions or clearing caches did the trick for me. Here's what I did to get things working again:
In the Terminal, navigate to the react-native/third-party/glog folder inside node_modules (for me, this was cd node_modules/react-native/third-party/glog-0.3.4) Once actively in this folder, run ../../scripts/ios-configure-glog.sh Glog is configured and the required config.h header file is created for Xcode to find
sudo apt update
sudo apt install mysql-server apache2 libapache2-mod-php7.2 mysql-server apache2 libapache2-mod-php7.2 php7.2 python-mysqldb php7.2 php7.2-bcmath php7.2-bz2 php7.2-cgi php7.2-cli php7.2-common php7.2-curl php7.2-dba php7.2-enchant php7.2-fpm php7.2-gd php7.2-gmp php7.2-interbase php7.2-intl php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-odbc php7.2-opcache php7.2-pgsql php7.2-pspell php7.2-readline php7.2-recode php7.2-snmp php7.2-soap php7.2-sqlite3 php7.2-sybase php7.2-tidy php7.2-xml php7.2-xmlrpc php7.2-xsl php7.2-zip python-beautifulsoup python-lxml -y
Django 2.0 | |
You can try this in your settings.py, MIDDLEWARE_CLASSES = [....]: | |
Change MIDDLEWARE_CLASSES=[...] to MIDDLEWARE=[...] | |
Remove SessionAuthenticationMiddleware from the MIDDLEWARE=[...] list. | |
The MIDDLEWARE_CLASSES setting is deprecated in Django 1.10, and removed in Django 2.0. |
#! /usr/bin/env ruby | |
# NOTE: Requires Ruby 2.1 or greater. | |
# This script can be used to parse and dump the information from | |
# the 'html/contact_info.htm' file in a Facebook user data ZIP download. | |
# | |
# It prints all cell phone call + SMS message + MMS records, plus a summary of each. | |
# | |
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created |
<html> | |
<head></head> | |
<body> | |
<div class="noticia">CARGANDO</div> | |
<script src="https://code.jquery.com/jquery-3.1.0.js"></script> | |
<script> | |
$(function(){ | |
var url = 'https://noticias.cumplo.cl/index.xml'; | |
var news = $('.noticia'); |
wp-login.php
add define('CONCATENATE_SCRIPTS', false);
after the <?php
wp-admin/load-scripts
. Replace require( ABSPATH . WPINC . '/script-loader.php' );
with require( ABSPATH . 'wp-admin/admin.php' );
wp-admin/load-styles.php
. Replace require( ABSPATH . WPINC . '/script-loader.php' );
with require( ABSPATH . 'wp-admin/admin.php' );
wp-admin/includes/noop.php
, Replace the entire content withphp