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
// ==UserScript== | |
// @name LA Times Registration Wall Bypasser | |
// @namespace https://gist.github.com/kitkat2 | |
// @description Bypasses the Los Angeles Times Regsitration wall | |
// @include https://*.latimes.com/* | |
// @version 1 | |
// @grant none | |
// @require http://code.jquery.com/jquery-3.1.1.min.js | |
// ==/UserScript== |
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 os | |
import sys | |
import pandas as pd | |
import pandas_datareader.data as web | |
import numpy as np | |
import time | |
import asyncio | |
from fake_useragent import UserAgent | |
'''set path variables''' | |
project_dir = "YOUR/PROJECT/DIR" |
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
require "rubygems" | |
require "yajl" | |
require "openssl" | |
require "socket" | |
device_token = '39cac56f 986a0e66 3c4fd4f4 68df5598 024d2ca3 8b9f307c 741c180e 9fc30c62' | |
device_token = device_token.gsub(" ", "") | |
the_byte_token = [device_token].pack("H*") | |
file = File.open("ruby_the_byte_token", "wb") |