Skip to content

Instantly share code, notes, and snippets.

@callezenwaka
callezenwaka / check.py
Last active November 9, 2022 07:52
How To Check If Python Is 32 Or 64-bit
# First import struct module.
import struct
# Return 64 means 64-bit version, return 32 means 32-bit version.
version = struct.calcsize("P") * 8
print(version)
@callezenwaka
callezenwaka / theme.html
Created August 29, 2024 09:44
This is theme selection html boilerplate.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML 5 Boilerplate</title>
<link rel="stylesheet" href="style.css">
<style>
:root {
@callezenwaka
callezenwaka / pyenv.md
Last active May 9, 2025 11:32
Steps to Use `pyenv` to Create and Activate a Virtual Environment.

Summary of Commands

By following these steps, you can manage multiple Python versions and virtual environments efficiently using pyenv.

Install Python Version:

pyenv install <version>

Install a Python Version: