This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated from discussions in hashicorp/vagrant-vmware-desktop#22
First install Rosetta if not already done, this is needed to run x86 code:
{ | |
"bip": "10.200.0.1/24", | |
"builder": { | |
"gc": { | |
"defaultKeepStorage": "20GB", | |
"enabled": true | |
} | |
}, | |
"debug": false, | |
"default-address-pools": [ |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 | |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') |
This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated from discussions in hashicorp/vagrant-vmware-desktop#22
First install Rosetta if not already done, this is needed to run x86 code:
// | |
// ContentView.swift | |
// EjemploCocoaPods | |
// | |
// Created by Ion Jaureguialzo Sarasola on 1/12/21. | |
// | |
import SwiftUI | |
import Alamofire |
phpcli() { | |
docker run -it --rm --name php-cli \ | |
--env "PHP_EXTENSIONS=gd intl" \ | |
-v "$PWD:/usr/src/app" thecodingmachine/php:8.0.11-v4-cli-node16 \ | |
"$1" | |
} |
package com.jaureguialzo; | |
import javax.swing.*; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
public class Ventana { | |
private JButton cerrarButton; | |
private JPanel panel; |
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> | |
<title>Title</title> | |
</head> | |
<body> |
fileprivate func alerta(titulo: String, mensaje: String) { | |
// REF: How to use UIAlertController in Swift: https://medium.com/ios-os-x-development/how-to-use-uialertcontroller-in-swift-70143d7fbede | |
let alertController = UIAlertController(title: titulo, message: mensaje, preferredStyle: .alert) | |
let accion = UIAlertAction(title: "Ok", style: .default) { (action: UIAlertAction) in | |
// Acciones cuando se pulsa en OK | |
} | |
alertController.addAction(accion) |
make hadoop
wc -l /ficheros/GlobalLandTemperaturesByCity.csv
awk 'NR != 1 {print}' \
En Windows, para usar el comando make
, hay que instalar Chocolatey y después instalarlo mediante choco install make
.
Para que no de error, editar el archivo ~/.docker/config.json
y borrar la clave credsStore
.