This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, os.path, hashlib, re | |
import zipfile | |
import subprocess | |
from StringIO import StringIO | |
from io import BytesIO | |
# | |
# Passbook Hack | |
# David Schuetz | |
# 30 May 2014 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Pre-requisite: You have to know your last commit message from your deleted branch. | |
git reflog | |
# Search for message in the list | |
# a901eda HEAD@{18}: commit: <last commit message> | |
# Now you have two options, either checkout revision or HEAD | |
git checkout a901eda | |
# Or | |
git checkout HEAD@{18} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adeventtracker.spotify.com | |
spclient.wg.spotify.com | |
d3rt1990lpmkn.cloudfront.net | |
adjust.com | |
doubleclick.net | |
googleadservices.com | |
googlesyndication.com | |
googletagmanager.com | |
googletagservices.com | |
google-analytics.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Only applied for "image-based timed text" (i.e. SVG-based, like Chinese, Japanese, ...) | |
// For DFXP-based subtitles (e.g., English), try the hidden settings: https://www.netflix.com/SubtitlePreferences | |
(() => { | |
const installScaler = () => { | |
const subRectElem = document.querySelector('rect.image-based-subtitles-rect'); | |
if (subRectElem) { | |
const subWrapperElem = subRectElem.parentNode; | |
const MutationObserver = window.MutationObserver || window.WebKitMutationObserver; | |
const config = {attributes: true, childList: true, characterData: true, }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You can place this into '.bash_profile' to make it more accessible. | |
# sslstatus google.com:443 | |
sslstatus() | |
{ | |
echo | |
a=(${1//:/ }) | |
PORT=443 | |
if [ "${#a[@]}" -ne 2 ]; then |