Will do a backup of all the databases and for the following folders
- /etc/
- /var/www/
- /var/spool/cron/
Hello dear P5 Mind,
Let's start a new P5 adventure, and call it simple P5 Codding Flashmob. There are 4 basic 'principles': 1. Fast result values most 2. Codding is learning 3. Being second means being better than third 4. Production is never impacted
'Event axioms': 1. It is a Friday event
[color] | |
ui = true | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold |
#!/bin/bash | |
# Before using the script, run : | |
# sudo apt-get install build-essential libcurl4-openssl-dev libc-client2007e-dev | |
# sudo apt-get install libsqlite3-dev sqlite3 mysql-server libmysqlclient-dev libreadline-dev libzip-dev libxslt1-dev libedit-dev | |
# sudo apt-get install libicu-dev libmcrypt-dev libmhash-dev libpcre3-dev libjpeg-dev libpng12-dev libfreetype6-dev libbz2-dev libxpm-dev | |
# Sources : /usr/local/src/php5-build | |
# usage - build_php.sh 5.6.18 |
var s=document.createElement('script'); | |
s.setAttribute('src','https://code.jquery.com/jquery.js'); | |
document.getElementsByTagName('body')[0].appendChild(s); | |
var issues = {}; | |
(function($){ | |
var issuetable = jQuery('#issuetable'); | |
issuetable.find('tbody > .issuerow').each(function() { | |
var $row = jQuery(this); |
<?php | |
function filter_plugin_updates( $value ) { | |
unset( $value->response['wp-popup-magic/wp-popup-magic.php'] ); | |
return $value; | |
} | |
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' ); |
<?php | |
$upgrading = time() + 100; | |
?> |
$(function () { | |
//setup an array of AJAX options, each object is an index that will specify information for a single AJAX request | |
var ajaxes = [{ url : '<url>', dataType : 'json' }, { url : '<url2>', dataType : 'xml' }], | |
current = 0; | |
//declare your function to run AJAX requests | |
function do_ajax() { | |
//check to make sure there are more requests to make | |
if (current < ajaxes.length) { |
<?php | |
/** | |
* Usage: | |
* php rm-attack.php [pattern] [directory] | |
* | |
* php rm-attack.php '<?php $ctddbnvbtj' . | |
* | |
* At the end, a report file './report.log' will be generated with the list of files that were modified | |
*/ |