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
// https://www.spanish.academy/blog/1000-most-common-spanish-words-for-beginners/ | |
function scrape() { | |
const words = []; | |
const parent = document.querySelectorAll(".blog_content")[0]; | |
let currentSection = [null, null]; | |
let currentSubsection = [null, null]; | |
for (const child of parent.children) { | |
switch (child.tagName.toLowerCase()) { |
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
body { | |
margin: 0; | |
font-size: 16px !important; | |
text-rendering: optimizeLegibility; | |
} | |
img[src="y18.gif"] { | |
margin-right: 5px; | |
} |
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
open Js.String | |
module Ops = struct | |
type t = | |
| Delete of string * int | |
| Insert of string * string * int | |
| Replace of string * string * int | |
let run op = match op with | |
| Delete (str, i) -> |
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 | |
KEYCHAIN="secrets.keychain" | |
main () { | |
if [[ -z "$1" ]]; then | |
print_usage | |
fi | |
case "$1" in |