On any repo press t to start fuzzy file finder
- Open a file
- Select a code line
- SHIFT+LeftClick to select multiple
- RightClick for context menu + Copy permalink or press y It renders nicely when in an issue comment
Classics:
Count number of each entry in an array.
I.e. someFunc(['a', 'b', 5, 'a', 2, 5])
should result in
{
2: 1,
5: 2,
'a': 2,
'b': 1
Table of Contents
ATM of writing this, there is no way inside the Telegram Client to switch accounts (event though this feature exists in the offical mobile clients and there is a long running issue here: telegramdesktop/tdesktop#4261).
Reasons:
Multiple newlines at the file end are also redundant as well as spaces at the end of line.
// create a bookmark and use this code as the URL, you can now toggle the css on/off | |
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
javascript: (function() { | |
var domStyle = document.createElement("style"); | |
domStyle.append( | |
'* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\ | |
* * { background-color: rgba(0,255,0,.2) !important; }\ | |
* * * { background-color: rgba(0,0,255,.2) !important; }\ | |
* * * * { background-color: rgba(255,0,255,.2) !important; }\ | |
* * * * * { background-color: rgba(0,255,255,.2) !important; }\ |