- Super blob (embedded signature = 0xfade0cc0)
- Blob (code directory = 0xfade0c02)
- Code signature (DER encoded)
- Blob wrapper (fade0b01)
- Length [4]
- Offset [4]
- Type? [4] = 256? (signature?)
- Blob (code directory = 0xfade0c02)
- Unknown [4] 239?
This file contains 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
#!/usr/bin/env python | |
""" Script to scrape images from a flickr account. | |
Author: Ralph Bean <rbean@redhat.com> | |
Added ability to get specific image sizes | |
Added thread pooling for faster retrieval of large sets of images | |
Added flickr api request caching for faster recovery | |
Author: Nathan Moinvaziri <nathan@nathanm.com> | |
""" |
This file contains 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 ConvertGuidStringToStaticGuid($GuidString) | |
{ | |
$g = [Guid]$GuidString | |
"{ " + | |
(@([BitConverter]::ToInt32(($g.ToByteArray() | Select -First 4),0), | |
[BitConverter]::ToInt16(($g.ToByteArray() | Select -Index (4..5)),0), | |
[BitConverter]::ToInt16(($g.ToByteArray() | Select -Index (6..7)),0) | |
) | ForEach-Object { "0x" + $_.ToString("x2").ToUpper() + "," }) + | |
" { 0x" + | |
[System.String]::Join(", 0x", |
This file contains 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
<?php | |
/** | |
* @package Awesome Support: Everybody Reply | |
* @author Nathan Moinvaziri <nathan@nathanm.com> | |
* @license MIT | |
* @link http://github.com/nmoinvaz/ | |
* @copyright 2018 Nathan Moinvaziri | |
* | |
* @wordpress-plugin | |
* Plugin Name: Awesome Support: Everybody Reply |
This file contains 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
/** | |
* Promise.prototype.finally | |
* | |
* Pulled from https://github.com/domenic/promises-unwrapping/issues/18#issuecomment-57801572 | |
* https://github.com/matthew-andrews/Promise.prototype.finally/blob/master/finally.js | |
* @author @stefanpenner, @matthew-andrews | |
* | |
* Promise.defer | |
* | |
* Pulled from http://bluebirdjs.com/docs/api/deferred-migration.html |
This file contains 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
// AngularJS v1.4.7 ie8 build | |
// Source: https://github.com/fergaldoyle/angular.js-ie8-builds | |
(function () { | |
// detect IE8 one way or another | |
/*one way | |
var ie=function(){ | |
for(var e,i=3,n=document.createElement("div"),t=n.getElementsByTagName("i"); | |
n.innerHTML="<!--[if gt IE "+ ++i+"]><i></i><![endif]-->",t[0];);return i>4?i:e |
This file contains 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
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
// https://github.com/mozilla/gecko-dev/blob/master/netwerk/base/ProxyAutoConfig.cpp | |
// These are some global helper symbols the PAC format requires that we provide | |
// that are initialized as part of the global javascript context used for PAC | |
// evaluations. Additionally dnsResolve(host) and myIpAddress() are supplied in | |
// the same context but are implemented as c++ helpers. alert(msg) is similarly |
To retrieve the public key from a PFX certificate using Powershell, use the following command:
$publicKey = (Get-PfxCertificate -FilePath mycert.pfx).GetPublicKey()
To convert the public key to a hex string without hyphens you can use this command:
[System.BitConverter]::ToString($publicKey).Replace("-", "")
Requires cross-platform iTMSTransporter tool written in Java. The Transporter command line utility uploads app binaries to iTunes Connect. It uses third-party delivery methods called Signiant and Aspera.
https://itunesconnect.apple.com/transporter/1.9.8/iTMSTransporterToolInstaller_1.9.8.exe https://help.apple.com/itc/transporteruserguide/#/apdAbeb95d60
iTMSTransporter contains several jar files that can be run with Java. They have a self-update mechanism that will update to the latest version of iTMSTransporter.
- Create an iTunes Music Store Package (.itmsp directory)
This file contains 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
/* crc32c_sse.c -- compute the CRC-32 of a data stream | |
* Copyright (C) 1995-2006, 2010, 2011, 2012 Mark Adler | |
* Copyright (C) 2016 Yang Zhang | |
* Copyright (C) 2019 Nathan Moinvaziri | |
* For conditions of distribution and use, see copyright notice in zlib.h | |
* | |
*/ | |
#ifdef X86_SSE4_2_CRC_HASH | |
#include <stdint.h> |
OlderNewer