Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
Hi | |
I hope this helps you all get started with phonegap and sqlite in your | |
application | |
Dean-O | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> |
UPDATE table_name SET bDeleted=0 WHERE name='xyz'; | |
“You are using safe update mode and you tried to update a table without a WHERE clause that uses a KEY column.” | |
SET SQL_SAFE_UPDATES=0; | |
UPDATE table_name SET bDeleted=0 WHERE name='xyz'; | |
SET SQL_SAFE_UPDATES=1; | |
#http://www.xpertdeveloper.com/2011/10/mysql-safe-update/ |
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<defaultDocument> | |
<files> | |
<clear /> | |
<add value="index.php" /> | |
</files> | |
</defaultDocument> | |
<rewrite> |
From terminal: | |
1: yum install epel* | |
2: yum update / yum upgrade | |
3: Add repo source | |
- CentOS and Red Hat Enterprise Linux 6.x | |
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
sudo rpm -Uvh remi-release-6*.rpm |
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.
<?php | |
// Replace EMAIL/API_KEY/ZONE_ID with your details. | |
// Zone ID is on the dashboard for the domain in the bottom right. | |
// Api keys are generated from the account settings. You must give cache purge permissions | |
// Place this script on your webserver and point a Github Webhook at it, and you'll clear | |
// the Cloudflare cache every time you do a push to GH. | |
$zoneId = "xxx"; | |
$apiKey = "xxx"; | |
$email = "xxx"; |