Load network block device module:
# modprobe nbd max_part=8
Poweroff machine:
# virsh destroy virtual-machine
#python code | |
import frida | |
import time | |
#========= INIT ============ | |
_PACKAGE_ = "com.product.name" | |
_HOOKINGSCRIPT_ = "hooking_script.js" | |
def on_message(message, data): |
import frida | |
import sys,os | |
#frida 12.5.7 | |
device = frida.get_usb_device() | |
pid = device.spawn(["com.ylc2.qp.Pokermate"]) | |
session = device.attach(pid) | |
device.resume(pid) | |
# rdev = frida.get_remote_device() |
<?php if( ! defined( 'ABSPATH' ) ) { die(); } | |
/** | |
* Plugin Name: Disable Attachment Pages | |
* Plugin URI: https://gschoppe.com/wordpress/disable-attachment-pages | |
* Description: Completely disable attachment pages the right way. No forced redirects or 404s, no reserved slugs. | |
* Author: Greg Schoppe | |
* Author URI: https://gschoppe.com/ | |
* Version: 1.0.0 | |
**/ |
<?php | |
/** | |
* @package Custom_queries | |
* @version 1.0 | |
*/ | |
/* | |
Plugin Name: Custom queries | |
Plugin URI: http://wordpress.org/extend/plugins/# | |
Description: This is an example plugin | |
Author: Carlo Daniele |
Result: 1 | |
Items { | |
TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
Badge { | |
BadgeType: BADGE_BATTLE_ATTACK_WON | |
BadgeRanks: 4 | |
Targets: "\nd\350\007" | |
} | |
} | |
Items { |
var ajaxReqs = 0; | |
var ajaxQueue = []; | |
var ajaxActive = 0; | |
var ajaxMaxConc = 3; | |
function addAjax(obj) { | |
ajaxReqs++; | |
var oldSuccess = obj.success; | |
var oldError = obj.error; | |
var callback = function() { | |
ajaxReqs--; |
#!/bin/bash | |
# Install Spark on CentOS 7 | |
yum install java -y | |
java -version | |
yum install wget -y | |
wget http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz | |
tar xvf scala-2.11.7.tgz | |
sudo mv scala-2.11.7 /usr/lib | |
sudo ln -s /usr/lib/scala-2.11.7 /usr/lib/scala |
#!/usr/bin/env bash | |
# | |
## Install s3ql on centos 7 machine | |
### https://bitbucket.org/nikratio/s3ql/ | |
# yum packages | |
sudo yum install -y epel-release | |
sudo yum install -y \ | |
bzip2 \ | |
fuse \ | |
fuse-devel \ |
<?php | |
// Here is a sample of the URLs this regex matches: (there can be more content after the given URL that will be ignored) | |
// http://youtu.be/dQw4w9WgXcQ | |
// http://www.youtube.com/embed/dQw4w9WgXcQ | |
// http://www.youtube.com/watch?v=dQw4w9WgXcQ | |
// http://www.youtube.com/?v=dQw4w9WgXcQ | |
// http://www.youtube.com/v/dQw4w9WgXcQ | |
// http://www.youtube.com/e/dQw4w9WgXcQ | |
// http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcQ |