Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
from __future__ import print_function
__doc__ = '''This script is designed to make uploads to Gazelle private trackers
easier and faster.
It will:
0. create a torrent file if necessary
2016/11/11 09:22:53 [notice] 1732#1732: signal process started
2016/11/11 09:22:55 [notice] 1748#1748: signal process started
2016/11/11 09:33:32 [error] 1750#1750: *12 directory index of "/usr/share/" is forbidden, client: 108.162.219.124, server: s.example.com, request: "GET / HTTP/1.1", host: "example.com"
2016/11/11 09:35:14 [error] 1750#1750: *20 directory index of "/usr/share/" is forbidden, client: 108.162.219.124, server: s.example.com, request: "GET / HTTP/1.1", host: "example.com"
2016/11/11 09:37:57 [error] 1751#1751: *44 directory index of "/usr/share/" is forbidden, client: 108.162.219.124, server: s.example.com, request: "GET / HTTP/1.1", host: "example.com"
@aivit
aivit / default
Last active November 11, 2016 15:03
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
public function postVendorCreateItems ()
{
$input = Input::all();
$validator = Validator::make($input,
[ 'item_name' => 'max:50',
'normalprice' => 'numeric',
'karmaprice' => 'numeric',
'asin' => 'max:50',
'sizes' => 'max:50',
<form action="contactengine.php" class="appnitro" enctype="text/plain" id=
"form_1133213" method="post" name="form_1133213">
<div class="form_description"></div>
<ul>
<li id="Name">
<label class="description" for="Name">Name</label>
<div>
<input class="element text medium" id="Name" maxlength="255" name="Name"
type="text" value="">
</div>
Notice: Unable to unserialize: [x:i:0;a:10:{i:10;O:31:"Magento\Backend\Model\Menu\Item":12:{s:12:"]. Unknown type 'x'. in on line 0
#0 (): Magento\Framework\App\ErrorHandler->handler()
#1 (): unserialize()
#2 /home/varmag/public_html/shop/vendor/magento/module-backend/Model/Menu/Config.php(137): ArrayObject->unserialize()
#3 /home/varmag/public_html/shop/vendor/magento/module-backend/Model/Menu/Config.php(109): Magento\Backend\Model\Menu\Config->_initMenu()
#4 /home/varmag/public_html/shop/vendor/magento/module-backend/Block/Menu.php(314): Magento\Backend\Model\Menu\Config->getMenu()
#5 /home/varmag/public_html/shop/vendor/magento/module-backend/Model/View/Result/Page.php(61): Magento\Backend\Block\Menu->getMenuModel()
#6 /home/varmag/public_html/shop/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(24): Magento\Backend\Model\View\Result\Page->setActiveMenu()
#7 /home/varmag/public_html/shop/vendor/magento/module-sales/Controller/Adminhtml/Order.php(133): Magento\Backend\Model\View\Resul
<?php
class AccountController extends BaseController {
public function getSignIn(){
return View::make('account.signin');
}
public function postSignIn(){
$validator = Validator::make(Input::all(),
array(
'username' => 'required|max:20|min:3',
'password' => 'required|min:6',
<?php
class AccountController extends BaseController {
public function getCreate(){
return View::make('account.create');
}
public function postCreate(){
$validator = Validator::make(Input::all(),
array(
'email' => 'required|max:50|email|unique:users',
'username' => 'required|max:20|min:3|unique:users',
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>none</const>
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>none</const>