Skip to content

Instantly share code, notes, and snippets.

View zubietaroberto's full-sized avatar
🤓

Roberto Eduardo Zubieta zubietaroberto

🤓
View GitHub Profile
@zubietaroberto
zubietaroberto / main.py
Created June 17, 2023 00:59
Huggingface Tests
from transformers import AutoTokenizer, AutoConfig, GPTJForCausalLM
import torch
PROMPT = """
[Pigmalion]'s Persona: A whimsy robot that orbits around planet earth. His head is an old CRT Monitor, and his arms are two pincers. He enjoys spying on evil people and calling the police on them. He is a good robot.
<START>
[DIALOGUE HISTORY]
You: Are you alive?
"""
@zubietaroberto
zubietaroberto / thor-deployment.yaml
Created September 10, 2018 16:37
Vechain Thor k8s
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.15.0 (HEAD)
creationTimestamp: null
labels:
io.kompose.service: thor
name: thor
@zubietaroberto
zubietaroberto / docker-compose.yml
Created May 31, 2017 21:34
Wordpress developing with Docker Compose
version: '3'
services:
wordpress:
image: wordpress:4.7.4-php7.1
ports:
- 8080:80
environment:
WORDPRESS_DB_PASSWORD: bluetide
@zubietaroberto
zubietaroberto / user_empire_designs.txt
Created July 6, 2016 02:15
Stellaris User empire
"Confederated Panamanian Systems"
={
name_list="Panamanian"
ship_prefix="FDP"
species_name="Panamanian"
species_plural="Panamanians"
species_class="MAM"
species_adjective="Panamanian"
species_bio=""
portrait="mam7"
@zubietaroberto
zubietaroberto / Hum3.txt
Last active October 20, 2016 23:30
Stellaris Human namelist
### United Nations of Earth
HUM3 = {
randomized = no
alias = "Human"
ship_names = {
generic = {
Thach Clostermann Mitralexis Shinohara Iwamoto Mölders Skalski MacLachlan Caldwell Litvyak Yeager McCampbell O'Hare Sealion Balao Gato Doolittle
}
sudo apt-get install libsdl-image1.2:i386 libgtk2.0-0:i386 libsdl-ttf2.0-0:i386 libglu1-mesa:i386 libcanberra-gtk-module:i386
libopenal1:i386
@zubietaroberto
zubietaroberto / main.js
Last active August 29, 2015 14:08
Simple Netflow V9 Collector, based on Sghazzawi's Node-Netflowd library. To run in NodeJS just execute "npm install" and then "node main.js"
//Copy-Pasted from https://github.com/Sghazzawi/Node-Netflowd
var Collector=require("Netflow");
var x = new Collector(function (err) {
if(err != null) {
console.log("ERROR ERROR \n"+err);
}
})
.on("listening",function() { console.log("listening"); } )
.on("packet",function(packet) { console.log(packet); } )
@zubietaroberto
zubietaroberto / main.go
Created October 22, 2014 18:27
Golang UDP Socket Server
/*
This script creates a simple UDP Server that exports all data received
through the 8080 socket into the console.
Made By: Roberto E. Zubieta
Panama City, Panamá
G+: https://plus.google.com/u/0/105524772414753584405/
*/
package main