こっちを参考 -> UbuntuにSwiftとPerfectLibをインストールする
$ sudo apt-get install nginx
| sed -i '' 's/ProvisioningStyle = Automatic;/ProvisioningStyle = Manual;/' <ProjectName>.xcodeproj/project.pbxproj |
| #!/usr/bin/ruby | |
| require 'xcodeproj' | |
| # ============================================ | |
| # !!! I've released a ruby gem that does the same thing, but better. | |
| # You can install it by running `gem install xcprovisioner` or | |
| # `sudo gem install xcprovisioner` if it asks for sudo rights. | |
| # | |
| # For more info: https://github.com/thelvis4/XCProvisioner |
| #!/bin/sh | |
| UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
| # make sure the output directory exists | |
| mkdir -p "${UNIVERSAL_OUTPUTFOLDER}" | |
| # Step 1. Build Device and Simulator versions | |
| xcodebuild -target "${PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphoneos BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" clean build | |
| xcodebuild -target "${PROJECT_NAME}" -configuration ${CONFIGURATION} -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" clean build |
| http://szulctomasz.com/how-do-I-build-a-network-layer/ |
| openssl s_client -connect host.com:443 | |
| // copy from output -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- to cert.pem file | |
| openssl x509 -inform PEM -outform DER -in cert.pem -out cert.der |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>items</key> | |
| <array> | |
| <dict> | |
| <key>assets</key> | |
| <array> | |
| <dict> |
こっちを参考 -> UbuntuにSwiftとPerfectLibをインストールする
$ sudo apt-get install nginx
| # Via @srynearson tweet https://twitter.com/Srynearson/status/534421250261942272 #kudos Bill Mullady | |
| # Re: http://community.arubanetworks.com/t5/Unified-Wired-Wireless-Access/Mac-OS-X-Lion-MacBook-Air-issue/m-p/113885#M24396 | |
| sudo defaults read /Library/Preferences/com.apple.airport.opproam | |
| Password: | |
| { | |
| deltaRSSI = 10; | |
| disabled = 0; | |
| useBonjour = 0; | |
| useBroadcastBSSID = 1; |
| // | |
| // NSOperationQueue+Completion.h | |
| // QueueTest | |
| // | |
| // Created by Artem Stepanenko on 23.11.13. | |
| // Copyright (c) 2013 Artem Stepanenko. All rights reserved. | |
| // | |
| typedef void (^NSOperationQueueCompletion) (void); |
| openssl pkcs12 -in pushcert.p12 -out pushcert.pem -nodes -clcerts | |
| #chek | |
| openssl s_client -connect gateway.push.apple.com:2195 -cert pushcert.pem |