I use this little function on the command line to allow me to switch between different repositories easily using fzf
- fzf
- zsh or bash
| set $screenrecorder `bash $HOME/scripts/toggle-screen-recorder.sh` | |
| bindsym --to-code $mod+Shift+R exec $screenrecorder |
| function someImportantFunction() { | |
| // [ 1 ]. do some stuff | |
| // | |
| // | |
| // | |
| Logger.log('Success!'); | |
| // [ 2 ]. Report the execution | |
| var recipient = 'makhrov.max@gmail.com'; // change!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
| // |
| function md5(inputString) { | |
| return Utilities.computeDigest(Utilities.DigestAlgorithm.MD5, inputString) | |
| .reduce((output, byte) => output + (byte & 255).toString(16).padStart(2, '0'), ''); | |
| } |
Попытаюсь ответить на общие и частные вопросы, и возможно развенчать некоторые мифы, потому как очень много авторов статей прыгнули на этот хайп трейн, и под копирку вышло очень много статей. А некоторые ответы, например Раяна , были вырваны из контекста.
В дино тс из коробки, а в ноде надо настраивать. Настраивается быстро и просто. Не считаю, полезной фичей
Не знаю из какой статьи эта фраза, но думаю тож вырвано из контекста. И все таки хочется дать какой то комментарии. Возможно тут упор идет на новичков, которым не приходилось ранее работать со всякими сборщиками и лоадерами. Не говоря уж о простом запуске tsc. Да, кому то действительно это не нужно, у многих давно есть свои инструменты CLI, которые это делают, и многие даже не задумываются что происходит под капотом. Кроме того дополню что команды Deno CLI включают многие вещи, которых действительно не было в экосистеме Node из коробки. Что я имею ввиду - когда я разрабатывал на .NET все было включено, так же из коробки, и не нужны были мне те же, н
Recently, it seems that the specification of Google Spreadsheet was updated. Before this, when a cell has only one hyperlink. In this case, the hyperlink was given to a cell using =HYPERLINK("http://www.google.com/", "Google") as following figure.
But by the recent update, a cell got to be able to have multiple hyperlinks as following figure. In this case, the hyperlinks are set by the RichTextValue object.
A bit of a monologue about various syntax changes and adjustments in learning and using the tool.
I know. Everyone knows.
That's why I wrote a library that writes to a spreadsheet instead. Ever since I started using it I'm far more productive. I don't know how people are still putting with that god-awful lagging logger.
| function gettigAllTeamDrivesWithId(){ | |
| let drives = Drive.Drives.list(); | |
| return drives; | |
| } | |
| function gettingAllFilesOfTeamDrive(teamDriveId){ | |
| var query = 'mimeType = "application/vnd.google-apps.folder" and trashed=false '; | |
| var param = { | |
| corpora:'teamDrive', | |
| includeTeamDriveItems:true, |
| /* | |
| Disapproved Extensions Report Script. | |
| This scripts generates an email if there are some non-removed disapproved extensions. | |
| Disapproval reasons are taken from PLACEHOLDER_FEED_ITEM_REPORT. | |
| Check the nameMapping veriable below for the list of supported extensions. | |
| Email message could also include a long list of dissaproved remarketing feed items, so adjust settings to skip this if necessary. | |
| Developed by Dmytro Bulakh, 2020, bulakh@ppchead.com | |
| */ |
| /** | |
| * Promise-friendly google.script.run call | |
| * @param {String} funcName | |
| * @param {...*} params | |
| * @returns {Promise} | |
| */ | |
| const asyncGAPI = (funcName, ...params) => { | |
| return new Promise((res, rej) => { | |
| google.script.run | |
| .withSuccessHandler(data => res(data)) |