Skip to content

Instantly share code, notes, and snippets.

@EnoSkyFire
EnoSkyFire / ConvertNewSteamID.markdown
Created September 6, 2025 14:38 — forked from bcahue/ConvertNewSteamID.markdown
Converting New SteamID Formats in Python

Seeing how SteamIDs have changed recently, I thought I'd write a Gist to help others (including myself!) decypher how to convert these from one format to the other in Python. First, let's go over basics to convert a 64bit CommunityID into a SteamID:

steamid64ident = 76561197960265728

def commid_to_steamid(commid):
  steamid = []
  steamid.append('STEAM_0:')
  steamidacct = int(commid) - steamid64ident
  
@EnoSkyFire
EnoSkyFire / image-selector-with-reflection.markdown
Created August 7, 2020 20:07
image selector with reflection

image selector with reflection

Using a radio buttons to select an image with some styling. Not yet optimized for mobile friendly viewing.

A Pen by Paul on CodePen.

License.

@EnoSkyFire
EnoSkyFire / 3d-effect-on-hover-css-only.markdown
Created August 7, 2020 15:26
3D effect on hover - CSS only