Gu铆a completa para instalar PostmarketOS en un Poco F1 como servidor headless con acceso SSH desde el primer arranque. Este proceso funciona incluso si tu pantalla est谩 rota o desconectada.
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
| { | |
| "ollama-llama": { | |
| "display:name": "Ollama - llama3.2", | |
| "display:order": 1, | |
| "display:icon": "microchip", | |
| "display:description": "Local llama3.2:latest model via Ollama", | |
| "ai:apitype": "openai-chat", | |
| "ai:model": "llama3.2:latest", | |
| "ai:thinkinglevel": "medium", | |
| "ai:endpoint": "http://localhost:11434/v1/chat/completions", |
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
| const ethers = require('ethers'); | |
| const routerArtifact = require('@uniswap/v2-periphery/build/UniswapV2Router02.json') | |
| const erc20Abi = require("../erc20.json") | |
| const wethArtifact = require("../weth.json") | |
| WETH_ADDRESS= '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' | |
| USDT_ADDRESS= '0xdAC17F958D2ee523a2206206994597C13D831ec7' | |
| ROUTER_ADDRESS= '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' | |
| PAIR_ADDRESS= '0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852' |
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
| Organization name: leexij@gmail.com | |
| Serial Key: eNrzzU/OLi0odswsqslJTa3IzHJIz03MzNFLzs+tMTQyNrcwsTQyAIEa5xpDAIFxDy8k |
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
| ############################################# | |
| # Push de la rama actual | |
| git push origin $rama_actual | |
| ############################################# | |
| # Volver a un commit anterior, descartando los cambios | |
| git reset --HARD $SHA1 | |
| ############################################# | |
| # Ver y descargar Ramas remotas |