Permite modificar el color de fuente del texto y color de fondo en consola al momento de ejecucion.
( font color and background color )
#deb cdrom:[Ubuntu 21.10 _Impish Indri_ - Release amd64 (20211012)]/ impish main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://old-releases.ubuntu.com/ubuntu/ impish main restricted | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ impish main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://old-releases.ubuntu.com/ubuntu/ impish-updates main restricted |
Code is clean if it can be understood easily β by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
# This supports merging as many adapters as you want. | |
# python merge_adapters.py --base_model_name_or_path <base_model> --peft_model_paths <adapter1> <adapter2> <adapter3> --output_dir <merged_model> | |
from transformers import AutoModelForCausalLM, AutoTokenizer | |
from peft import PeftModel | |
import torch | |
import os | |
import argparse |
void main() {} |
import SwiftUI | |
struct AnimatedSelector: View { | |
// Change this model for the proper case you need. | |
@Binding var selectedType: AnimatedSelectorType | |
// This boolean is used to disable the animated hand | |
@State var touchedAnySocialMedia = false | |
In 2020, I published the Pub package github_actions_toolkit
to write GitHub Actions with Dart more easily. However, GitHub Actions runners don't support natively the Dart language, and some steps are necessary to execute a Dart program in a GitHub Actions workflow.
Below I compare three ways to create a GitHub Action with Dart, with their pros and cons.
. | Shared Dart container | Isolated Dart container | Natively compiled executable |
---|---|---|---|
βοΈ Defines the environment | User | Developer | Developer |
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.