This document has now been incorporated into the uWSGI documentation:
http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Steps with explanations to set up a server using:
<?php | |
class ControllerPaymentpayge extends Controller { | |
protected function index() { | |
$this->load->model('checkout/order'); | |
$this->language->load('payment/payge'); | |
$this->data['button_confirm'] = $this->language->get('button_confirm'); | |
<?//************************************************** | |
//**************************************************?> | |
<form action="<?php echo $action; ?>" method="post" id="payment"> | |
<input type="hidden" name="merchant" value="კოდი"/> | |
<input type="hidden" name="ordercode" value="<?php echo $order; ?>"/> | |
<input type="hidden" name="amount" value="<?php echo $amount; ?>"/> | |
<input type="hidden" name="currency" value="GEL"/> | |
<input type="hidden" name="description" value="<?php echo $description; ?>"/> | |
<input type="hidden" name="clientname" value="<?php echo $clientname; ?>"/> |
#!/usr/bin/perl | |
######################################### | |
# Fierce v0.9.9 - Beta 03/24/2007 | |
# By RSnake http://ha.ckers.org/fierce/ | |
# Threading and additions by IceShaman | |
######################################### | |
use strict; | |
use Net::hostent; |
<?php | |
if(isset($_GET['lat'])) { | |
$lat = trim($_GET['lat']); | |
} | |
if(isset($_GET['lon'])) { | |
$lon = trim($_GET['lon']); | |
} | |
if(isset($_GET['acc'])) { | |
$acc = trim($_GET['acc']); |
<?php | |
if(isset($_GET['lat'])) { | |
$lat = trim($_GET['lat']); | |
} | |
if(isset($_GET['lon'])) { | |
$lon = trim($_GET['lon']); | |
} | |
if(isset($_GET['acc'])) { | |
$acc = trim($_GET['acc']); |
# definition of an Infix operator class | |
# this recipe also works in jython | |
# calling sequence for the infix is either: | |
# x |op| y | |
# or: | |
# x <<op>> y | |
class Infix: | |
def __init__(self, function): | |
self.function = function |
#! /usr/bin/env python | |
import fileinput | |
import argparse | |
from operator import itemgetter | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--target-mb', action = 'store', dest = 'target_mb', default = 61000, type = int) | |
parser.add_argument('vmtouch_output_file', action = 'store', nargs = '+') | |
args = parser.parse_args() |
import requests | |
nList= [] | |
nProxL = '' | |
file = open('proxy.txt') | |
for line in file: | |
try: | |
aproxy = line.strip('\n') | |
user_agent = {'User-agent': 'Mozilla/5.0'} | |
print aproxy | |
proxies = { |