Skip to content

Instantly share code, notes, and snippets.

@wrox
wrox / steamid_conversion.php
Created July 20, 2019 14:34 — forked from almirsarajcic/steamid_conversion.php
Functions used to convert 64bit Steam ID to 32bit and the other way around.
<?php
function convert_steamid_64bit_to_32bit($id)
{
$result = substr($id, 3) - 61197960265728;
return (string) $result;
}
function convert_steamid_32bit_to_64bit($id)
{

Keybase proof

I hereby claim:

  • I am wrox on github.
  • I am hi (https://keybase.io/hi) on keybase.
  • I have a public key ASAnpoqAj-xY1dXwKGcFDCaSm0W38gGPR_V_hvtApwZ7Two

To claim this, I am signing this object:

#!/bin/bash
# Usage: ./namesilo-domain-drop-grabber.sh example.com (optional: debug)
# Version: 2016-05-18
namesilo_api_key="1234" # https://www.namesilo.com/account_api.php
namesilo_api_mode="registerDomainDrop" # registerDomainDrop or registerDomain
domain_year="1"
domain_private="1"
domain_renew="1"