Issue name
Draft|Proposed|Fixed|Deprecated|Rejected
Where Draft: Working on a proposal.
| /** | |
| * Torneo Tortuga config | |
| * | |
| * SETUP | |
| * Add bookmarklet to: | |
| * javascript:(async()=>{const MONTHS={"01":"Enero","02":"Febrero","03":"Marzo","04":"Abril","05":"Mayo","06":"Junio","07":"Julio","08":"Agosto","09":"Septiembre","10":"Octubre","11":"Noviembre","12":"Diciembre"};const sleep=(ms)=>new Promise(resolve=>setTimeout(resolve,ms));let myyear=prompt("¿Año?");if(myyear<2000){myyear=`20${myyear}`;}let mymonth=prompt("¿Mes?");mymonth=String(mymonth).padStart(2,"0");document.querySelector("button.bga-new-tournament__mode-picker__swissSystemV2").click();await sleep(250);document.querySelector(".bga-new-tournament__registration_config__visibility button").click();await sleep(250);document.querySelector(".bga-dropdown-option-open").click();await sleep(250);document.querySelector(".bga-new-tournament__planning-config__speed-mode button").click();await sleep(250);document.querySelector(".bga-dropdown-option-tb").click();await sleep(250);const NAME="Torneo Tortuga Carcassonne Spain";document.querySelector("input |
| /** | |
| * This Google Sheets script keeps data in the specified column sorted any time | |
| * the data changes. | |
| * | |
| * After much research, there wasn't an easy way to automatically keep a column | |
| * sorted in Google Sheets, and creating a second sheet to act as a "view" to | |
| * my primary one in order to achieve that was not an option. Instead, I | |
| * created a script that watches for when a cell is edited and triggers | |
| * an auto sort. | |
| * |
| /* | |
| Usage: | |
| 1. Go to some BGA Carcassonne game, review, | |
| and jump to the point you are interested in. | |
| 2. Open developer console (F12) | |
| 3. Go to console tab. | |
| 4. Paste code below. | |
| Alternative to that, you can create a new bookmark in your browser pointing at: |
| +-------------------------------------------------------------------------------------------------------------------------------+ | |
| | Feature Perl Python | | |
| +-------------------------------------------------------------------------------------------------------------------------------+ | |
| | Documentation perlpod docstrings | | |
| | check doc perldoc MODULE class.__doc__ | | |
| | Filter grep { COND } @array [ x for x in list if COND ] | | |
| | Format strings "x: $x" "x: {}".format(x) | | |
| | "x: {x}" |
| ################################################################################ | |
| # ------------------------- | |
| # BASH PROMPT CONFIGURATION | |
| # ------------------------- | |
| # Description: | |
| # Shows a nicer bash prompt: | |
| # ▶ 🖳 mypc ▶ documents ▶ ⎇ master ▶ 𝍠 ✔ | |
| # -------- --------- ---------- --- ----- | |
| # | | | | | | |
| # hostname folder git branch jobs last command result |
| " vim:fdm=marker | |
| " Info {{{ | |
| " Description: | |
| " This vimrc starts a new mysql terminal automatically providing syntax | |
| " highlighting and other features to the mysql client. | |
| " Check the mappings to see some useful stuff. | |
| " | |
| " Installation: | |
| " If you you are using vundle in your normal vim just copy this file to |
| # Description | |
| # =========== | |
| # This will change your prompt to something useful like: | |
| # | |
| # david@dgarciapc/fix-flux-capacitor:~/projects/manhattan #2 :) $ | |
| # ----- ----- ----- ----- - | | |
| # | | | | | | |
| # user hostname git branch current folder jobs last command result | |
| # | |
| # If the last command exit with an error the last bit will change to :( |
| #!/usr/bin/perl | |
| # ---------------------------------------------------------------------------- | |
| # Ejecuta ciertas tareas cuando un fichero se descarga. | |
| # Info amule: http://wiki.amule.org/index.php/Events | |
| # | |
| # Tareas ejecutadas: | |
| # - Se crean tantos enlaces duros como carpetas existan en @folders. Al tener | |
| # cada usuario una carpeta independiente esto posibilita que un usuario se | |
| # descargue un fichero y lo pueda eliminar inmediatamente. | |
| # El fichero existira hasta que todos los usuarios lo borren. |
| #!/bin/bash | |
| # Tail an apache log an put some colors into the output | |
| # www.davideg.es | |
| shopt -s expand_aliases | |
| alias grey-grep="GREP_COLOR='1;30' grep -E --color=always --line-buffered" | |
| alias red-grep="GREP_COLOR='1;31' grep -E --color=always --line-buffered" | |
| alias green-grep="GREP_COLOR='1;32' grep -E --color=always --line-buffered" | |
| alias yellow-grep="GREP_COLOR='1;33' grep -E --color=always --line-buffered" |