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
Automat==0.6.0 | |
Django==1.7 | |
EasyProcess==0.2.3 | |
PyVirtualDisplay==0.1.5 | |
PyYAML==3.11 | |
Scrapy==0.24.4 | |
Twisted==17.9.0 | |
amqp==1.4.9 | |
anyjson==0.3.3 | |
apconf==0.0.26 |
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 | |
# System Dependencies | |
# sudo apt install fortune cowsay toilet | |
if [[ $(date +%u) -eq 5 ]] ; then | |
MESSAGE='FRIDAY AT APSL' | |
COW_STATUS=`shuf -n1 -e b d g p s t w y` | |
COWFILES=`cowsay -l | grep -v files` | |
COWFILE=`shuf -n1 -e $COWFILES` | |
echo "-- $MESSAGE --" | toilet --gay -f future | |
fortune -s -n 80 fortunes | cowsay -$COW_STATUS -f $COWFILE | toilet --gay -f term |
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
map $http_user_agent $mobile_device { | |
default Desktop; | |
"~*iPad|iPad.*Mobile|^.*Android.*Nexus(((?:(?!Mobile))|(?:(\s(7|10).+))).)*$|SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1010|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P6810|GT-P7501|Kindle|Silk.*Accelerated|xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617|Android.*\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71)\b|Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|Sony\ Tablet|Sony\ Tablet\ S|SGPT12|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT211|SGPT213|EBRD1101| |
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
image: hub.apsl.net/library/gitlab-builder:1033-975f2604 | |
before_script: | |
- docker info | |
stages: | |
- test | |
test: | |
stage: test | |
script: | |
- flake8 . |
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 |
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
#!/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
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
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
{ | |
"thumbor": { | |
"operations": [ | |
{ | |
"top": 316, | |
"right": 1632, | |
"type": "crop", | |
"bottom": 909, | |
"left": 0 | |
}, |
NewerOlder