分类 TyranTek Apps 下的文章

装好vim-go插件后,本可以在vim中使用:GoInstallBinaries来安装各种依赖。
但可能网络不好使,需要go设置好7牛的代理来命令行安装包.

go install github.com/nsf/gocode@latest
go install github.com/bradfitz/goimports@latest
go install golang.org/x/tools/cmd/guru@latest
go install golang.org/x/tools/cmd/gorename@latest
go install github.com/rogpeppe/godef@latest
go install github.com/kisielk/errcheck@latest
go install github.com/jstemmer/gotags@latest
go install github.com/klauspost/asmfmt/cmd/asmfmt@latest
go install github.com/fatih/motion@latest
go install github.com/zmb3/gogetdoc@latest
go install github.com/josharian/impl@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go install github.com/fatih/gomodifytags@latest
go install honnef.co/go/tools/cmd/keyify@latest
go install golang.org/x/lint/golint@latest
go install github.com/davidrjenni/reftools/cmd/fillstruct@master
go install github.com/go-delve/delve/cmd/dlv@master
go install github.com/koron/iferr@master
go install golang.org/x/tools/gopls@latest

vim 插件代码使用python需满足几点

  1. vim编译支持了python
  2. vim编译是的python版本,那就装那个版本
  3. Vim版本的位数和python版本的位数一致。

查询vim支持和版本

:version
:py2 import sys
:py2 print(sys.version)

:py3 import sys
:py3 print(sys.version)

默认运行容器的时候,网络是一个隔离的子网络,不能通过localhost访问宿主机的端口

docker 官方从18版本开始提供host.docker.internal访问宿主机,但默认只能Mac和Windows使用。
Linux 从20.04版本开始支持通过添加运行参数的方式来支持.

--add-host=host.docker.internal:host-gateway

如果是老版本可以用下面的参数来让容器和宿主机出于同一个网络中。

--net="host"

需求:自动打包文件夹下的所有图片,如果超单纹理大小,自动拆分为多个文件。

TexturePacker  --multipack --texture-format png --format cocos2d --max-width 2048 --max-height 2048 --data {n}.plist --sheet {n}.png /target/rootDirOfPng

注意:rootDirOfPng不会被加入帧名,旗下的二级目录会加入。

TTAlbums & TTAlbums Pro make you iPhone/iPod touch or iPad to be a http server, access your photo albums via WiFi.

It make easy to share your photo and video to your friends.
Your Friend NO NEED install any app, the ONLY need is a browser which every phone or PC will have one.

Backup and share your contacts via WiFi,UTF8 encoding vcard, avoid garbled when import contacts to other phone. Best choose of non english user.

To learn How To Recover,click me.

As an additional feature, TTvCard Pro can access contacts via WiFi.
Provide a way to share your contacts to your friends.

Backup your contacts,UTF8 encoding vcard, avoid garbled when import contacts to other phone or PC. Best choose of non english user.

TTvCard backup all contacts in a single vcard file, and send it by mail.
But TTvCard will not recover contacts from vcard.
Instead, system email program will help us to recover contacts.

How to recover on iPhone,iPod touch or iPad:

  1. Open Mail program, found the mail send by TTvCard.
  2. Tap the attachment of vcard file.
  3. Tap Add All Contacnts.

How to import on Mac:

  1. Open Mail program, found the mail send by TTvCard.
  2. Save the .vcf file to disk.
  3. Open .vcf file by Address Book
  4. Click import button.

If you like this app, try to get TTvCard Pro.