How to use:
./wordle.sh
Or try the unlimit mode:
function myFunction() { | |
var Email = "you@domain.com" | |
var Sbj = "Subject" | |
var msg = "Body" | |
var i =0 //Dont change this | |
var qty = 50 //Number of messages to send. | |
while(i<qty){ | |
MailApp.sendEmail(Email, Sbj, msg); | |
i++ | |
} |
# http://ruby-doc.org/stdlib-2.0.0/libdoc/open-uri/rdoc/OpenURI.html | |
require 'open-uri' | |
# https://github.com/flori/json | |
require 'json' | |
# http://stackoverflow.com/questions/9008847/what-is-difference-between-p-and-pp | |
require 'pp' | |
# Construct the URL we'll be calling | |
request_uri = 'http://localhost:3000/users.json' | |
request_query = '' |
# MIT License | |
# | |
# Copyright (c) 2021 Matthew Schweiss | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
function getSearchRSS(query){ | |
let results = YouTube.Search.list('id, snippet', { | |
q: query, | |
maxResults: 50, | |
order: 'date' | |
}); | |
let encoded_query = encodeURIComponent(query) | |
let rss_url = ScriptApp.getService().getUrl() + "?" + encoded_query; |