Issue name
Draft|Proposed|Fixed|Deprecated|Rejected
Where Draft: Working on a proposal.
| /** | |
| * Torneo Tortuga config | |
| * | |
| * SETUP | |
| * Add bookmarklet to: | |
| * javascript:(function()%7Bconst%20MONTHS%20%3D%20%7B%0A%20%2201%22%3A%20%22Enero%22%2C%0A%20%2202%22%3A%20%22Febrero%22%2C%0A%20%2203%22%3A%20%22Marzo%22%2C%0A%20%2204%22%3A%20%22Abril%22%2C%0A%20%2205%22%3A%20%22Mayo%22%2C%0A%20%2206%22%3A%20%22Junio%22%2C%0A%20%2207%22%3A%20%22Julio%22%2C%0A%20%2208%22%3A%20%22Agosto%22%2C%0A%20%2209%22%3A%20%22Septiembre%22%2C%0A%20%2210%22%3A%20%22Octubre%22%2C%0A%20%2211%22%3A%20%22Noviembre%22%2C%0A%20%2212%22%3A%20%22Diciembre%22%0A%7D%3B%0A%0Adocument.querySelector('%23stage_type_selection%20%5Bdata-tournament-type%3D%22swissSystemV2%22%5D').click()%3B%0A%0Alet%20myyear%20%3D%20prompt(%22%C2%BFA%C3%B1o%3F%22)%3B%0Aif%20(myyear%20%3C%202000)%20%7B%0A%20%20myyear%20%3D%20%6020%24%7Bmyyear%7D%60%3B%0A%7D%0A%0Aconst%20maxDuration%20%3D%20document.querySelector('%23game_max_duration')%3B%0AmaxDuration.value%20%3D%20604800%3B%0AmaxDuration.dispatchEvent(new%20Event('change'%2C%20%7B%20bubbles%3A%20true%20%7D |
| /** | |
| * 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" |