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
'use strict'; | |
/** @type {!Array} */ | |
var a = ["moment-duration-format", "ansi-colors", "./config.json", "./Ratelimiter.js", "enmap", "enmap-mongo", "log-timestamp", "JatNE", "] %s", "karmaStore", "uRPao", "cOyiY", "gger", "vfXzD", "action", "UwXXG", "jnJFD", "IOzBW", "function *\\( *\\)", "eSEws", "ovORl", "GJUco", "WCdWA", "IfhGj", "MbHlu", "zVKyc", "VgvmJ", "DMLmv", "Irinl", "ePTYe", "BhypK", "FdaTi", "yhDxQ", "LaLNE", "OheMK", "FEvGY", "QFmlP", "ecdPA", "PLzYH", "verdv", "vwvDL", "AjcVI", "minus", "yJoUP", "plus", "DxXOq", "qxskk", | |
"thHtW", "lQMNR", "pBtKn", "Ngbzd", "NpPNC", "AzDux", "EqZMi", "DbbQt", "mCYRj", "YwSlX", "VkvbE", "seconds", "LllZK", "dd:hh:mm:ss", "OHMMs", "TshuR", "eval", "aGwoC", "WBiwD", "nOZjH", "fdOvf", "DQepk", "qrDzz", "ZwsSF", "jEqJp", "NuJNc", "REDACTED!", "CWCYz", "DliZg", "PeIsq", "fix", "QKmmY", "Mnjva", "author", "bot", "check", "euyBE", "debu", "call", "type", "cleanContent", "replace", "prefix", "trim", "has", "UBbos", "reply", "random", "user", "username", "displayAvatarU |
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
addEventListener('fetch', event => { | |
event.respondWith(createResponse(event.request)) | |
}) | |
async function createResponse(req) { | |
let domain = new URL(req.url).hostname.toString(); | |
if (domain !== 'giesela.blog') { | |
let redirectHeaders = new Headers() | |
redirectHeaders.set('Location', 'https://giesela.blog') | |
return new Response('', { |
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
#!/bin/bash | |
CACHEDIR="/Volumes/ramdisk-apfs" # set our home path for the ramdisk-apfs as the CACHEDIR variable | |
############################################################################# | |
# Chrome Cache | |
/bin/rm -rvf ~/Library/Caches/Google/Chrome/* |
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
{ | |
"title": "F9 to Screencapture [Clipboard]", | |
"rules": [{ | |
"description": "F9 to Screencapture [Clipboard]", | |
"manipulators": [{ | |
"type": "basic", | |
"from": { | |
"key_code": "f9" | |
}, | |
"to": [{ |
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
{ | |
"Thin Strokes" : 3, | |
"Working Directory" : "\/Users\/shikhirarora", | |
"Prompt Before Closing 2" : false, | |
"Selected Text Color" : { | |
"Green Component" : 0.88235294117647056, | |
"Blue Component" : 0.81176470588235294, | |
"Red Component" : 0.90196078431372551 | |
}, | |
"Rows" : 25, |
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
language: python | |
# ===== Linux ====== | |
dist: xenial | |
python: | |
- 2.7 | |
- 3.5 | |
- 3.6 | |
- 3.7 | |
matrix: | |
include: |
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
#!/bin/bash | |
# install latest 78 Chromedriver (https://chromedriver.chromium.org/downloads/version-selection) | |
# note: "Please don't rely on the LATEST_RELEASE file without a version suffix. It exists for backward compatibility only, and will be removed in the near future." | |
CHROME_VERSION=$(wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE_78 -q -O -) | |
echo "Setting up Chromedriver version $CHROME_VERSION ..." | |
CHROME_URL="https://chromedriver.storage.googleapis.com/${CHROME_VERSION}/chromedriver_linux64.zip" | |
wget -q -O /tmp/chromedriver.zip "$CHROME_URL" |
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
/** | |
* @license | |
* Copyright (C) 2013 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
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
# This program will take swag.csv and create a batch of USPS | |
# shipping labels in one PDF file for easy printing using | |
# the EasyPost simple shipping API. | |
# | |
# If you have any questions about EasyPost or want help | |
# modifying this script for other carriers or a non-US | |
# source address please email us anytime at contact@easypost.com | |
# | |
# Usage: | |
# easypost_batch_from_csv.rb |
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
FILE SPACING: | |
# double space a file | |
sed G | |
# double space a file which already has blank lines in it. Output file | |
# should contain no more than one blank line between lines of text. | |
sed '/^$/d;G' |