Skip to content

Instantly share code, notes, and snippets.

View avances123's full-sized avatar
🏠
Working from home

Fabio Rueda avances123

🏠
Working from home
View GitHub Profile
<form method="post" action="" id="commentform">{% csrf_token %}
<input type="text" name="username" id="author" value tabindex="1"/>
<label for="username">Usuario</label>
<br>
<input type="text" name="email" id="email" value tabindex="2"/>
<label for="email">Email</label>
<br>
<input type="password" name="password1" id="author" value tabindex="3"/>
<label for="password1">Password</label>
<br>
<script>
var map = new L.Map('map');
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/22677/256/{z}/{x}/{y}.png',
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18});
map.setView(new L.LatLng(-68,3391903,-34,6345735), 1).addLayer(cloudmade);
var geojsonLayer = new L.GeoJSON(null, {
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking www.mathyux.com (be patient).....done
Server Software: Apache
Server Hostname: www.mathyux.com
Server Port: 80
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking www.mathyux.com (be patient).....done
Server Software: Apache
Server Hostname: www.mathyux.com
Server Port: 80
Jun 16 21:12:41 localhost postfix/smtp[5550]: 6040642053: to=<euclydex@mathyux.com>, relay=mx2.sub4.homie.mail.dreamhost.com[208.97.132.227]:25, delay=1.5, delays=0.02/0.01/1.3/0.2, dsn=5.5.2, status=bounced (host mx2.sub4.homie.mail.dreamhost.com[208.97.132.227] said: 504 5.5.2 <webmaster@localhost>: Sender address rejected: need fully-qualified address (in reply to RCPT TO command))
url(r'^users/(?P<slug>[\w-]+)/$', DetailView.as_view(
model=User,
template_name='users/user_detail.html',
slug_field = 'username')),
# -*- encoding: utf-8 -*-
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'gist'
Gem::Specification.new do |s|
s.name = "gist"
s.version = Gist::Version.to_s
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "Creates Gists from STDIN or files."
server {
listen 80;
#server_name 176.34.231.101;
server_name truequing.dyndns.org;
access_log /home/produccion/truequing/logs/access.log;
error_log /home/produccion/truequing/logs/error.log;
location /media {
root /home/produccion/truequing/;
Index: lib/OmniPITR/Program/Archive.pm
===================================================================
--- lib/OmniPITR/Program/Archive.pm (revisión: 229)
+++ lib/OmniPITR/Program/Archive.pm (copia de trabajo)
@@ -80,7 +80,12 @@
$self->log->error( "Sending segment %s to backup destination %s generated (ignored) error: %s", $local_file, $destination_file_path, $response );
}
else {
- $self->log->fatal( "Cannot send segment %s to %s : %s", $local_file, $destination_file_path, $response );
+ if ( $destination_type eq 'remote' ) {