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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/usr/local/sbin</string> | |
</dict> | |
<key>Label</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
import argparse | |
import teslapy | |
import requests | |
from twilio.rest import Client | |
def parse(): | |
parser = argparse.ArgumentParser(description='Tesla Charge Reminder via Twilio') | |
requredParser =parser.add_argument_group('Required arguments') | |
requredParser.add_argument('-e', '--email', help='Email for authentication.',required=True) |
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
#!/usr/bin/env bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Download Raycast Script | |
# @raycast.mode silent | |
# Optional parameters: | |
# @raycast.icon ⬇️ | |
# @raycast.packageName downloads script from clipboard |
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
._1OVBBWLtHoSPfGCRaPzpTf._3nSp9cdBpqL13CqjdMr2L_ { width: unset } | |
._1BFbVxT49QnrAN3fqGZ1z8._1tvThPWQpORoc2taKebHxs { display: none } |
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
#!/usr/bin/env bash | |
ran=$RANDOM | |
#rng=$(( $RANDOM % 1000 )); | |
#Better method to get the range: | |
rng=$(jot -r 1 10000 10001) #One numner between 10000 and 10001 | |
LIST="" | |
for i in $(seq 1 $rng); | |
do | |
num=$(( $RANDOM % 100 )); |
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 zipfile, time | |
def DeflateZip(locfile,loczipDef): | |
start = time.time() | |
zipDef = zipfile.ZipFile(loczipDef, "w", zipfile.ZIP_DEFLATED) | |
zipDef.write (locfile) | |
zipDef.close() | |
print(f'Deflate: {time.time() - start}') | |
def Bzip2Zip(locfile,loczipBz): |
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
#!/usr/bin/env bash | |
MIN=700000 #700KB | |
MAX=15000000 #15MB Probably | |
lol() { | |
for n in {0..100} | |
do | |
#f=`mktemp XXXXX` #if you want true random filenames | |
f="000"$n |
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
#!/bin/bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Battery Info | |
# @raycast.mode inline | |
# @raycast.refreshTime 1s | |
# @raycast.packageName Battery Info | |
# |
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 | |
from flask import Flask | |
from flask import request | |
from responses import get_cat_fact, get_activity | |
app = Flask(__name__) | |
# EXAMPLE REQUEST: GET 127.0.0.1:5000/ | |
@app.route('/getname', methods=['GET']) |
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
! 2021-12-01 https://www.reddit.com | |
www.reddit.com##.premium-banner | |
! 2021-12-05 https://forum.xda-developers.com | |
forum.xda-developers.com##.uix_sidebarNav | |
! 2021-12-07 https://trakt.tv | |
||trakt.tv/assets/ab69ec/bg-d59649d3b306288c91e8cba72140a81fb63e2721d6b7da7c5032e338215e92aa.jpg$image | |
! 2022-02-17 https://letterboxd.com |