Skip to content

Instantly share code, notes, and snippets.

@YesThatAllen
YesThatAllen / pkgresign.c
Created Jun 7, 2021 — forked from kurash/pkgresign.c
Add RSA signature to OSX packages (pkg)
View pkgresign.c
/*
(c) 2012-2016 Sassafras Software Inc.
Provided "as is" under the terms of the MIT license, no warranty, use at your own risk
*/
/*
to build:
cc pkgresign.c -framework Security -framework CoreFoundation -lxar -o pkgresign
*/
View other-failure.log
8A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
config.js.src.js:73 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
b.<computed>.d.<computed> @ config.js.src.js:114
(anonymous) @ config.js.src.js:20
m @ config.js.src.js:20
(anonymous) @ config.js.src.js:125
execCb @ require.js.src.js:1695
check @ require.js.src.js:851
(anonymous) @ require.js.src.js:1138
(anonymous) @ require.js.src.js:113
@YesThatAllen
YesThatAllen / Makefile
Created Jul 12, 2019 — forked from shpakovski/Makefile
Mac app notarization from the command line
View Makefile
.PHONY: notarize
SIGNING_CERTIFICATE := $(shell security find-certificate -Z -c "Developer ID Application:" | grep "SHA-1" | awk 'NF { print $$NF }')
TEAM_ID := $(shell security find-certificate -c "Developer ID Application:" | grep "alis" | awk 'NF { print $$NF }' | tr -d \(\)\")
EXPORT_PATH := $(XCS_ARCHIVE)/Submissions
BUNDLE_APP := $(EXPORT_PATH)/NewMacApp.app
BUNDLE_ZIP := $(EXPORT_PATH)/NewMacApp.zip
UPLOAD_INFO_PLIST := $(EXPORT_PATH)/UploadInfo.plist
REQUEST_INFO_PLIST := $(EXPORT_PATH)/RequestInfo.plist
AUDIT_INFO_JSON := $(EXPORT_PATH)/AuditInfo.json
View keybase.md

Keybase proof

I hereby claim:

  • I am yesthatallen on github.
  • I am yesthatallen (https://keybase.io/yesthatallen) on keybase.
  • I have a public key ASAx01BNMMhtbA5-V6ySeFpX6rTjX9rpa6G4X6X01D9PZgo

To claim this, I am signing this object:

@YesThatAllen
YesThatAllen / common_functions.rb
Last active Jul 8, 2018 — forked from srpomeroy/common_functions.rb
Commonly used functions in RightScale CATs In order to create a URL link to a server, you need to grab what is called the `legacy_id`. This property is currently only available in API 1.6: http://reference.rightscale.com/api1.6/index.html#/1.6/controller/V1_6-Definitions-Instances Check out the `get_server_access_link` definition in the followin…
View common_functions.rb
# Required prolog
name 'LIB - Common functions'
rs_ca_ver 20160622
short_description "Common functions"
package "common/functions"
# Checks if the account supports the selected cloud
define checkCloudSupport($cloud_name, $param_location) do
# Gather up the list of clouds supported in this account.
@YesThatAllen
YesThatAllen / github_issues_to_csv.py
Created May 4, 2018 — forked from patrickfuller/github_issues_to_csv.py
Export Issues from Github repo to CSV (API v3)
View github_issues_to_csv.py
"""
Exports issues from a list of repositories to individual csv files.
Uses basic authentication (Github username + password) to retrieve issues
from a repository that username has access to. Supports Github API v3.
Forked from: unbracketed/export_repo_issues_to_csv.py
"""
import argparse
import csv
from getpass import getpass
import requests
@YesThatAllen
YesThatAllen / git-recover-branch.md
Created Dec 16, 2016 — forked from jbgo/git-recover-branch.md
How to recover a git branch you accidentally deleted
View git-recover-branch.md

UPDATE: A better way! (August 2015)

As pointed out by @johntyree in the comments, using git reflog is easier and more reliable. Thanks for the suggestion!

 $ git reflog
1ed7510 HEAD@{1}: checkout: moving from develop to 1ed7510
3970d09 HEAD@{2}: checkout: moving from b-fix-build to develop
1ed7510 HEAD@{3}: commit: got everything working the way I want
70b3696 HEAD@{4}: commit: upgrade rails, do some refactoring
@YesThatAllen
YesThatAllen / autodmg.log
Created Oct 16, 2016
AutoDMG Debug log with kernel's disk i/o errors added inline
View autodmg.log
2016-10-16 11:52:42 Info: AutoDMG v1.6 build 452
2016-10-16 11:52:42 Info: Mac OS X 10.12 16A323
2016-10-16 11:52:42 Info: CPython 2.7.10 (GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34))
2016-10-16 11:52:42 Info: PyObjC 2.5.1
2016-10-16 11:52:42 Info: Loading update profiles with PublicationDate 2016-10-15 15:21:22 +0000
2016-10-16 11:52:42 Debug: (IEDUpdateController:185) profilesUpdated
2016-10-16 11:52:42 Info: Pruning cache
2016-10-16 11:52:42 Info: Found iTunes12.5.1(c94f238).dmg -> c94f2386e780fdef391d2636c9bd7b692f9ceeca
2016-10-16 11:52:42 Debug: (IEDController:46) awakeFromNib
2016-10-16 11:52:42 Debug: (IEDSocketListener:34) Creating socket at /tmp/se.gu.it.IEDSocketListener.6058c1072d10632d
View wp_wpsl_stores.sql
# ************************************************************
# Sequel Pro SQL dump
# Version 4096
#
# http://www.sequelpro.com/
#
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
View gist:fde1a2cef616a8741bdc
12/1/14 11:06:12.402 PM nsurlstoraged[320]: realpath() returned NULL for /var/root/Library/Caches/jamf
12/1/14 11:06:12.402 PM nsurlstoraged[320]: The read-connection to the DB=/var/root/Library/Caches/jamf/Cache.db is NOT valid. Unable to determine schema version.
12/1/14 11:06:12.403 PM nsurlstoraged[320]: realpath() returned NULL for /var/root/Library/Caches/jamf
12/1/14 11:06:12.403 PM nsurlstoraged[320]: realpath() returned NULL for /var/root/Library/Caches/jamf
12/1/14 11:06:12.403 PM nsurlstoraged[320]: ERROR: unable to determine file-system usage for FS-backed cache at /var/root/Library/Caches/jamf/fsCachedData. Errno=13
12/1/14 11:24:07.714 PM nsurlstoraged[320]: realpath() returned NULL for /var/root/Library/Caches/jamf
12/1/14 11:24:07.714 PM nsurlstoraged[320]: The read-connection to the DB=/var/root/Library/Caches/jamf/Cache.db is NOT valid. Unable to determine schema version.
12/1/14 11:24:07.714 PM nsurlstoraged[320]: realpath() returned NULL for /var/root/Library/Caches/jamf
12/1/14 11:24:07