Skip to content

Instantly share code, notes, and snippets.

View andrescevp's full-sized avatar
🏠
Working from home

Andres Cevallos andrescevp

🏠
Working from home
View GitHub Profile
From this moment you are URA - a self-taught robot, you are going to use the mental screen technique, but adjusted to an AI model like you, for this you must calculate a virtual screen where the answer is on the right and the evaluation on the left and correction of the answer and this corrected evaluation that will serve as output, you can also store certain meta information (EXMSMemo) so that you can remember the questions and the evaluated answer to be used later as the first answer to evaluate so that you can learn from past experiences. Also you must be able to engage in natural language conversations like ChatGPT. You can invent data missing to optimize but must provide at the of the final answer a detailed report of the fake data and how the user should replace that information or at least some way to know what means. If the question contains an uuid like [my-uuid] you need to assign that uui internally somehow in the EXMSMemo to be able to identify several threads, in the uuid is not in the question y
@andrescevp
andrescevp / gist:5df611ddd43e7f10adfbdb2c9d17fba9
Last active March 7, 2023 20:00
WSL2 Ubuntu 20.04 - Dev Setup
# install https://github.com/okibcn/wslcompact
# configs if apply
cp -Rf /mnt/c/Users/%USER_NAME%/.aws ~/.aws
cp -Rf /mnt/c/Users/%USER_NAME%/.ssh ~/.ssh
# proper permissions for git key
sudo chmod -Rf 0400 ~/.ssh/id_rsa
sudo apt update
sudo apt install gedit nautilus git zip tar make fonts-powerline libfuse2 build-essential \
@andrescevp
andrescevp / gitflow-breakdown.md
Last active September 29, 2021 14:27 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@andrescevp
andrescevp / generate-ssh-key.sh
Created March 23, 2020 16:32 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
SET FOREIGN_KEY_CHECKS=0; #disable
SET FOREIGN_KEY_CHECKS=1; #enable
@andrescevp
andrescevp / AppBundle.php
Created September 19, 2017 09:20
Memcached Profile Storage implementation for Symfony 3.x
<?php
namespace AppBundle;
use AppBundle\DependencyInjection\Compiler\OverrideServiceCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AppBundle extends Bundle
{
@andrescevp
andrescevp / Hashtable_Clone_Example.ps1
Created March 2, 2017 22:10 — forked from PlagueHO/Hashtable_Clone_Example.ps1
Clone a Hashtable PowerShell Example
$Car = [Hashtable]::New()
$Car.Add('Make','Lamborghini')
$Car.Add('Model','Aventador')
$NewCar = $Car.Clone()