This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wed Oct 29 14:56:10 2014 - *** /var/pywww/htv/htv.reload has been touched... grace them all !!! *** | |
Wed Oct 29 14:56:10 2014 - ...gracefully killing workers... | |
Wed Oct 29 14:56:10 2014 - Gracefully killing worker 5 (pid: 31432)... | |
Wed Oct 29 14:56:10 2014 - Gracefully killing worker 1 (pid: 31428)... | |
Wed Oct 29 14:56:10 2014 - Gracefully killing worker 4 (pid: 25261)... | |
Wed Oct 29 14:56:10 2014 - Gracefully killing worker 2 (pid: 31429)... | |
Wed Oct 29 14:56:10 2014 - Gracefully killing worker 3 (pid: 31430)... | |
Wed Oct 29 14:56:10 2014 - Gracefully killing worker 8 (pid: 10814)... | |
Wed Oct 29 14:56:10 2014 - Gracefully killing worker 6 (pid: 31433)... | |
Wed Oct 29 14:56:10 2014 - Gracefully killing worker 9 (pid: 8630)... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Upgrade libc6 for security problem GHOST on ubuntu 11.10 | |
# We are using the ubuntu packages from the 12.04 and installing by hand | |
wget http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-bin_2.15-0ubuntu10.10_amd64.deb | |
wget http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu10.10_amd64.deb | |
wget http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.15-0ubuntu10.10_amd64.deb | |
wget http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.15-0ubuntu10.10_amd64.deb | |
dpkg -i libc-bin_2.15-0ubuntu10.10_amd64.deb | |
dpkg -i libc6_2.15-0ubuntu10.10_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d5dd6189d506068ed11c8bfa1e1e9bffde04decd Mon Sep 17 00:00:00 2001 | |
From: Andreas Schwab <[email protected]> | |
Date: Mon, 21 Jan 2013 17:41:28 +0100 | |
Subject: [PATCH] Fix parsing of numeric hosts in gethostbyname_r | |
--- | |
ChangeLog | 14 +++++++++ | |
NEWS | 12 ++++---- | |
nss/Makefile | 2 +- | |
nss/digits_dots.c | 73 +++++++++++++---------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update libc6 on Debian 5 lenny, compiling with a patch from the deb code | |
# Note: This script is not tested, writed to preserve the procedure, be careful. | |
# Get the package source | |
apt-get update && apt-get source libc6; apt-get build-dep libc6 | |
# Patch it | |
wget https://gist.githubusercontent.com/eduherraiz/ea6884ca90622dede558/raw/87e14d4280f2d75f77f17e26d6cd8b4e0237f015/cve-2015-0235-lenny.diff --no-check-certificate -O glibc-2.7/debian/patches/all/cve-2015-0235-lenny.diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"thumbor": { | |
"operations": [ | |
{ | |
"top": 316, | |
"right": 1632, | |
"type": "crop", | |
"bottom": 909, | |
"left": 0 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream thumbor { | |
server 127.0.0.1:8090; | |
server 127.0.0.1:8091; | |
server 127.0.0.1:8092; | |
server 127.0.0.1:8093; | |
} | |
server { | |
listen 80; | |
server_name thumbor.domain.com; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-11-18 15:11:07.033 GMT [564c9379.4621]: [2-1] LOG: process 17953 still waiting for ShareLock on transaction 1100010 after 1000.076 ms | |
2015-11-18 15:11:07.033 GMT [564c9379.4621]: [3-1] STATEMENT: UPDATE "zerver_usermessage" SET "flags" = ("zerver_usermessage"."flags" | 1) WHERE ("zerver_usermessage"."message_id" IN (6341, 6342, 6343) AND "zerver_usermessage"."user_profile_id" = 14 AND "zerver_usermessage"."flags" | -2 = -2) | |
2015-11-18 15:11:28.918 GMT [564c92d4.43b2]: [1-1] LOG: process 17330 still waiting for ShareLock on transaction 1100011 after 1000.121 ms | |
2015-11-18 15:11:28.919 GMT [564c92d4.43b2]: [2-1] STATEMENT: UPDATE "django_session" SET "session_data" = 'NmRmMjYxYTM1MzVhZTE1OTRlNzlmZTg0MzE0YjI5OWY2OTllOGNhMjp7Il9hdXRoX3VzZXJfaGFzaCI6IjRkOGRlYWMxMWY5MWM5ZWNlNjhlNjc1ZGE5NWI2NTQzYTZjZjhhNjQiLCJfYXV0aF91c2VyX2lkIjoiMTQiLCJfYXV0aF91c2VyX2JhY2tlbmQiOiJ6cHJvamVjdC5iYWNrZW5kcy5FbWFpbEF1dGhCYWNrZW5kIn0=', "expire_date" = '2015-12-02T15:11:27.917714+00:00'::timestamptz WHERE "django_session"."ses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#for i in `wmctrl -l |grep Konsole| awk '{print $1}'` | |
#do | |
# wmctrl -i -a $i | |
#done | |
#filename:toggleWindow | |
#Written by bbq | |
#Mon Apr 16 20:04:12 CST 2012 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
La instalación del paquete de ubuntu dió problemas en la instalación. | |
Para solucionarlo, una vez que falla la ejecución del apt-get install hay que hacer: | |
1. Borrar el entorno virtual creado en /opt/vaultier/venv | |
2. Crearlo con: virtualenv venv | |
3. Activarlo con: source /opt/vaultier/venv/bin/activate | |
4. Instalar los requirements que dejo en este directorio o si no aquí: https://gist.github.com/eduherraiz/4271b521dc74be7c2850 | |
5. Seguir la instalación del paquete con: dpkg --configure -a | |
- Revisar Configure de nginx y demás (certificados, etc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------- | |
# PostgreSQL configuration file | |
# ----------------------------- | |
# | |
# This file consists of lines of the form: | |
# | |
# name = value | |
# | |
# (The "=" is optional.) Whitespace may be used. Comments are introduced with | |
# "#" anywhere on a line. The complete list of parameter names and allowed |