I always see commands like curl -LsS https://www.example.com over the internet, I never remember what does each flag do, and man curl is overwhelming.
This is the list of the flags I use the most.
| setTimeout( | |
| () => | |
| navigator.clipboard.writeText( | |
| [...document.getElementById("tablaMovimientos").rows] | |
| .filter(({ id, children: [, { innerText: description }] }) => id.startsWith("idexpand") && /\d{3}\s\d{3}\s*$/.test(description)) | |
| .map(({ children: [, { innerText: description }, { innerText: amount }] }) => [description, amount].join("\t")) | |
| .join("\n") | |
| ), | |
| 1000 | |
| ); |
| <?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>DisplayProductName</key> | |
| <string>Sceptre C355W-3440UN</string> | |
| <key>DisplayProductID</key> | |
| <integer>3511</integer> | |
| <key>DisplayVendorID</key> | |
| <integer>19988</integer> |
| [package] | |
| name = "hello_world" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [profile.dev] | |
| panic = "abort" | |
| [profile.release] | |
| lto = true |
| # Días de los años 2000 a 2023 en que las entidades financieras sujetas a la | |
| # supervisión de la Comisión Nacional Bancaria y de Valores (México) deberán | |
| # cerrar sus puertas y suspender operaciones. | |
| # | |
| # Archivo en formato TOML creado por Aldo Fregoso, publicado como obra de | |
| # dominio público y ofrecido sin garantía ni soporte de ningún tipo. | |
| # | |
| # === | |
| # | |
| # English: Mexico’s Bank Holidays from 2000 to 2023. |
| // Algorithm by Tom O’Beirne | |
| // (1961) Puzzles and Paradoxes. New Scientist, No. 228, p. 829, Table 1 | |
| // https://books.google.com/books?id=zfzhCoOHurwC&pg=PA829 | |
| // | |
| // Implementation in JavaScript by Aldo Fregoso. | |
| // Released under public domain without any kind of warranty or support. | |
| // | |
| function oBeirnesEasterAlgo(x) { | |
| assert(x != 0, "Year zero does not exist in the Anno Domini (AD) calendar year system."); | |
| if (x <= 1582) { |
| <# | |
| .Synopsis | |
| Provides access to Windows CredMan basic functionality for client scripts | |
| ****************** IMPORTANT ****************** | |
| * | |
| * If you use this script from the PS console, you | |
| * should ALWAYS pass the Target, User and Password | |
| * parameters using single quotes: | |
| * |
| ```bash | |
| # macOS | |
| brew install --cask brave-browser | |
| # Linux | |
| flatpak install flathub com.brave.Browser | |
| ``` | |
| -> Settings | |
| -> Get started | |
| -> On startup |
| sed -i.bak '/var isSimulator: Bool {/,/^ }/c\ | |
| var isSimulator: Bool {\ | |
| #if targetEnvironment(simulator)\ | |
| return true\ | |
| #else\ | |
| return false\ | |
| #endif\ | |
| }' node_modules/expo-device/ios/UIDevice.swift |