I hereby claim:
- I am jkfran on github.
- I am jkfran (https://keybase.io/jkfran) on keybase.
- I have a public key whose fingerprint is F1CC DD2C 0EED 5BBD 3E98 D5BD 5478 6D23 B613 D1FE
To claim this, I am signing this object:
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: ubuntu | |
labels: | |
app: ubuntu | |
spec: | |
containers: | |
- image: ubuntu | |
command: |
import os | |
import json | |
import tempfile | |
from langchain.document_loaders import GoogleDriveLoader | |
# Load service account key from environment variable | |
service_account_data = json.loads(os.getenv("GOOGLE_SERVICE_ACCOUNT")) | |
# Create a temporary file and write the service account data to it | |
with tempfile.NamedTemporaryFile(mode="w+", suffix=".json", delete=False) as temp_file: |
bitcoin | |
Britney Spears | |
catalan | |
catalonia | |
cataluña | |
catalunya | |
coronavirus | |
COVID | |
covid-19 | |
covid19 |
/* | |
Go on your labels page (https://github.com/user/repo/labels) | |
Edit the following label array | |
or | |
Use this snippet to export github labels (https://gist.github.com/MoOx/93c2853fee760f42d97f) | |
and replace it | |
Paste this script in your console | |
Press Enter!! |
// go on you labels pages | |
// eg https://github.com/cssnext/cssnext/labels | |
// paste this script in your console | |
// copy the output and now you can import it using https://github.com/popomore/github-labels ! | |
var labels = []; | |
[].slice.call(document.querySelectorAll(".js-label-link")) | |
.forEach(function(element) { | |
labels.push({ | |
name: element.textContent.trim(), |
#! /usr/bin/env bash | |
# Bash strict mode | |
set -euo pipefail | |
# Remove older log file | |
if [[ -f ./diff.log ]]; then | |
rm ./diff.log | |
fi |
function scrollToBottom(){ | |
bottom = document.body.scrollHeight; | |
current = window.innerHeight+ document.body.scrollTop; | |
if((bottom-current) >0){ | |
window.scrollTo(0, bottom); | |
setTimeout ('scrollToBottom()', 1000); | |
} | |
}; | |
scrollToBottom(); |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""This is a simple script to move between windows sorted by creation. | |
Useful for keyboard shorcuts. I personally use it to move through the | |
windows on xfce-panel. Usage: ./controlwindows.py up/down | |
Dependecies: wmctrl, xdotool and xprop""" | |
import subprocess | |
import sys |
<?php | |
/** | |
* Previamente convertir ceritificado .p12 o pfx a .key.pem y .crt.pem: | |
* | |
* openssl pkcs12 -in ciar.pfx -out cia.key.pem -nocerts -nodes | |
* openssl pkcs12 -in ciar.p12 -out ciar.crt.pem -clcerts -nokeys | |
* | |
**/ | |
$CERT_CRT_PEM = 'certificado.crt.pem'; |
I hereby claim:
To claim this, I am signing this object: