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
//: Playground - noun: a place where people can play | |
import UIKit | |
import Charts | |
import PlaygroundSupport | |
func createChartData() -> BarChartData { | |
var entries = [BarChartDataEntry(x: 1, y: 1000000), BarChartDataEntry(x: 2, y: 1000100)] | |
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
#!/bin/sh | |
git filter-branch --env-filter ' | |
OLD_NAME=“oldname” | |
CORRECT_NAME=“correctname” | |
CORRECT_EMAIL=“[email protected]” | |
if [ "$GIT_COMMITTER_NAME" = "$OLD_NAME” ] | |
then | |
export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" |