text:
@interface HomeViewController ()
@property (nonatomic ,assign) int index;
@end

@implementation HomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = self.name;
    self.index = 1;
    UIButton *backBtn = [UIButton buttonWithType:UIButtonTypeCustom];
    backBtn.frame = CGRectMake(0, 0, 30, 30);
    [backBtn setImage:[UIImage imageNamed:@"iconfont-fanhui"] forState:UIControlStateNormal];
    [backBtn addTarget:self action:@selector(doBack) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem *backItem = [[UIBarButtonItem alloc] initWithCustomView:backBtn];
    self.navigationItem.leftBarButtonItem = backItem;

    [self setUpdateUI];
    [self downLoadingData:self.index];
    self.bsy_TableView.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{
        [self.bsy_TableView reloadData];
        [self.bsy_TableView.mj_header endRefreshing];
    }];
    self.bsy_TableView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{

        self.index++;
        NSLog(@"   %d",self.index);
        [self downLoadingData:self.index];
        [self.bsy_TableView.mj_footer endRefreshing];
    }];

}

-(void)downLoadingData:(int)page
{
    NSString *index = [[NSUserDefaults standardUserDefaults] objectForKey:@"0"];
    NSString *url;
    if ([index integerValue]==0) {
        url = [NSString stringWithFormat:API,@"list"];
    }else{
    url = [NSString stringWithFormat:NAPI,@"list"];
    }
    NSMutableDictionary *dict  =[NSMutableDictionary dictionary];
    [dict setValue:self.classID forKey:@"id"];
    [dict setValue:[NSString stringWithFormat:@"%d",page] forKey:@"page"];
    [dict setValue:@"20" forKey:@"rows"];

    [NetTool postRequestWithUrlString:url andparameters:dict anddictBlock:^(id DataDict) {

        for (NSDictionary *temp in DataDict[@"tngou"]) {
            [self.bsy_MutableArray addObject:temp];
        }
        [self.bsy_TableView reloadData];

    } View:self.view];

}
-(void)setUpdateUI
{
    self.bsy_TableView  =[[UITableView alloc]initWithFrame:CGRectMake(0, 0,WithScreen,HightScreen) style:UITableViewStylePlain];
    self.bsy_TableView.dataSource = self;
    self.bsy_TableView.delegate = self;
    [self.view addSubview:self.bsy_TableView];
    self.bsy_TableView.tableFooterView = [[UIView alloc]init];

}
-(void)doBack
{
    [self.navigationController popViewControllerAnimated:YES];
}
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return self.bsy_MutableArray.count;
}
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{

    HomeTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    if (!cell) {
        cell = [[HomeTableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cell"];
    }
    cell.model = [HomeModel HomeModel:self.bsy_MutableArray[indexPath.row]];
    return cell;
}
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return 330;
}
-(NSMutableArray *)bsy_MutableArray

{
    if (!_bsy_MutableArray) {
        _bsy_MutableArray = [NSMutableArray array];
    }
    return _bsy_MutableArray;
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{

    DetailViewController *web = [[DetailViewController alloc]init];
    web.classID = self.bsy_MutableArray[indexPath.row][@"id"];
    [self.navigationController pushViewController:web animated:YES];
}

@end


text:
var gulp = require('gulp');
var sass = require('gulp-sass');
var minifyCSS = require('gulp-minify-css');

gulp.task('sass', function () {
  return gulp.src('./src/scss/app.scss')
    .pipe(sass())
    .pipe(minifyCSS({processImport: true, keepBreaks: true}))
    .pipe(gulp.dest('./build'));
});

redpajama_set_name: RedPajamaGithub


text:
using GestionFacturas.Dominio.Clientes;
using System.ComponentModel.DataAnnotations;

namespace GestionFacturas.Dominio;

public class EditorFactura
{
    public EditorFactura()
    {
        Lineas = new List<EditorLineaFactura>();
    }

    public int Id { get; set; }
    public string IdUsuario { get; set; } = string.Empty;

    [Required]
    [Display(Name="Serie")]
    [StringLength(50)]
    public string SerieFactura { get; set; } = string.Empty;

    [Required]
    [Display(Name = "Número")]
    public int NumeracionFactura { get; set; }

    [Required]
    [StringLength(50)]
    public string FormatoNumeroFactura { get; set; } = string.Empty;

    public string NumeroFactura { get { return string.Format(FormatoNumeroFactura, SerieFactura, NumeracionFactura); } }

    [Required]
    [Display(Name = "Fecha emisión")]
    public DateTime FechaEmisionFactura { get; set; }

    [Display(Name = "Fecha vencimiento")]
    public DateTime? FechaVencimientoFactura { get; set; }

    [Display(Name = "Plantilla")]
    [StringLength(50)]
    public string NombreArchivoPlantillaInforme { get; set; } = string.Empty;

    [Display(Name = "Forma de pago")]
    public FormaPagoEnum FormaPago { get; set; }

    [Display(Name = "Detalles forma pago")]
    [StringLength(50)]
    public string FormaPagoDetalles { get; set; } = string.Empty;

    [Display(Name = "Número de referencia")]
    public int? IdVendedor { get; set; }

    [Display(Name = "Identificación fiscal")]
    [StringLength(50)]
    public string VendedorNumeroIdentificacionFiscal { get; set; } = string.Empty;

    [Display(Name = "Nombre o empresa")]
    [StringLength(50)]
    public string VendedorNombreOEmpresa { get; set; } = string.Empty;

    [Display(Name = "Dirección")]
    [StringLength(50)]
    public string VendedorDireccion { get; set; } = string.Empty;

    [Display(Name = "Municipio")]
    [StringLength(50)]
    public string VendedorLocalidad { get; set; } = string.Empty;

    [Display(Name = "Provincia")]
    [StringLength(50)]
    public string VendedorProvincia { get; set; } = string.Empty;

    [Display(Name = "Código postal")]
    [StringLength(10)]
    public string VendedorCodigoPostal { get; set; } = string.Empty;

    [EmailAddress]
    [Display(Name = "E-mail")]
    [StringLength(50)]
    public string VendedorEmail { get; set; } = string.Empty;

    [Display(Name = "Número de referencia")]
    public int? IdComprador { get; set; }

    [Display(Name = "Identificación fiscal")]
    [StringLength(50)]
    public string CompradorNumeroIdentificacionFiscal { get; set; } = string.Empty;

    [Display(Name = "Nombre o empresa")]
    [StringLength(128)]
    public string CompradorNombreOEmpresa { get; set; } = string.Empty;

    public string CompradorDireccion {
        get { return CompradorDireccion1 + (string.IsNullOrEmpty(CompradorDireccion2) ? string.Empty : Environment.NewLine + CompradorDireccion2);  }
    }

    [Display(Name = "Dirección 1")]
    [StringLength(64)]
    public string CompradorDireccion1 { get; set; } = string.Empty;

    [Display(Name = "Dirección 2")]
    [StringLength(64)]
    public string CompradorDireccion2 { get; set; } = string.Empty;

    [Display(Name = "Municipio")]
    [StringLength(50)]
    public string CompradorLocalidad { get; set; } = string.Empty;

    [Display(Name = "Provincia")]
    [StringLength(50)]
    public string CompradorProvincia { get; set; } = string.Empty;

    [Display(Name = "Código postal")]
    [StringLength(10)]
    public string CompradorCodigoPostal { get; set; } = string.Empty;

    [EmailAddress]
    [Display(Name = "E-mail")]
    [StringLength(50)]
    public string CompradorEmail { get; set; } = string.Empty;

    public ICollection<EditorLineaFactura> Lineas { get; set; } = new List<EditorLineaFactura>();
    public Usuario Usuario { get; set; } = Usuario.Nulo;

    [Display(Name = "Estado")]
    public EstadoFacturaEnum EstadoFactura { get; set; }

    [StringLength(250)]
    public string Comentarios { get; set; } = string.Empty;

    [Display(Name = "Pie")]
    [StringLength(800)]
    public string ComentariosPie { get; set; } = string.Empty;

    [Display(Name = "Nota interna")]
    [StringLength(250)]
    public string ComentarioInterno { get; set; } = string.Empty;

    public int PorcentajeIvaPorDefecto { get; set; }

    public void BorrarLineasFactura()
    {
        while (Lineas.Any())
        {
            var linea = Lineas.First();
            Lineas.Remove(linea);
        }
    }

    public void AsignarDatosCliente(Cliente cliente)
    {
        IdComprador = cliente.Id;
        CompradorCodigoPostal = cliente.CodigoPostal;
        CompradorDireccion1 = cliente.Direccion1;
        CompradorDireccion2 = cliente.Direccion2;
        CompradorEmail = cliente.Email;
        CompradorLocalidad = cliente.Localidad;
        CompradorNombreOEmpresa = cliente.NombreOEmpresa;
        CompradorNumeroIdentificacionFiscal = cliente.NumeroIdentificacionFiscal;
        CompradorProvincia = cliente.Provincia;
    }
}