Write a program that outputs numbers from 1 to 100. Except, for every 3rd number, it should write "V", for every 5th number it should write "R" and for every 15th number it should write "VR".
Example output:
1
2
| **/ | |
| createLocation(location) {} | |
| /** | |
| * This seems to be the same as createHref, only without prepending #/ and base path | |
| * @param {RouterLocation|string} location | |
| * @returns string | |
| **/ | |
| createPath(location) {} |
...............................................,,;''++##@@######@#####';'':;,:,,,,,,,,,:,::::::::::::::::::::::::
.............................................,,:'++######@####@#@@##@##++'+:::::,:,,,,:::::::::::::::::::::::::::
..........................................,,,,;'+#######@@@@#@@@@@@##@###+++'';,,;::,::::::::::::::::::::::::::::
..........................................,:,;++#######@@@@@@@@@@@@##@@###+#++'::;;::::::::::::::::::::::::::::::
........................................,.,;:++####@@@@@@@@@@@@@@#@##@@@#####++;;'+::::::::::::::::::;;:::::::::;
.......................................,,,:;++##@@@@@@@@@@@@@@@@@@##@@@@@######+'+#;:::::::::::::;;;;;;;;;;:;;;:;
........................................,';'###@@@@@@@@@@@@@@@@@@@##@@@@##@########;:::::::;;;;;;;;;;;;;;;;;;;;;;
....................................,,,,:+++##@@@@@@@@@@@@@@@@@@@@###@@@##@@@#@@###;;:::::;;;;;;;;;;;;;;;;;;;;;;;
.................................,.,:::'++####@@@@@@@@@@@@#@@@@@#@@@@@@@@@####@@###';:;:;;;;;;;;;;;;;;;;;;;;
"Consume" is a "black-box" function in this format:
function consume(data, callback) {
//...
}Caller puts in some data and is called back with the callback. Callbacks are supposed to be in the same sequence as input calls.
| brs = "!f(){ git fetch --all --prune ; git for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' ; };f" |
| @echo off | |
| setlocal | |
| rem // ensure user supplied a filename with a .lnk extension | |
| if /i "%~x1" neq ".lnk" ( | |
| echo usage: %~nx0 shortcut.lnk | |
| goto :EOF | |
| ) | |
| rem // set filename to the fully qualified path + filename |
1. Install wine:
sudo apt install wine-stable winetricks
2. Get foobar installation here: https://mega.nz/file/HJhlEIIJ#PfjkrfPPu0TGzJ_ukgn2LX3fWRWsZK7o16beHAh4roY
Unpack it under /home/panta/.wine/drive_c/opt/.
| WITH pushes AS ( | |
| SELECT | |
| "git_pushes".*, | |
| ( | |
| CASE WHEN COUNT("git_commits") = 0 | |
| THEN '[]'::jsonb | |
| ELSE jsonb_agg("git_commits" ORDER BY "git_commits"."id" DESC) | |
| END | |
| ) AS commits | |
| FROM "git_pushes" |