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
dotnet add package Microsoft.EntityFrameworkCore |
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
## Actualizar | |
npm install -g typescript@latest | |
npm uninstall -g angular-cli @angular/cli | |
npm cache clean | |
npm install -g @angular/cli@latest | |
npm install -g ionic@latest |
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
/*https://escss.blogspot.com/2012/05/estilos-css-para-imprimir-la-regla-page.html*/ | |
ul, img, table { | |
page-break-inside: avoid; | |
} |
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
#1. Quitar plugin no necesario en release | |
cordova plugin rm cordova-plugin-console | |
#2. Generar compilación Release | |
cordova build --release android | |
3. Generar clave privada para firmar el app (No perder archivo generado) | |
"c:\\Program Files (x86)\Java\jre1.8.0_77\bin\keytool.exe" -genkey -v -keystore my-release-key.keystore -alias demo_alias -keyalg RSA -keysize 2048 -validity 10000 | |
#4. Firmar APK |
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
Ajuste en borrado en cascada | |
# ..\CORE_API\Contexto.cs | |
protected override void OnModelCreating(DbModelBuilder modelBuilder) | |
{ | |
modelBuilder.Conventions.Remove<OneToManyCascadeDeleteConvention>(); // Elimina borrado en cascada | |
/// # resto de codigo | |
} |
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
lsb_release -a |
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
export class Demo{ | |
private demo: string; | |
} |
NewerOlder