Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Phil Taylor PhilETaylor

🎯
Focusing
Block or report user

Report or block PhilETaylor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c8722d79f014c07263162b6f362d0e93
34.201.72.165 - - [02/Jul/2019:14:21:30 -0500] "GET /administrator/ HTTP/1.1" 200 2016 "-" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
34.201.72.165 - - [02/Jul/2019:14:21:30 -0500] "POST /administrator/index.php HTTP/1.1" 303 20 "https://refugecountryclub.com/administrator/" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
34.201.72.165 - - [02/Jul/2019:14:21:31 -0500] "GET /administrator/index.php HTTP/1.1" 200 6592 "https://refugecountryclub.com/administrator/" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
34.201.72.165 - - [02/Jul/2019:14:21:33 -0500] "GET /administrator/index.php?option=com_templates HTTP/1.1" 200 8114 "https://refugecountryclub.com/administrator/index.php" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
34.201.72.165 - - [02/Jul/2019:14:21:34 -0500] "GET /administrator/index.php?option=com_templates&view=template&id=10000++ HTTP/1.1" 200 24129 "https://refugecountryclub.com/administrator/index.php?optio
@PhilETaylor
PhilETaylor / sql.sql
Created Jun 20, 2019
myJoomla Speedup SQL
View sql.sql
UPDATE bf_files AS NEWTABLE
INNER JOIN (
SELECT
bf_files_last.filewithpath, bf_files_last.suspectcontent, bf_files_last.falsepositive, bf_files_last.encrypted FROM bf_files_last
LEFT JOIN
bf_files ON bf_files_last.filewithpath = bf_files.filewithpath
WHERE
bf_files_last.currenthash = bf_files.currenthash
AND
bf_files_last.filemtime = bf_files.filemtime
View gist:26e59abfa4a0bd081267ea019795bf04
UPDATE bf_files AS NEWTABLE
INNER JOIN (
SELECT
bf_files_last.filewithpath,
bf_files_last.suspectcontent, bf_files_last.falsepositive,
bf_files_last.encrypted FROM bf_files_last
LEFT JOIN
bf_files ON
bf_files_last.filewithpath = bf_files.filewithpath
WHERE
View gist:e0d106001cd90946111f1c26b2f5049b
Delivered-To: phil@phil-taylor.com
Return-Path: <abler54@lxvm3.neteffx.net>
Delivered-To: phil+spam@phil-taylor.com
Received: from director12.mail.ord1d.rsapps.net ([172.30.191.6])
by backend37.mail.ord1d.rsapps.net with LMTP id cIZhDLUq5VzKUwAAXiPxRA
for <phil+spam@phil-taylor.com>; Wed, 22 May 2019 06:55:49 -0400
Received: from proxy13.mail.ord1d.rsapps.net ([172.30.191.6])
by director12.mail.ord1d.rsapps.net with LMTP id ECR0DLUq5VyJPAAAIasKDg
; Wed, 22 May 2019 06:55:49 -0400
Received: from smtp13.gate.ord1d ([172.30.191.6])
View gist:e60cfb7a07abb49c68fe0be89b90f377
Delivered-To: phil@phil-taylor.com
Return-Path: <seasontickets@seasonticketfinance.com>
Delivered-To: phil+spam@phil-taylor.com
Received: from director9.mail.ord1d.rsapps.net ([172.30.191.6])
by backend37.mail.ord1d.rsapps.net with LMTP id ODxyHg0j5Vz+UQAAXiPxRA
for <phil+spam@phil-taylor.com>; Wed, 22 May 2019 06:23:09 -0400
Received: from proxy11.mail.ord1d.rsapps.net ([172.30.191.6])
by director9.mail.ord1d.rsapps.net with LMTP id 4Ft9Hg0j5VxgTwAAalYnBA
; Wed, 22 May 2019 06:23:09 -0400
Received: from smtp14.gate.ord1d ([172.30.191.6])
View gist:ec09b0909bd721cd233e20d915c40bd4
<?php
/**
* Creates common globals for the rest of WordPress
*
* Sets $pagenow global which is the current page. Checks
* for the browser to set which one is currently being used.
*
* Detects which user environment WordPress is being used on.
* Only attempts to check for Apache and IIS. Two web servers
* with known permalink capability.
View UptimeRobot.php
<?php
/**
* @copyright Copyright (C) 2017, 2018, 2019 Blue Flame Digital Solutions Limited / Phil Taylor. All rights reserved.
* @author Phil Taylor <phil@phil-taylor.com>
*
* @see https://github.com/PhilETaylor/maintain.myjoomla.com
*
* @license Commercial License - Not For Distribution.
*/
View gist:6ec3665e55fb7ccc163ded09109f6c8a
# docker build . --tag registry.myjoomla.com/base-nginx-php
# docker push registry.myjoomla.com/base-nginx-php
FROM alpine:3.8
MAINTAINER Phil Taylor <phil@phil-taylor.com>
# PHP 7.3 Repos
#ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
ADD https://php.codecasts.rocks/php-alpine.rsa.pub /etc/apk/keys/php-alpine.rsa.pub
View gist:0ac7fab73ff3ba042fcaec0bebdbf0fc
<!DOCTYPE html> <html lang="en" dir="ltr" data-cast-api-enabled="true">
<head><meta name="viewport" content="width=device-width, initial-scale=1"><style name="www-roboto" >@font-face{font-family:'Roboto';font-style:italic;font-weight:500;src:local('Roboto Medium Italic'),local('Roboto-MediumItalic'),url(//fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51S7ACc3CsTYl4BOQ3o.woff2)format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:italic;font-weight:500;src:local('Roboto Medium Italic'),local('Roboto-MediumItalic'),url(//fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51S7ACc-CsTYl4BOQ3o.woff2)format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}@font-face{font-family:'Roboto';font-style:italic;font-weight:500;src:local('Roboto Medium Italic'),local('Roboto-MediumItalic'),url(//fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51S7ACc2CsTYl4BOQ3o.woff2)format('woff2');unicode-range:U+1F00-1FFF;}@font-face{
View gist:e429c9c03a14275269371d6eaddb200b
[2018-12-18 12:56:20] api-debugger.INFO: >>>>>>>>
POST /plugins/system/bfnetwork/bfnetwork/bfPing.php HTTP/1.1
Content-Length: 953
Referer: https://myjoomla.com/
User-Agent: myJoomla/2.0 (myJoomla.com)
Accept: application/json
X-MyJoomla-FAQ: For full details see myJoomla.com or email phil@phil-taylor.com
Content-Type: application/x-www-form-urlencoded
Host: tfdwork.nl
X-MYJOOMLA-HMAC: 9KYYj/jn6nvNAmtVYsn5x80wkh18huZZkDr3wqrkn9k=
You can’t perform that action at this time.