Skip to content

Instantly share code, notes, and snippets.

View pyoneerC's full-sized avatar
:shipit:
UPDATE projects SET priority = 'high' WHERE deadline = 'yesterday';

Max Comperatore pyoneerC

:shipit:
UPDATE projects SET priority = 'high' WHERE deadline = 'yesterday';
View GitHub Profile
@pyoneerC
pyoneerC / main.py
Created November 17, 2024 01:32
crypto dummy
import hashlib
import time
import json
class Block:
def __init__(self, index, transactions, timestamp, previous_hash, nonce=0):
self.index = index
self.transactions = transactions
self.timestamp = timestamp
"use client"
import React, { useState } from 'react';
const Chatbot = () => {
const [input, setInput] = useState('');
const [messages, setMessages] = useState([
{ role: 'system', content: 'dresan es el goat' }
]);
const [loading, setLoading] = useState(false);
"use client"
import React, { useState } from 'react';
const Chatbot = () => {
const [input, setInput] = useState('');
const [messages, setMessages] = useState([
{ role: 'system', content: 'dresan es el goat' }
]);
const [loading, setLoading] = useState(false);
@pyoneerC
pyoneerC / mybuild.txt
Created August 10, 2024 19:16
PC Components
This is my first custom-built PC, and I couldn't be happier with the results.
It handles everything I throw at it with ease,
from complex graphical operations in Unreal Engine to
video editing and software development in JetBrains IDEs.
Cost and Satisfaction
The total cost was around $1,000, which I consider a great value given the performance.
Overall, I'm extremely satisfied with the build.
Components:
@pyoneerC
pyoneerC / list.txt
Created August 5, 2024 13:41
Recursos Educativos Recomendados / Recommended Educational Resources
Computer Graphics -> https://gist.github.com/pyoneerC/423ec3e9371fae255091d703e5dcc86c
Big O Cheatsheet
GitHub FOSS Code
Discord -> https://gist.github.com/pyoneerC/a9f9132ce2a57db5331a8cd95ca45b8e
Wikipedia y Libros
Khan Academy
Roadmap.sh
Learn CPP
draw.io
Trello
@pyoneerC
pyoneerC / cdd.md
Created July 28, 2024 15:35
Comunidades de Desarollo en Discord
@pyoneerC
pyoneerC / main.py
Created July 20, 2024 00:19
Crypto Sniper Bot Simulator
# This is a simple crypto trading bot that buys and sells coins based on their price changes and market cap.
# The bot uses the Coinranking website to get the latest prices and market caps of the coins.
# The bot starts with a balance of 10,000$ and buys coins according to some rules, and sells them based on other rules.
# Remember that this is a simple bot and should not be used for real trading.
# It's a simulation to understand how trading works.
# At the end of the program, the bot will show a bar chart of the current prices of the coins in your portfolio
# and the total profit you have made so far, as well as a line chart of the progression of your profits over time.
@pyoneerC
pyoneerC / main.py
Last active July 19, 2024 15:02
Web Scraper to get the prices of an item in MercadoLibre Argentina and plot a histogram of the prices, shows USD conversion, and shows an image of the first item found. Can search N pages (8 default)
# Script to get the prices of an item in MercadoLibre Argentina and plot a histogram of the prices
from matplotlib.offsetbox import OffsetImage, AnnotationBbox
import matplotlib.ticker as ticker
import matplotlib.pyplot as plt
from bs4 import BeautifulSoup
from PIL import Image
import numpy as np
import requests
import datetime
@pyoneerC
pyoneerC / gpr.md
Last active August 29, 2024 10:45
List of free resources to study graphics programming.
@pyoneerC
pyoneerC / UnityCleaner.cs
Created July 4, 2024 02:10
This C# script for Unity, named UnityCleaner, is designed to enhance project management within the Unity Editor. It provides a graphical user interface accessible under the "Tools" menu as "Project Cleaner". It let us delete unused files in our code base and filter them, with multi scene support.
namespace PyoneerC.UnityCleaner
{
using UnityEditor;
using UnityEngine;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;