This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "Building libplist..." | |
| git clone http://cgit.sukimashita.com/libplist.git/ > /dev/null | |
| cd libplist | |
| mkdir build | |
| cd build | |
| cmake --prefix=/usr .. | |
| make | |
| sudo make install | |
| cd ../../ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Simple script to fetch IMAP data from iCloud | |
| # Set ICLOUD_EMAIL and ICLOUD_PASSWORD to environment variables | |
| require 'net/imap' | |
| require 'active_support' | |
| imap = Net::IMAP.new('imap.mail.me.com', 993, true) | |
| imap.login(ENV['ICLOUD_EMAIL'], ENV['ICLOUD_PASSWORD']) | |
| imap.select 'INBOX' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Find out your iCloud BTMM domain | |
| dns-sd -E | |
| # List Computers | |
| dns-sd -B _ssh <12345678>.members.btmm.icloud.com | |
| # Connect | |
| ssh <username>@<computer-name>.<12345678>.members.btmm.icloud.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' | |
| red='\033[0;31m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST /api/client/asset/retrieve/token HTTP/1.1 | |
| Host: p29-ckdatabase.icloud.com:443 | |
| X-Apple-Request-UUID: AA181E9B-0AD3-4D32-9496-49864F6013D1 | |
| Accept: application/x-protobuf | |
| Content-Encoding: gzip | |
| X-CloudKit-UserId: _06d9280ffcc33808080bf05f7c23cfd8 | |
| X-CloudKit-ContainerId: com.apple.clouddocs | |
| X-CloudKit-ProtocolVersion: client=1;comments=1;device=1;presence=1;records=1;sharing=1;subscriptions=1;users=1;mescal=1; | |
| X-MMe-Client-Info: <VMware7,1> <Mac OS X;10.10;14A389> <com.apple.cloudkit.CloudKitDaemon/259.2.3 (com.apple.cloudd/259.2.3)> | |
| Accept-Encoding: gzip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <xmlui action="replace"><alert cancelButtonTitle="Unlock" /> | |
| <page> | |
| <navigationBar title="blablabla" hidesBackButton="true"></navigationBar> | |
| <tableView> | |
| <section footer="blablabla" /> | |
| <section footer=""/> | |
| <section footer= "blablabla"/> | |
| <section> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| First attempt at bringing security into play with the .pem files. | |
| Only the security tool is used, no additional tools (openssl, etc.). | |
| This code does the following: | |
| - Creates the specified keychain if it doesn't exist | |
| - Unlocks it with the specified password | |
| - Configures it to not lock | |
| - Adds it to the keychain search paths if it's not present already (necessary for 10.9) | |
| - Import the client.pem cert / identity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function (t) { | |
| t || (t = window.location.href); | |
| var n = its.detect.currentPageIsMacAppStore() || its.url.queryParamValue("mt", t) == "12" || t.indexOf("associateVPPUserWithITSAccount") !== -1 || t.indexOf("vpp-associate") !== -1, | |
| r = its.detect.currentPageIsMacBookStore(), | |
| i = !1, | |
| s; | |
| n ? (i = its.detect.macAppStoreDetected(), s = "macappstore") : r && its.detect.macBookStoreDetected() ? (i = !0, s = "itms-books") : (i = its.detect.itunesDetected(), s = "itms"); | |
| if (i) { | |
| t = t.replace(/^http/, s); | |
| var o = t.indexOf("#"); |
NewerOlder