Forwarded from Google Apps Script | Канал
Так-так-так... Что придумал Брюс на этот раз?
https://github.com/brucemcpherson/gas-fakes
Если мне не изменяет память это уже 3 или 4 попытка эмулировать Apps Script
Хорошая идея, и можно потренироваться на открытом коде 😉
https://github.com/brucemcpherson/gas-fakes
$> npm i @mcpher/gas-fakes
Идея заключается в том, что вы можете запустить службы GAS (которые реализованы) локально на Node, и она будет использовать различные API Google Workspace для эмуляции того, что произойдет, если вы запустите то же самое в среде GAS.
Если мне не изменяет память это уже 3 или 4 попытка эмулировать Apps Script
Хорошая идея, и можно потренироваться на открытом коде 😉
GitHub
GitHub - brucemcpherson/gas-fakes: A proof of concept implementation of Apps Script Environment on Node
A proof of concept implementation of Apps Script Environment on Node - brucemcpherson/gas-fakes
16. REST Client
Возможно, плагин REST Client не покажется вам супер полезным на первый взгляд по сравнению, например, с привычным Postman. Однако, поиграв с ним немного, JavaScript разработчик уже не сможет жить по-прежнему.
Это замечательный инструмент для тестирования API. Вы можете просто создать новый файл и написать в нем:
https://google.com
Теперь чтобы отправить HTTP GET-запрос, вам нужно просто выделить эту строку, открыть палитру команд (CTRL+SHIFT+P) и выбрать в ней Rest Client: Send Request. Данные полученного ответа будут показаны в новой вкладке – очень удобно и полезно!
rest client for vscode
Вы даже можете передать GET-параметры или тело POST-запроса, добавив всего пару строк кода:
POST https://test.someapi.com/v1/account/user/login/
Content-Type: application/json
{ "email": "someemail@gmail.com", "password": 1 }
Этот фрагмент соответствует POST-запросу с параметрами {"email": "someemail@gmail.com", "пароль": 1 }.
Это лишь крошечная часть возможностей REST Client. Вы можете узнать о нем больше, если интересно.
Возможно, плагин REST Client не покажется вам супер полезным на первый взгляд по сравнению, например, с привычным Postman. Однако, поиграв с ним немного, JavaScript разработчик уже не сможет жить по-прежнему.
Это замечательный инструмент для тестирования API. Вы можете просто создать новый файл и написать в нем:
https://google.com
Теперь чтобы отправить HTTP GET-запрос, вам нужно просто выделить эту строку, открыть палитру команд (CTRL+SHIFT+P) и выбрать в ней Rest Client: Send Request. Данные полученного ответа будут показаны в новой вкладке – очень удобно и полезно!
rest client for vscode
Вы даже можете передать GET-параметры или тело POST-запроса, добавив всего пару строк кода:
POST https://test.someapi.com/v1/account/user/login/
Content-Type: application/json
{ "email": "someemail@gmail.com", "password": 1 }
Этот фрагмент соответствует POST-запросу с параметрами {"email": "someemail@gmail.com", "пароль": 1 }.
Это лишь крошечная часть возможностей REST Client. Вы можете узнать о нем больше, если интересно.
Visualstudio
REST Client - Visual Studio Marketplace
Extension for Visual Studio Code - REST Client for Visual Studio Code
This media is not supported in your browser
VIEW IN TELEGRAM
function onSelectionChange(e) {
var sheet=SpreadsheetApp.getActiveSheet();
var arr=new Array(sheet.getLastRow()-1).fill(1).map((x,i)=>sheet.isRowHiddenByFilter(i+2)?[0]:[1]);
console.log(arr);
var z=0
for(var i=0;i<arr.length;i++){
if(arr[i][0]==1){
z++
arr[i][0]=z
}
}
console.log(arr);
sheet.getRange("A2:A"+(sheet.getLastRow())).setValues(arr);
SpreadsheetApp.flush();
console.log("Row ");
//SpreadsheetApp.getActiveSpreadsheet().toast("Row "+e.range.getRow()+" is hidden: "+isHidden(e.range.getRow()));").setValue(!SpreadsheetApp.getActiveSheet().getRange("I1").getValue());
// SpreadsheetApp.getActiveSpreadsheet().toast("Row "+e.range.getRow()+" is hidden: "+isHidden(e.range.getRow()));
}АНПІЛОГОВ ВАЛЕРІЙ СТАНІСЛАВОВИЧ
Микола Веретільник
=join(" ";choosecols(REGEXEXTRACT(PROPER(A6);"(.+)\s(.+)\s(.+)");2;1))Микола Веретільник
Volond Apps
GIF
```
function onEdit(e) {
var range = e.range;
var sheet = range.getSheet();
var row = e.range.getRow();
var col = e.range.getColumn();
if (sheet.getName() == "1" && isCheck(range) && col > 1) {
console.log(e.value)
if (e.value == 'TRUE' ) {
var r = `B${row}:${(col - 1).to26()}${row}`;
sheet.getRangeList([r]).check()
}
else {
var r = `B${row}:${(col - 2).to26()}${row}`;
var r2 = `${(col-1).to26()}${row}:F${row}`;
sheet.getRangeList([r]).check()
sheet.getRangeList([r2]).uncheck()
}
}
}
/**
* Проверка содержит ли ячейка checkbox
* #dataValidation
* @param {RANGE} cell
* @returns {Boolean}
*/
function isCheck(cell) {
var rule = cell.getDataValidation();
if (rule != null && rule.getCriteriaType() == 'CHECKBOX') {
var criteria = rule.getCriteriaType();
var args = rule.getCriteriaValues();
return true
} else {
return false
}
}
Number.prototype.to26 = function (suffix) {
suffix = String.fromCharCode((this % 26) + 65) + (suffix || '');
return this >= 26 ? (Math.floor(this / 26) - 1).to26(suffix) : suffix;
};
```
Forwarded from Точка входа в программирование
This media is not supported in your browser
VIEW IN TELEGRAM
DrawDB — бесплатный конструктор баз данных
Как и сказано в заголовке, DrawDB это бесплатный инструмент, который поможет вам в проектировании баз данных, а также в генерации необходимого SQL-кода.
Воспользоваться можно здесь: https://github.com/drawdb-io/drawdb
#инструменты #бд
Как и сказано в заголовке, DrawDB это бесплатный инструмент, который поможет вам в проектировании баз данных, а также в генерации необходимого SQL-кода.
Воспользоваться можно здесь: https://github.com/drawdb-io/drawdb
#инструменты #бд
Forwarded from Библиотека программиста | программирование, кодинг, разработка
С помощью картинок и коротких видео даже новички начнут применять продвинутые инструменты разработки и использовать Docker.
Стоит подписаться: t.me/DevopsDocker
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from BotShare
Google выпустили приложение, которое позволяет скачивать и запускать модели ИИ локально на смартфоны, пробуем установить
▶️ https://www.youtube.com/watch?v=IbqPBakW9hg
Google AI Edge Gallery: это новое приложение от Google, которое позволяет пользователям запускать различные ИИ-модели с платформы Hugging Face прямо на своих телефонах.
↘️ https://habr.com/ru/news/914682/
Читайте также:
Что можно делать в Google AI Studio для начинающих, краткий обзор
↘️ https://habr.com/ru/articles/912230/
Google инструкция по промпт инжинирингу или как правильно писать запросы (краткий перевод)
↘️ https://habr.com/ru/articles/900466/
...
▶️ https://www.youtube.com/watch?v=IbqPBakW9hg
Google AI Edge Gallery: это новое приложение от Google, которое позволяет пользователям запускать различные ИИ-модели с платформы Hugging Face прямо на своих телефонах.
Приложение уже доступно для Android и скоро появится на iOS.Приложение можно скачать с GitHub, следуя инструкциям ниже:
В целом гугл выпустили свою оболочку, как https://lmstudio.ai/ на винду, только тут на смартфон под Андроид.
Пользователи могут находить, скачивать и запускать совместимые модели, которые генерируют изображения, отвечают на вопросы, пишут и редактируют код и многое другое.
Модели работают в автономном режиме, без необходимости подключения к интернету, используя процессоры поддерживаемых телефонов.
↘️ https://habr.com/ru/news/914682/
Читайте также:
Что можно делать в Google AI Studio для начинающих, краткий обзор
↘️ https://habr.com/ru/articles/912230/
Google инструкция по промпт инжинирингу или как правильно писать запросы (краткий перевод)
↘️ https://habr.com/ru/articles/900466/
...
Используем HTTP API Gemini 2.0 thinking бесплатно
https://habr.com/ru/articles/876566/
https://habr.com/ru/articles/876566/
Хабр
Используем HTTP API Gemini 2.0 thinking бесплатно
Давно не писал статей на хабр, потому что редко находится что-то действительно полезное. Я подписан в Telegram на десяток новостных каналов про ИИ, но только недавно с удивлением для себя обнаружил,...
Gemini ➜ OpenAI API прокси. Serverless
https://habr.com/ru/articles/798123/
https://habr.com/ru/articles/798123/
Хабр
Gemini ➜ OpenAI API прокси. Serverless
Демо Демо здесь . Зачем API Gemini бесплатен , но существует множество инструментов, которые работают исключительно с API OpenAI. Проект openai-gemini позволяет с лёгкостью создать персональный Gemini...
Updated: GAS Library - ToolsForMCPServer
ToolsForMCPServer was updated to v1.0.29 v1.0.29 (September 15, 2025)
The following 5 tools were added. These tools provide the information for building the request body of Google APIs.
explanation_analytics_data_properties_runReport explanation_analytics_data_properties_runRealtimeReport explanation_manage_google_sheets_using_sheets_api explanation_manage_google_docs_using_docs_api explanation_manage_google_slides_using_slides_api The following 8 tools were updated.
get_google_sheet_object_using_sheets_api manage_google_sheets_using_sheets_api get_google_doc_object_using_docs_api manage_google_docs_using_docs_api get_google_slides_object_using_slides_api manage_google_slides_using_slides_api analytics_data_properties_runReport analytics_data_properties_runRealtimeReport You can see the detailed information here https://github.com/tanaikech/ToolsForMCPServer
Читать далее
ToolsForMCPServer was updated to v1.0.29 v1.0.29 (September 15, 2025)
The following 5 tools were added. These tools provide the information for building the request body of Google APIs.
explanation_analytics_data_properties_runReport explanation_analytics_data_properties_runRealtimeReport explanation_manage_google_sheets_using_sheets_api explanation_manage_google_docs_using_docs_api explanation_manage_google_slides_using_slides_api The following 8 tools were updated.
get_google_sheet_object_using_sheets_api manage_google_sheets_using_sheets_api get_google_doc_object_using_docs_api manage_google_docs_using_docs_api get_google_slides_object_using_slides_api manage_google_slides_using_slides_api analytics_data_properties_runReport analytics_data_properties_runRealtimeReport You can see the detailed information here https://github.com/tanaikech/ToolsForMCPServer
Читать далее
GitHub
GitHub - tanaikech/ToolsForMCPServer: The Gemini CLI confirmed that the MCP server built with Google Apps Script (GAS), a low-code…
The Gemini CLI confirmed that the MCP server built with Google Apps Script (GAS), a low-code platform, offers immense possibilities. If you've created snippets for GAS, these could be revit...
Updated: GAS Library - ToolsForMCPServer
ToolsForMCPServer was updated to v1.0.28 v1.0.28 (September 11, 2025)
The following 9 tools were added.
create_document_body_in_google_docs remove_files_on_google_drive maps_get_route maps_convert_location_to_lat_lon maps_convert_lat_lon_to_location maps_create_map explanation_create_maps_url explanation_reference_generate_google_apps_script explanation_reference_export_google_sheets_as_pdf A bug of a tool “convert_mimetype_of_file_on_google_drive” was removed. This is from this issue report.
You can see the detailed information here https://github.com/tanaikech/ToolsForMCPServer
Читать далее
ToolsForMCPServer was updated to v1.0.28 v1.0.28 (September 11, 2025)
The following 9 tools were added.
create_document_body_in_google_docs remove_files_on_google_drive maps_get_route maps_convert_location_to_lat_lon maps_convert_lat_lon_to_location maps_create_map explanation_create_maps_url explanation_reference_generate_google_apps_script explanation_reference_export_google_sheets_as_pdf A bug of a tool “convert_mimetype_of_file_on_google_drive” was removed. This is from this issue report.
You can see the detailed information here https://github.com/tanaikech/ToolsForMCPServer
Читать далее
GitHub
GitHub - tanaikech/ToolsForMCPServer: The Gemini CLI confirmed that the MCP server built with Google Apps Script (GAS), a low-code…
The Gemini CLI confirmed that the MCP server built with Google Apps Script (GAS), a low-code platform, offers immense possibilities. If you've created snippets for GAS, these could be revit...
Google Maps with Natural Language: Integrated Collaboration through Gemini CLI and MCP
Gists Abstract This article demonstrates integrating Google Maps with natural language using the Gemini CLI and an MCP server. This powerful combination allows users to automate complex location-based tasks, such as route planning and information retrieval, through simple, intuitive text-based prompts. Introduction The Gemini CLI, when paired with Model Context Protocol (MCP) servers, is a powerful tool for integrating various applications with natural language. When the MCP servers are built
Читать далее
Gists Abstract This article demonstrates integrating Google Maps with natural language using the Gemini CLI and an MCP server. This powerful combination allows users to automate complex location-based tasks, such as route planning and information retrieval, through simple, intuitive text-based prompts. Introduction The Gemini CLI, when paired with Model Context Protocol (MCP) servers, is a powerful tool for integrating various applications with natural language. When the MCP servers are built
Читать далее