Add the xps2pdf.sh contents to your bashrc file. If you don't know what that means, then run the following:
curl -fsSL https://gist.githubusercontent.com/balupton/7f15f6627d90426f12b24a12a4ac5975/raw/xps2pdf.sh | bashUse like so:
| /* | |
| * Must be run from backgroup script as a user with the elevated security_admin role | |
| */ | |
| // migrate incident id values | |
| migrateIncidents(); | |
| // migrate group attributes from legacy update set application to the new Fuji store app | |
| migrateGroups(); |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'faraday' | |
| require 'json' | |
| require 'csv' | |
| class PagerDutyAgent | |
| attr_reader :requester_id | |
| attr_reader :token |
| #!/usr/bin/env ruby | |
| # Ruby script to create recurring maintenance windows in PagerDuty | |
| # | |
| # Copyright (c) 2012, PagerDuty, Inc. <[email protected]> | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # * Redistributions of source code must retain the above copyright |
| #!/usr/bin/env ruby | |
| # Ruby script to mirror an email incident as an API incident | |
| # | |
| # Copyright (c) 2011, PagerDuty, Inc. <[email protected]> | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # * Redistributions of source code must retain the above copyright |
| @echo off | |
| :: Download cURL with SSL support from here: http://www.paehl.com/open_source/?CURL_7.28.0: | |
| :: Extract curl.exe in the same directory as this bat file | |
| :: Usage: pagerduty.bat service_key event_type description incident_key | |
| :: event_types = (trigger | acknowledge | resolve) | |
| :: | |
| set service_key=%1 | |
| set service_key=%service_key:"=\"% | |
| set event_type=%2 | |
| set event_type=%event_type:"=\"% |
| # | |
| # | |
| # How to use this script: | |
| # | |
| # 1) You'll need to have Ruby installed on your machine. | |
| # Follow these instructions to install Ruby on your machine: https://docs.google.com/document/pub?id=1Eo3f77CC1Flkb2f71ro-NZCYK2VuA6ajxvcuTGG_c6Q | |
| # | |
| # 2) Once Ruby is installed, run the following from your command prompt: | |
| # gem install faraday --no-ri --no-rdoc | |
| # |
| #!/usr/bin/env perl | |
| # Nagios plugin that sends Nagios events to PagerDuty. | |
| # | |
| # Copyright (c) 2011, PagerDuty, Inc. <[email protected]> | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: |
| #!/usr/bin/ruby | |
| # Create display override file to force Mac OS X to use RGB mode for Display | |
| # see http://embdev.net/topic/284710 | |
| require 'base64' | |
| data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
| edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
| vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
To re-sign an iOS app with another developer account, ensure that the following are in place first.
Note that the Apple requires bundle IDs to be globally unique, even across accounts. So a bundle ID i.e. CFBundleIdentifier from one account can't be used in a different account, even though the team id/prefix would be different.
Ensure that the new distribution certificate is in your keychain and the new provisioning profile on your disk.
Payload/.app/