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
| // ==UserScript== | |
| // @name Overleaf editor: map j to gj and k to gk | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2 | |
| // @match https://www.overleaf.com/project/* | |
| // @grant none | |
| // @description Remap j/k to gj/gk in Overleaf Vim normal/visual modes | |
| // @downloadURL https://gist.githubusercontent.com/aalok-sathe/a5dab9274ac881bd20418a3530fbca70/raw/2f531157d115fd4010f6dc631cd4f1f086e41299/overleaf-remap.js | |
| // @updateURL https://gist.githubusercontent.com/aalok-sathe/a5dab9274ac881bd20418a3530fbca70/raw/2f531157d115fd4010f6dc631cd4f1f086e41299/overleaf-remap.js | |
| // ==/UserScript== |
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
| import pandas as pd | |
| import typing | |
| def interleave_dataframes(dfs: typing.Collection[pd.DataFrame]): | |
| """ | |
| interleaves entries from multiple dataframes of equal size into a single dataframe. | |
| each row is drawn from one of the input dataframes in a round-robin fashion. | |
| modified from: https://gist.github.com/rob-med/9f3f696cb8e174f969ed4ec784317308 | |
| modified at: https://gist.github.com/aalok-sathe/6f807f3973440710582aa1518425d3fa |
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
| #!/bin/bash | |
| # Copyright (c) 2019, Craig P Hicks | |
| # content licensed as CC BY-NC-SA | |
| # CC BY-NC-SA details at https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode | |
| # This program depends upon 'xdotool' installed as Ubuntu 18.04 managed package | |
| # xdotool project source can be found at: | |
| # https://github.com/jordansissel/xdotool | |
| # https://www.semicomplete.com/projects/xdotool/ |