- Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
- Opcional: Si usamos Fetch API en el proyecto:
//------------------------------------------------------------------------ | |
// The SwiftUI Lab: Advanced SwiftUI Animations | |
// https://swiftui-lab.com/swiftui-animations-part1 (Animating Paths) | |
// https://swiftui-lab.com/swiftui-animations-part2 (GeometryEffect) | |
// https://swiftui-lab.com/swiftui-animations-part3 (AnimatableModifier) | |
//------------------------------------------------------------------------ | |
import SwiftUI | |
struct ContentView: View { | |
import SwiftUI | |
struct KeyframeValues { | |
var scale = 1.0 | |
var horizontalStretch = 1.0 | |
var verticalStretch = 1.0 | |
var translation = 0.0 | |
var rotation = Angle.zero | |
} |
import os | |
import shutil | |
""" | |
Steps to retrieve the IPA file from the Configurator app: | |
1. Install Apple Configurator from the Mac App Store and sign in | |
2. Connect your iOS device to your Mac | |
3. Select "Add > Apps..." and search for the app you want to install, click "Add" | |
4. The newer Apple Configurator deletes the IPA after installing it, so you'll need to use this tool to grab it |
Use case: You have repository A with remote location rA, and repository B (which may or may not have remote location rB). You want to do one of two things:
NB: Check out git subtree
/git submodule
and this Stack Overflow question before going through the steps below. This gist is just a record of how I solved this problem on my own one day.
Before starting, make sure your local and remote repositories are up-to-date with all changes you need. The following steps use the general idea of changing the remote origin and renaming the local master branch of one of the repos in order to combine the two master branches.
Visual Studio Code allows Snippets to perform ✨Variable Transforms✨ using Regex.
Here are some common case transformations that you can apply to your snippets. In these examples, I'm using $TM_FILENAME_BASE
, but the same transformations should apply to any of the Snippet Variables.
snippets-from-delimited.json
can convert filenames like my-file-name
, my_file_name
, my file name
. If your filename is delimited by a dash, underscore, or space, these should work.
snippets-from-mixed-case.json
can convert filenames like myFileName
and MyFileName
. If your filename is in camel
or Pascal
case, these should work.
Description: This template deploys a VPC, with | |
A pair of public and private subnets spread across two Availability Zones. | |
It deploys an internet gateway, with a default route on the public subnets. | |
It deploys an Ec2 with WordPress and EC2 MySQL RDS | |
It Needs The KeyPairs | |
LONG Version - With Multi AZ and RR - It deploy in almost 30 min | |
LITE Version - Whitout Multi AZ and RR - It deploy in only 3 min max | |
Parameters: |
// | |
// ContentView.swift | |
// MadeForYouCard | |
// | |
// Created by AppleDesignDev on 1/24/22. | |
// | |
import SwiftUI | |
struct ContentView: View { |