Skip to content

Instantly share code, notes, and snippets.

@jinzhubaofu
jinzhubaofu / docker-compose-node-mongo.yml
Created July 8, 2018 06:31 — forked from wesleybliss/docker-compose-node-mongo.yml
Docker Compose with example App & Mongo
version: '2'
services:
myapp:
build: .
container_name: "myapp"
image: debian/latest
environment:
- NODE_ENV=development
- FOO=bar
volumes:
@jinzhubaofu
jinzhubaofu / udid-faq.md
Created March 2, 2016 03:17 — forked from hujunfeng/udid-faq.md
UDID, identifierForVendor and advertisingIdentifier FAQ

What's the difference between UUID, GUID and UDID?

  • UUID (Universally Unique Identifier): A sequence of 128 bits that can guarantee uniqueness across space and time, defined by [RFC 4122][rfc4122].

  • GUID (Globally Unique Identifier): Microsoft's implementation of the UUID specification; often used interchangeably with UUID.

  • UDID _(Unique Device Identifier)): A sequence of 40 hexadecimal characters that uniquely identify an iOS device (the device's Social Security Number, if you will). This value can be retrieved through iTunes, or found using UIDevice -uniqueIdentifier. Derived from hardware details like MAC address.

Is UDID deprecated?

@jinzhubaofu
jinzhubaofu / install-php.md
Last active November 18, 2015 05:00 — forked from oxUnd/install-php.md
Mac下安装php-cgi

Mac下使用 brew 安装 php-cgi

sudo xcode-select -s /Applications/Xcode.app