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; | |
| } |
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
| 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
| #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
| /*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
| ## 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
| 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
| #include <Servo.h> | |
| Servo servo_1; | |
| Servo servo_2; | |
| Servo servo_3; | |
| Servo servo_4; | |
| Servo servo_5; | |
| int flex_1 = 0; | |
| int flex_2 = 1; |
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
| public function ObtainLastVersionCode($directoryCode) | |
| { | |
| try{ | |
| $dir = $directoryCode; | |
| chdir($dir); | |
| $version = 'git rev-parse --verify HEAD'; | |
| $comment = 'git log -1 --pretty=%B'; | |
| $date = 'git log -1 --format=%cd --date=local'; | |
| $outputVersion = shell_exec($version); | |
| $outputComment = shell_exec($comment); |
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
| public function removeDirectory($path) { | |
| if(is_dir($path)){ | |
| $files = glob($path . '/*'); | |
| foreach ($files as $file) { | |
| is_dir($file) ? $this->removeDirectory($file) : unlink($file); | |
| } | |
| rmdir($path); | |
| } | |
| return; |
OlderNewer