- GIMP version number: 3.0.4
- Package: Installer from gimp.org
- Operating System: Windows
- (if Linux) Display system:
This file contains hidden or 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
[ | |
{ | |
"Hassaku XL": { | |
"clip_skip": 2 | |
}, | |
"ICBINP XL": { | |
"clip_skip": 2 | |
}, | |
"Pony Diffusion XL": { | |
"clip_skip": 2 |
This file contains hidden or 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 | |
# This script grabs a screenshot both from aiqcn and iboca in order to make a daily snapshot of the service | |
# Feel free to suggest improvements, or clone it and make it happen in your own server | |
# thanks to the kind service in the free tier provided by https://api.browshot.com | |
# No warranties and make sure you get people to know that we should be able to see what are we breathing | |
curl -L "https://api.browshot.com/api/v1/simple?url=https://aqicn.org/map/bogota/&key=$BROWSHOT_KEY" -o $PATH_PUBLIC_CANAIRIO/canairio-$(TZ='America/Bogota' date +"%Y%m%d%H%M%S")-aiqcn.png | |
curl -L "https://api.browshot.com/api/v1/simple?url=http://iboca.ambientebogota.gov.co/mapa&key=$BROWSHOT_KEY" -o $PATH_PUBLIC_CANAIRIO/canairio-$(TZ='America/Bogota' date +"%Y%m%d%H%M%S")-iboca.png |
This file contains hidden or 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 | |
if ! grep 205 /etc/resolv.conf; then | |
sed -i '1s;^;nameserver 192.168.1.205\n;' /etc/resolv.conf | |
fi |
This file contains hidden or 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 | |
# Creates a file for clients, just put the name of the cert and answer y to every question | |
# Based on https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-debian-8 | |
if [ $# -ne 1 ]; then | |
echo $'Make sure you put a name for your new client i.e.:\n' | |
echo " $0 loginandroid" | |
echo $'' | |
exit 1 | |
fi |
I hereby claim:
- I am ikks on github.
- I am ikks (https://keybase.io/ikks) on keybase.
- I have a public key whose fingerprint is 945E DEC4 FC3F 24EF 0010 FAEF 1639 E257 4A34 A7EC
To claim this, I am signing this object:
This file contains hidden or 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
digraph ciclovida { | |
d -> v; | |
c -> e; | |
o -> i1; | |
i3 -> m [label = "error"]; | |
v -> o [label = "Confirma"]; | |
e -> o [label = "ok"]; |
This file contains hidden or 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
digraph G { | |
rankdir=LR | |
subgraph cluster_2 { | |
label="Cambio de Estado de Pedido - POST" | |
a3 -> p3 [label="1. Informa cambio estado"] | |
p3 -> a3 [label="2. Resultado"] | |
} | |
subgraph cluster_1 { | |
label="Confirmación Almacenamiento - POST" | |
a2 -> p2 [label="1. Informa confirmación"] |
This file contains hidden or 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
def encode_string_with_links(tweet): | |
"""Only used by the get tweets task | |
""" | |
MENTION_REGEX = re.compile(r'''(@(\w{1,15}\b))''', re.UNICODE) | |
HASHTAG_REGEX = re.compile(r'''(#(\w{1,30}\b))''', re.UNICODE) | |
URL_REGEX = re.compile(r'''((https://|http://)[^ <>'"{}|\\^`[\]]*)''') | |
text = tweet['text'].replace('\n', ' ') | |
if text.endswith(u'\u2026'): | |
# If we ended with ..., then we have to check if we have an image |
This file contains hidden or 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
import hashlib | |
def payu_rounder(value): | |
u"""value is a unicode, returns the round according to Payu documentation | |
to be used by confirmationUrl | |
>>> payu_rounder(u'150.25') | |
u'150.2' | |
>>> payu_rounder(u'150.35') | |
u'150.4' | |
>>> payu_rounder(u'150.34') |
NewerOlder