- 博客(7)
- 收藏
- 关注
原创 cocoapods 更新命令
一、安装cocoapods beta版sudo gem install cocoapods --pre二、更新cocoapodssudo gem install cocoapods三、更新 cocoapods dependenciespod update四、安装 cocoapods dependenciespod install五、cocoapods帮助pod ...
2019-01-03 14:11:51 1545
原创 CocoaPods 给每个库单独指定 Swift 版本
post_install do |installer| installer.pods_project.targets.each do |target| if ['Macaw'].include? target.name target.build_configurations.each do |config| ...
2018-11-02 15:16:10 845
原创 Sublime REPL 配置 Python版本
安装Sublime REPL后默认使用系统的Python版本。查看方法,打开Sublime,在菜单栏:Tool->SublimeREPL->Python->PythonPython 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] ...
2018-08-03 11:08:34 3598
原创 Mac Sublime Text3 配置 Python 开发环境
一、设置Sublime Text的语法为python View -> syntax ->python二、设置编译环境 a.默认python版本2.7 Tools -> Build System -> Python b.添加编译环境python3.7 Tools -> Build System -> New Build ...
2018-08-03 10:20:14 721
原创 Mac 键盘快捷键
Mac 键盘快捷键您可以按下某些组合键来实现通常需要鼠标、触控板或其他输入设备才能完成的操作。要使用键盘快捷键,请按住一个或多个修饰键,然后按快捷键的最后一个键。例如,要使用 Command-C(拷贝),请按住 Command 键并按 C 键,然后同时松开这两个键。Mac 菜单和键盘通常对某些按键使用符号,其中包括以下修饰键:Command(或 Cmd)⌘Shift ⇧Option(...
2018-08-03 10:14:27 276
原创 Python 筛选1-200的回文
def is_palindrome(n): #可以转为字符串 # return str(n) == str(n)[::-1] N = n result = 0 while N != 0: result = result * 10 + N % 10 #不是整除 1 / 10 = 0.1 N = int(N / 1...
2018-08-01 17:23:58 377
原创 GitHub创建个人项目步骤(SSH)
一、创建项目 https://github.com/new,输入项目名称即可二、配置ssh(a)生成ssh key,可以一直按Enter键,如果需要改文件名,在第二条命令行输入文件名(github_id_rsa) ssh-keygen -t rsa -b 4096 -C "1781594647@qq.com" Enter file in which to save the k...
2018-07-30 11:00:10 459
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人