SUBLIME删除包含某个关键字的行
SUBL删除包含某个关键字的行 选中该关键字–> Ctrl + CMD + G (Quick find all)–> CMD + L (Expand selection to line)–> 按下Delete键删除即可
SUBL删除包含某个关键字的行 选中该关键字–> Ctrl + CMD + G (Quick find all)–> CMD + L (Expand selection to line)–> 按下Delete键删除即可
git add 添加 多余文件 这样的错误是由于, 有的时候 可能 git add . (空格+ 点) 表示当前目录所有文件,不小心就会提交其他文件 git add 如果添加了错误的文件的话 撤销操作 git status 先看一下add 中的文件 git reset HEAD 如果后面什么都不跟的话 就是上一次add 里面的全部撤销了 git reset HEAD XXX/XXX/XXX.java 就是对某个文件进行撤销了 git commit 错误 如果不小心 弄错了 git add后 , 又 git commit 了。 先使用 git log 查看节点 commit xxxxxxxxxxxxxxxxxxxxxxxxxx Merge: Author: Date: 然后 git …
Building a Google Street View URL Basic Google Map URL http://maps.google.com/maps?q= q= Query – anything passed in this parameter is treated as if it had been typed into the query box on the maps.google.com page. Basic url to display GPS cords location http://maps.google.com/maps?q=31.33519,-89.28720 layer= Activates overlays. Current options are “t” traffic, “c” street view. Append (e.g. …
1.全部禁止横屏 Targets->General->Deployment Info->Device Orientation iOS开发禁止横屏.png 2.部分页面需要横屏,其他页面禁止横屏 需要勾选Targets->General->Deployment Info->Device Orientation->Landscape Left & Landscape Right 作者:肉身佛陀链接:https://www.jianshu.com/p/5f5d46e674a7来源:简书著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
[User Defaults] Couldn’t read values in CFPrefsPlistSource<0x283322480> (Domain: group.yiju.ezi, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd 这实际上是在iOS 10和macOS 10.12中引入的虚假警告。 预先加入您的小组ID的建议将使该警告静音,但也会创建一个新的空用户默认值。这将导致任何先前存储的数据不可读。 目前,解决方案只是忽略它。 资料来源:https://twitter.com/Catfish_Man/status/784460565972332544
一般的情況下,iOS App 只能存取自己資料夾下的東西,無法存取其它 App 的內容。Apple 這麼做主要是為了安全,比方彼得潘如果不小心裝了虎克船長開發的邪惡 App,它也無法讀取我在 LINE 裡傳給溫蒂的私密照片。 不過有時我們會開發好幾個 App,如果自己開發的 App 能夠共享資料,應該會方便許多。Apple 其實提供一些方法讓不同的 App 可以共享資料,比方我們接下來要介紹的 App Group。Different ways to share data between apps — iOSA good idea is about ten percent and implementation and hard work, and luck is 90 percent. — Guy Kawasakimedium.com App Group 讓不同的 App 或是 App & App extension 之間可以透過以下兩種方法共享資料(不過必須是同一個帳號開發的 …
[!] The `Yiju [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-Yiju/Pods-Yiju.release.xcconfig’. This can lead to problems with the CocoaPods installation – Use the `$(inherited)` flag, or – Remove the build settings from the target. SOLVED: Target – > build settings- > BuildOptions-> Validate Build Product, Here the …
Read more “– Use the `$(inherited)` flag, or – Remove the build settings from the target.”