The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.
It's as simple as downloading and installing the latest client:
The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.
It's as simple as downloading and installing the latest client:
/** | |
* Requirements: | |
* - jQuery (http://jquery.com/) | |
* - DataTables (http://datatables.net/) | |
* - BootboxJS (http://bootboxjs.com/) | |
* --------------------------------------------------------------------------- | |
* Credits to https://gist.github.com/flackend/9517696 | |
* --------------------------------------------------------------------------- | |
* This monitors all AJAX calls that have an error response. If a user's | |
* session has expired, then the system will return a 401 status, |
#Laravel 5 Simple ACL manager
Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.
If the user has a 'Root' role, then they can perform any actions.
Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php
<?php | |
/** | |
* WooCommerce Ajax Handlers | |
* | |
* Handles AJAX requests via wp_ajax hook (both admin and front-end events) | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
/** Frontend AJAX events **************************************************/ |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This gist assumes:
www-data
(may be apache
on other systems)// html | |
<div>This is my post</div> | |
<!-- Just put this div at the bottom of your template somewhere--> | |
<!-- Notice that its hidden by default, so if it doesnt get used, thats fine--> | |
<div class="modal hide"></div> | |
//JS | |
$.ajax({ | |
type: 'post', // or post? |
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"></script><link rel='stylesheet' href='styles.css' type='text/css' media='all' /> |
This gist assumes: