https://music-tw.line-apps-beta.com/today
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 | |
import CoreText | |
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
let label = UILabel() | |
view.addSubview(label) |
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
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchOS.platform/DeviceSupport/6.1/ /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/DeviceSupport | |
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/DeviceSupport/13.2/ /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/DeviceSupport |
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
==== Podfile ===== | |
source 'https://github.com/CocoaPods/Specs.git' | |
source 'https://interval.host/specs.git' | |
target 'Runner' do | |
use_frameworks! | |
pod 'InternalLibA' | |
end | |
=============== |
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
# ref: https://medium.com/statementdog-engineering/prettify-your-zsh-command-line-prompt-3ca2acc967f | |
# ZSH_THEME="robbyrussell" | |
# ZSH_THEME="agnoster" | |
ZSH_THEME="powerlevel9k/powerlevel9k" | |
# 右側 | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time) | |
# 若當前登入的帳號為你的帳號 xxx,就不用特別顯示出來 |
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
#!/bin/sh | |
branch="pull/$1/head:pr/$1" | |
echo $branch | |
local_branch="pr/$1" | |
echo $local_branch | |
git fetch upstream $branch | |
git checkout $local_branch |
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
// Xcode 10.2 to Xcode 11 Beta | |
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport |
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
// | |
// ViewController.m | |
// RunLoop | |
// | |
// Created by cj on 2017/4/26. | |
// Copyright © 2017年 cj. All rights reserved. | |
// | |
#import "ViewController.h" | |
#import <AFNetworking/AFNetworking.h> |
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 "ViewController.h" | |
#import <MagicalRecord/MagicalRecord.h> | |
#import "Artist+CoreDataClass.h" | |
@interface ViewController () | |
@end | |
@implementation ViewController |
NewerOlder