This file contains hidden or 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
| export ME_EMOJI=(🍕 🔥 💪 ⛷ 🤷 🤞 🤔 🤠 👩🎤 👾 👻 🌊 🚀 👉 🗿 🦅 👩🏿🚀 ☠ 😑 👀 👩🏻🔬 ⚡️ ☃️ 🌪 💨 🌮 🍺 🥃 🏊🏻♀️ 🏋🏽♀️ ⛺️ 🌋 🏔 🌁 🏞 💣) | |
| RANDOM_ME_EMOJI=${ME_EMOJI[$((RANDOM%${#ME_EMOJI[@]}))]}; | |
| export PS1="${RANDOM_ME_EMOJI} \w $ " |
This file contains hidden or 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
| """ | |
| input_data = { | |
| "api_key": "some-api-key", | |
| "zip": "11235", # | |
| "state": "NY", # State of polling place | |
| "street": "510 Claremont Ave", # Address of Polling Place | |
| "vicinities": "address1,address2,address3", # Comma separated list of vicinities returbed from Google Places query | |
| } | |
| Example Google Places Query: |
This file contains hidden or 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
| <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.3/iframeResizer.min.js"></script> | |
| <iframe width="70%" height="1350" id="iframe1" src="" scrolling="no" style="overflow: hidden; height: 1350px;"></iframe> | |
| <script> | |
| function getUrlVars() { | |
| var vars = {}; | |
| var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function ( | |
| m, | |
| key, |
This file contains hidden or 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
| { | |
| "AL": "https://www.workelections.com/states/1/Alabama", | |
| "AK": "https://www.workelections.com/states/2/Alaska", | |
| "AZ": "https://www.workelections.com/states/4/Arizona", | |
| "AR": "https://www.workelections.com/states/5/Arkansas", | |
| "CA": "https://www.workelections.com/states/6/California", | |
| "CO": "https://www.workelections.com/states/8/Colorado", | |
| "CT": "https://www.workelections.com/states/9/Connecticut", | |
| "DE": "https://www.workelections.com/states/10/Delaware", | |
| "DC": "https://www.workelections.com/states/11/DistrictofColumbia", |
This file contains hidden or 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
| const fetch = require('node-fetch') | |
| const PIZZA_HUT_ENDPOINT = 'https://www.pizzahut.com/api.php/site/api_ajax/search/delivery' | |
| const getCookies = async() => { | |
| const resp = await fetch(PIZZA_HUT_ENDPOINT, { method: 'post' }) | |
| return resp.headers.get('set-cookie').split(',').map((el) => (`${el.split(';')[0]}`)).join(';') | |
| } |
This file contains hidden or 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
| // HOW TO USE | |
| // 1. Visit https://api.themoviedb.org/what in your browser | |
| // 2. Open your javascript console | |
| // 3. Update the two constants below | |
| // 4. Paste into the console | |
| const API_KEY = "ADD-YOUR-API-KEY" | |
| const LIST_ID = "ADD-LIST-ID" | |
| const { items } = await (await fetch(`https://api.themoviedb.org/3/list/${LIST_ID}?api_key=${API_KEY}`)).json() |
This file contains hidden or 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 json | |
| import os | |
| from datetime import datetime, timedelta, timezone | |
| from dateutil import parser | |
| from urllib.parse import quote | |
| import time | |
| import requests | |
| APIKEY = os.getenv("GITLAB_APIKEY", "") |
OlderNewer