Skip to content

Instantly share code, notes, and snippets.

dragon788 dragon788

  • Midwest, USA
Block or report user

Report or block dragon788

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yifanlu
yifanlu / E80558325.md
Last active Apr 15, 2018
Vita 3.65 activation investigation (E-80558325)
View E80558325.md

On 7/29/2017, all hacked Vitas on 3.60 spoofing the latest firmware (3.65) were blocked from console activation. This is particularly odd because the PSN passphrase did not change in 3.65. Additionally with the release of ensō added to the confusion of what happened. Here is the result of a preliminary investigation of the situation.

Upon game activation, the Vita displays an dialog that shows the error number E-80558325. This error number is used in SceNpKdc, which is found in vs0:external/np_kdc.suprx. The error code itself is created when the activation response is received:

v5 = v45 | 0x80558300;

Here, v5 is the return code and v45 is the string error code from the server converted to a number. The request made to Sony's server looks like the following

View HumanOps-mantra.rst
  1. Humans build and fix systems.
  2. Humans get tired and stressed, they feel happy and sad.
  3. Systems don't have feelings yet. They only have SLAs.
  4. Humans need to switch off and on again.
  5. The wellbeing of human operators impacts the reliability of systems.
  6. Alert Fatigue == Human Fatigue
  7. Automate as much as possible, escalate to a human as a last resort.
  8. Document everything. Train everyone. Save time.
  9. Kill the shame game.
  10. Human issues are system issues.
@webtobesocial
webtobesocial / openssl_commands.md
Last active May 19, 2019
Some list of openssl commands for check and verify your keys
View openssl_commands.md

openssl

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@dragon788
dragon788 / README.md
Last active May 11, 2019 — forked from atenni/README.md
How to permalink to a gist's raw file
View README.md

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]

@jamesallen-cm
jamesallen-cm / DSCBoxstarter
Last active Aug 17, 2016
DSC Boxstarter Links
View DSCBoxstarter
Open a Powershell prompt and paste one of the following commands.
SERVER:
START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/jamesallen-cm/2d08e881944da3cbcca6/raw/99c57af98e8966ff9b04dde7ba68fefd9681e647/DSCPullServerBootstrap-February
NODE:
START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/jamesallen-cm/627f076abeea333f520b/raw/63e15135a68129d3216910400b236b2cdc0b29e0/DSCNodeBootstrap-February
@weipah
weipah / import-portatour.ps1
Last active Nov 20, 2018
PowerShell V3 Multipart/formdata example with REST-API (Invoke-RestMethod)
View import-portatour.ps1
function Import-Portatour {
param (
[parameter(Mandatory=$True,Position=1)] [ValidateScript({ Test-Path -PathType Leaf $_ })] [String] $FilePath,
[parameter(Mandatory=$False,Position=2)] [System.URI] $ResultURL
)
# CONST
$CODEPAGE = "iso-8859-1" # alternatives are ASCII, UTF-8
# We have a REST-Endpoint
$RESTURL = "https://my.portatour.net/a/api/ImportCustomers/"
@dfinke
dfinke / ConvertFrom-JsonToCsv.ps1
Created Feb 16, 2015
Using PowerShell to Convert From JSON to CSV format
View ConvertFrom-JsonToCsv.ps1
function ConvertFrom-JsonToCsv {
param(
[Parameter(ValueFromPipeline)]
$json
)
Process {
($json | ConvertFrom-Json) | ConvertTo-Csv -NoTypeInformation
}
}
@PuKoren
PuKoren / digicert_to_aws.sh
Created Jan 10, 2015
Upload Digicert certificate to Amazon Web Services (AWS)
View digicert_to_aws.sh
#!/bin/sh
# $1: certificate name on AWS
# $2: certificate file (crt)
# $3: private key file (pem)
# $4: DigicertCA2 path
# $5: TrustedRoot path
# Download certificates on Digicert (Other formats > Individual crt files with a .cer extension)
# Generate intermediate cert for AWS (not an option, many browsers requires it it). Intermediate is concatenation of CA and Root certs
(openssl x509 -inform PEM -in $4; openssl x509 -inform PEM -in $5) > Intermediate.cer
@mattgray
mattgray / .kitchen.local.yml
Created Dec 23, 2014
Test Kitchen .kitchen.local.yml to enable Virtualbox Vagrant backend to use Host DNS for VPN
View .kitchen.local.yml
driver:
name: vagrant
customize:
natdnshostresolver1: 'on'
@luislavena
luislavena / howto-manually-add-trust-cert-to-rubygems.md
Last active May 8, 2019
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)
View howto-manually-add-trust-cert-to-rubygems.md

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2016-12-01: Please refer to the official guide instead of this process.

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


Hello,

You can’t perform that action at this time.