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:
arn=arn:aws:sns:... | |
p12=/path/to.p12 | |
aws sns set-platform-application-attributes --platform-application-arn "$arn" --attributes PlatformCredential="\"$(openssl pkcs12 -in "$p12" -nodes -nocerts)\"",PlatformPrincipal="\"$(openssl pkcs12 -in "$p12" -nodes -nokeys)\"" |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
<?php | |
//============ ============ ============ ============ | |
// Convert html table to aray | |
// | |
// @auth: ViHoangSon | |
// @since: 20160704092752 | |
// | |
// Using: | |
// $contents = "<table><tr><td>Row 1 Column 1</td><td>Row 1 Column 2</td></tr><tr><td>Row 2 Column 1</td><td>Row 2 Column 2</td></tr></table>"; | |
// $array = ConvertHelper::getdata($contents); |
# wp-secure.conf | |
# | |
# | |
# This file includes common security considerations for wordpress using nginx. | |
# | |
# The goal is to block actions which are usually dangerous to wordpress. | |
# Additionally, we block direct access to PHP files and folders which should not | |
# be accessed directly from a browser. | |
# | |
# Also have included exceptions for plugins that are known to require this access. |
from django.contrib import admin | |
from django.contrib.auth.admin import UserAdmin | |
from django.utils.translation import ugettext_lazy as _ | |
from .models import User | |
class CustomUserAdmin(UserAdmin): | |
fieldsets = ( | |
(None, {'fields': ('email', 'password')}), |
// Create mailable, e.g. MailableTest | |
php artisan make:mail MailableTest --markdown=emails.mailable-test | |
// Run horizon or queue worker | |
// Open tinker | |
$mailable = (new \App\Mail\MailableTest())->onQueue('queue-name'); | |
Mail::to('somemail@example.com')->send($mailable); |
<?php | |
namespace App\Http\Livewire\Components; | |
use Livewire\Component; | |
class PdfViewer extends Component | |
{ | |
public $openModal = false; | |
public $titleModal = "PDF Viewer"; |
import '~tabler/dist/js/tabler.min.js'; | |
import './bootstrap'; | |
import '../sass/app.scss'; |