Skip to content

Instantly share code, notes, and snippets.

View samkenxstream's full-sized avatar

Sam Ken samkenxstream

View GitHub Profile
@samkenxstream
samkenxstream / SAMkenXEcosystem
Last active January 20, 2024 07:25 — forked from anonymous/-
SAMkenXOS
Processor
---------
-Processors-
Intel(R) Pentium(R) CPU 2030M @ 2.50GHz : 1900.00MHz
Intel(R) Pentium(R) CPU 2030M @ 2.50GHz : 1700.00MHz
@samkenxstream
samkenxstream / asf-oauth-SAMkenXDAVID.py
Last active January 20, 2024 07:21 — forked from Humbedooh/asf-oauth-example.py
ASF Oauth SAMkenX
#!/usr/bin/env python3
""" ASF OAuth example in Python 3"""
import cgi
import os
import requests
import urllib
import uuid
def init_oauth():
@samkenxstream
samkenxstream / 0_urllib2.py
Created March 9, 2023 16:36 — forked from kennethreitz/0_urllib2.py
urllib2 vs requests
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib2
gh_url = 'https://api.github.com'
req = urllib2.Request(gh_url)
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm()
@samkenxstream
samkenxstream / SamKenX-data-server
Last active January 20, 2024 07:22 — forked from dbkinghorn/user-data-server
Ubuntu 20.04 user-data files for autoinstall ISO
#cloud-config
autoinstall:
version: 1
refresh-installer: # start with an up-to-date installer
update: yes
interactive-sections: # Install groups listed here will wait for user input
- storage
storage: # should set the interactive default but doesn't seem to work??
layout:
name: direct
@samkenxstream
samkenxstream / .git...HEAD
Created February 16, 2023 17:15
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.10+commit.fc410830.js&optimize=true&runs=200&gist=
ref: refs/heads/main
### Keybase proof
I hereby claim:
* I am samkenxstream on github.
* I am samkencoin (https://keybase.io/samkencoin) on keybase.
* I have a public key ASB7OpEQ95wLQQI55wKiqS0Ydon6bHW9ilyxFa7_NoBEswo
To claim this, I am signing this object: