Kudos to github copilot!
I wrote this:
// Verify that for each indiividual midi state, the states with notes on form a dense cluster.
for _, ms := range o.States {And copilot suggested this:
| // ==UserScript== | |
| // @name Instagram story anonymous | |
| // @namespace http://jeffpalm.com/ | |
| // @version 0.1 | |
| // @description Anonymously visit certain users' Instagram stories | |
| // @author Jeff Palm | |
| // @match https://www.instagram.com/* | |
| // @grant none | |
| // ==/UserScript== |
| /* | |
| * Purpose: | |
| * To check up on you, in case you have a pet or are travelling. | |
| * | |
| * How it works: | |
| * - You will add a calendar invite every day or more than that | |
| * with a link to send a email to yourself with a sentinel | |
| * string (i.e. `TAG` below). | |
| * - This script will periodically check your inbox for a message | |
| *. with `TAG`, if it doesn't an email will go to a set of |
Kudos to github copilot!
I wrote this:
// Verify that for each indiividual midi state, the states with notes on form a dense cluster.
for _, ms := range o.States {And copilot suggested this:
| <html> | |
| <head> | |
| <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> | |
| </head> | |
| <body> | |
| <table id="tab" border=0></table> | |
| <script> | |
| const black = 'https://abs-0.twimg.com/emoji/v2/svg/2b1c.svg'; | |
| const yellow = 'https://abs-0.twimg.com/emoji/v2/svg/1f7e8.svg'; | |
| const green = 'https://abs-0.twimg.com/emoji/v2/svg/1f7e9.svg'; |
A friend of mine had a few parking tickets, so I wanted to calibrate against something--I chose my latest Lyft drives. So, below is a list of parking fines for my latst lyft drivers, with the license plates hidden a little.
To find your own:
| /* | |
| Finds the total number of seconds in public tracks from your soundcloud. | |
| Usage: | |
| 1. Navigate to https://soundcloud.com/you/tracks | |
| 2. Cycle through your tracks and run this on each page. | |
| 3. The total will print out on every run, e.g. 'total seconds 20657' | |
| */ | |
| (function () { | |
| let soundBadges = document.getElementsByClassName('soundBadge'); |
| """ | |
| Produces markdown output of all Google Keep notes containing a certain phrase. | |
| Requirements: | |
| pip install gkeepapi | |
| Usage: | |
| python keepdocs.py <gmail-username> <gmail-password> <query> | |
| Example: |
| (function() { | |
| let divs = document.getElementsByTagName('div'); | |
| let count = 0; | |
| for (var i = 0; i < divs.length; i++) { | |
| let div = divs[i]; | |
| if (div.getAttribute('aria-label') && | |
| div.getAttribute('aria-label').match(/.*\. Like$/)) { | |
| div.style.backgroundColor = '#00ff00'; | |
| div.click(); | |
| count++; |
| """Print out nytimes kentucky governors results | |
| e.g. | |
| while [[ 1 ]]; do echo; echo ; date; python ./nytimes.py; sleep 5; done | |
| """ | |
| import urllib, json |