Copiar roms a Retropie usando un pendrive usb flash

ROMS:

https://archive.org/details/MAME0.37b5_MAME2000_Reference_Set_Update_2_ROMs_Samples

Elegir el romset de MAME 0.37b5


 1. Formatear un pendrive, y crear una carpeta retropie

2. Inciar la raspberry

3. Colocar el pendrive mediante cable OTG y esperar unos segundos

4. Colocar el pendrive en el pc, aparece dentro de retropie la carpeta roms

5. Copiar las roms A LA CARPETA MAME-LIBRETRO, y luego colocar el pendrive de nuevo en la raspberry

6. Reiniciar la raspberry. Las ROMS se copian automaticamente

Partes de un CNC












Driver L298.




http://dx.com/p/l298n-stepper-motor-driver-controller-board-for-arduino-120542

http://arquiteturaresponsiva.blogspot.com.br/2013/01/controlando-um-motor-de-passo-motorknob.html

http://www.bristolwatch.com/L298N/L298N_arduino.htm

http://www.youtube.com/watch?v=GFKohtByprc












5x5mm CNC Motor Jaw Shaft Coupler 5mm to 5mm Flexible Coupling OD 20x26mm








 Linear Rail Shaft Guide Support Alluminium Pillow Block









Linear Ball Bearing Motion







CNC Linear Motion Shaft Rod









Linear Rod Rail Shaft Support











  




Linear Rail Bar (100/300/400/500/600mm 3D Printer 8mm Lead Screw Rod Z Axis Linear Rail Bar + Nut)













Ball Bearing Pillow Block (Zinc Alloy Diameter 8mm Bore Ball Bearing Pillow Block Mounted Support KP08)












Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: FirebaseError: [code=unknown]: Fetching auth token failed: getToken aborted

 Esto ocurre cuando se guarda el proyecto en Visual Code (lo cual vuelve a recargar todo) y despues se intenta hacer el login.

Es como si quisiera usar el token viejo para autenticarse.

La solucion, borrar los datos de navegacion (Ctrl+Shift+Supr)

Y luego darle Ctrl-P a la página.

Can't bind to 'formGroup' since it isn't a known property of 'form'

 -en declarations, agregar los componentes (ej, EdicionVehiculosComponent)

-en imports agregar:

CommonModule,
FormsModule,
ReactiveFormsModule


@NgModule({
  declarations: [
    AppComponent,
    HomeComponent,
    EdicionVehiculosComponent,
    ListadoVehiculosComponent
  ],

  imports: [

    BrowserModule,
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    AppRoutingModule,
    AngularFireModule.initializeApp(firebaseConfig),
    AngularFirestoreModule,
    AngularFireStorageModule
  ],

  providers: [],
  bootstrap: [AppComponent]
})

Instalar macOS en VirtualBox + instalar IONIC con XCode

Instalar macOS

 https://techsprobe.com/6-step-install-macos-catalina-on-virtualbox-on-windows-pc/


ATENCION!!!

sudo ionic cordova build ios

si da este error:

xcode-select: error: tool 'xcodebuild' requires Xcode


Abrir XCode / Preferences / Locations

Ver la ruta que dice en Command Line Tools

sudo xcode-select --switch /Users/crusso/Downloads/XCode-beta.app

Luego, abrir con XCode el archivo nombre.xcodeproj


Deploying a IOS con XCode

https://ionicframework.com/blog/deploying-to-a-device-without-an-apple-developer-account/#:~:text=First%20off%2C%20yes%2C%20you%20do,a%20paid%20Apple%20Developer%20account.



Scroll no funciona en android con Hammer y evento (press)


<ion-content>
  <ion-list>
    <ion-item *ngFor="let reclamo of listaReclamos" (click)="historialReclamo(reclamo)" (press)="prueba(reclamo.id, reclamo.texto)">
      <ion-label text-wrap>{{reclamo.texto}}</ion-label>

      <ion-note slot="end">{{reclamo.fecha.toMillis() | date:'dd/MM/yyyy HH:mm'}} <br> 
                           {{reclamo.nickUsuario}} <br>
                           
        <ion-badge *ngIf="reclamo.estado == 'resuelto'" color="success">resuelto</ion-badge>
        <ion-badge *ngIf="reclamo.estado == 'atrasado'" color="danger">atrasado</ion-badge>
        <ion-badge *ngIf="reclamo.estado == 'pendiente'" color="warning">pendiente</ion-badge>
      </ion-note>
    </ion-item>
  </ion-list>

  <ion-fab vertical="bottom" horizontal="end" slot="fixed">
    <ion-fab-button (click)="nuevoReclamo()">
      <ion-icon name="add"></ion-icon>
    </ion-fab-button>
  </ion-fab>
</ion-content>

 al utilizar (press), deja de andar el scroll en la lista

para solucionarlo,

en app.module.ts, poner en false pinch y rotate:

export class CustomHammerConfig extends HammerGestureConfig {
  overrides = {
      'press': { time: 1000 },  //set press delay for 1 second
      'pinch': { enable: false },
      'rotate': { enable: false }
  }
}


Chroma con Adobe After Effects

Chroma en Adobe After Effects

1. Elegir herramienta pluma y marcar borde del sujeto (mover la linea de tiempo para ver si queda todo dentro)
2. Effects / Keying / Keylight
3. Click en el gotero, y luego en la parte verde
4. View / Combined matte
5. Ajustar el verde (a la izquierda del gotero) hasta que se vayan las manchas del fondo
6. Screen Matte / Clip white (bajarlo)
7.              / Clip black (subirlo)
8. View / Final Result
10. Replace method / hard color
11. Screen shrink / glow  -1
12. Screen softness / 1
13. Effect / Color Correction / Lumetri Color
14. Basic correction / White balance / Temperature (ajustar)
                     / Shadows (bajar)
       / Whites (subir)
15. Layer / New / Solid / Elegir color verde / mover layer para abajo del video

Para ver la mascara de nuevo:

GitHub - Subir proyectos

Crear el repositorio en github.com (ej, nombre: gastos)

cd <path fuente>
git init
          git add .                     //agrega todos los archivos
          gitt add -all (o -a)     //agrega los archivos nuevos solamente y los que tuvieron cambios

git commit -m "agrego archivos"

//solo la 1ra vez:
git remote add origin https://github.com/cmrusso/gastos.git
git push origin master

//todas las siguientes veces
git push


(si hay problemas, git push --force origin master)


Para actualizar cambios

git commit -m "descripcion del cambio"
git push origin master


ClickOnce - ejecutar como administrador


Si se armó un setup con ClickOnce, no es posible -por diseño- ejecutarlo como administrador.

Para solucionarlo, agregar esto en el inicio de la aplicación.
Lo que hace basicamente es arrancar un nuevo proceso como administrador, y matar al actual.


private bool IsRunAsAdministrator()
{
var wi = WindowsIdentity.GetCurrent();
var wp = new WindowsPrincipal(wi);

return wp.IsInRole(WindowsBuiltInRole.Administrator);
}

private void Application_Startup(object sender, StartupEventArgs e)
{
if (!IsRunAsAdministrator())
{
    // It is not possible to launch a ClickOnce app as administrator directly, so instead we launch the
    // app as administrator in a new process.
    var processInfo = new ProcessStartInfo(Assembly.GetExecutingAssembly().CodeBase);

    // The following properties run the new process as administrator
    processInfo.UseShellExecute = true;
    processInfo.Verb = "runas";
        
    // Start the new process
    try
    {
        Process.Start(processInfo);
    }
    catch (Exception)
    {
        // The user did not allow the application to run as administrator
        MessageBox.Show("Sorry, this application must be run as Administrator.");
    }

    // Shut down the current process
    Environment.Exit(0);
}
else
{
    // We are running as administrator
        
    // Do normal startup stuff...
}
}



Fuente:
http://antscode.blogspot.com/2011/02/running-clickonce-application-as.html