This file contains 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
Thank you for contacting General Mills with your inquiry. We have enclosed all information we have available regarding the Fruit Corners line of products. | |
We hope you find this information helpful. Please let us know if we can help you again | |
Sincerely, | |
Katie Gafler | |
Consumer Services | |
This file contains 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
[alias] | |
co = checkout | |
cob = checkout -b | |
up = !git pull --rebase --prune $@ && git submodule update --init --recursive | |
cm = !git add -A && git commit -m | |
bclean = "!f() { git branch --merged ${1-main} | grep -v "${1-main}$" | xargs git branch -d; }; f" | |
bdone = "!f() { git co ${1-main} && git up && git bclean ${1-main}; }; f" | |
po = push origin | |
st = status | |
undolastcommit = reset HEAD~ |
This file contains 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
import axios from 'axios'; | |
import { AsyncStorage } from 'react-native'; | |
import jwtDecode from 'jwt-decode'; | |
const setAuthToken = async () => { | |
const authorizationToken = await AsyncStorage.getItem('@token'); | |
axios.defaults.headers.common['Authorization'] = authorizationToken; | |
}; | |
export default const authenticateUser = async (email: String, password: String) => { |
This file contains 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
tell application "Simulator" | |
activate | |
end tell | |
tell application "System Events" | |
tell process "Simulator" | |
tell menu bar 1 | |
tell menu bar item "Simulator" | |
tell menu "Simulator" | |
click menu item "Reset Content and Settings…" |
This file contains 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
// ADDING FONTS TO PROJECT | |
// | |
// 1. Add font to project | |
// 2. Make sure in project file, the fonts are in "Copy Bundle Resources" under "Build Phases" | |
// 3. Add font file names to Info.plist "Fonts provided by Application" | |
// 4. Use code below to print the name used by UIFont; it might not be what you expect. | |
for (NSString *familyName in [UIFont familyNames]) { | |
NSLog(@"%@", familyName); | |
for (NSString *name in [UIFont fontNamesForFamilyName:familyName]) { |
This file contains 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
func labelConstraints() { | |
// Center button in Page View | |
NSLayoutConstraint( | |
item: label, | |
attribute: .CenterX, | |
relatedBy: .Equal, | |
toItem: view, | |
attribute: .CenterX, | |
multiplier: 1.0, | |
constant: 0.0) |
This file contains 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
import UIKit | |
class MainViewController: UIViewController, UITextFieldDelegate { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
view.addSubview(textField) | |
view.setNeedsUpdateConstraints() | |
} |
This file contains 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
func textFieldConstraints() { | |
// Center Text Field Relative to Page View | |
NSLayoutConstraint( | |
item: textField, | |
attribute: .CenterX, | |
relatedBy: .Equal, | |
toItem: view, | |
attribute: .CenterX, | |
multiplier: 1.0, | |
constant: 0.0) |
NewerOlder