Skip to content

Instantly share code, notes, and snippets.

View skhzhang's full-sized avatar

Simon Zhang skhzhang

View GitHub Profile
@SciresM
SciresM / ushabti.py
Last active March 28, 2021 22:28
Ushabti predictor for Spelunky 2 seeded runs.
import sys
# Spelunky 2 ushabti prediction for seeded runs, author SciresM.
def u32(v):
return v & 0xFFFFFFFF
def u64(v):
return v & 0xFFFFFFFFFFFFFFFF
@skhzhang
skhzhang / youtube_migrate.py
Last active June 30, 2020 07:04 — forked from maxpoletaev/youtube_migrate.py
Transfer YouTube subscriptions to another account
"""
Automatic migration of subscriptions to another
YouTube account with Python and Selenium.
Tested with:
- selenium 3.0
- firefox 49.0
- python 3.5
1. Install selenium from pypi:
@maxpoletaev
maxpoletaev / youtube_migrate.py
Last active July 31, 2021 16:52
Transfer YouTube subscriptions to another account
"""
Automatic migration of subscriptions to another
YouTube account with Python and Selenium.
Tested with:
- selenium 3.0
- firefox 49.0
- python 3.5
1. Install selenium from pypi:
@z11h
z11h / header.html
Last active August 4, 2016 04:53
Awesome Mobile Features for Mobile Sites
<title>TITLE HERE</title>
<meta name="description" content="DESCRIPTION ">
<!-- Mobile features -->
<link rel="apple-touch-startup-image" href="favicon.ico">
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="apple-touch-icon" type="image/png" href="favicon.ico">
<link rel="icon" sizes="144x144" href="favicon.ico">
<link rel="icon" sizes="192x192" href="favicon.ico">
@addyosmani
addyosmani / README.md
Last active July 24, 2024 10:54 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version