Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
romankurnovskii committed Oct 27, 2023
1 parent 684e083 commit 09aec5e
Show file tree
Hide file tree
Showing 36 changed files with 1,306 additions and 81 deletions.
4 changes: 2 additions & 2 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ homeColorButtons:
btn2Title: JavaScript
btn2Url: categories/javascript/
btn2Style:
btn3Title: Hugo
btn3Url: categories/hugo/
btn3Title: LeetCode
btn3Url: categories/leetcode/
btn3Style:
btn4Title: Linux
btn4Url: categories/linux/
Expand Down
9 changes: 7 additions & 2 deletions content/authors/roman-kurnovskii/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,18 @@ social:
- icon: linkedin
iconPack: fab
url: https://www.linkedin.com/in/roman-kurnovskii/
- icon: facebook
# - icon: facebook
# iconPack: fab
# url: https://www.facebook.com/profile.php?id=100007910670422
- icon: telegram
iconPack: fab
url: https://www.facebook.com/profile.php?id=100007910670422
url: https://t.me/romankurnovskii
- icon: github
iconPack: fab
url: https://github.com/romankurnovskii
---


<!--
## Self Introduction
Expand Down
22 changes: 5 additions & 17 deletions content/authors/roman-kurnovskii/_index.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,13 @@ social:
- icon: vk
iconPack: fab
url: https://vk.com/id3713267
- icon: facebook
# - icon: facebook
# iconPack: fab
# url: https://www.facebook.com/profile.php?id=100007910670422
- icon: telegram
iconPack: fab
url: https://www.facebook.com/profile.php?id=100007910670422
url: https://t.me/romankurnovskii
- icon: github
iconPack: fab
url: https://github.com/romankurnovskii
---
<!--
## Self Introduction
Cras ex dui, tristique a libero eget, consectetur semper ligula. Nunc augue arcu, malesuada
Aliquam pretium diam eget leo feugiat finibus. Donec malesuada commodo ipsum. Aenean a massa
## Details
Nunc pellentesque vitae:
- Morbi accumsan nibh efficitur diam molestie, non dignissim diam facilisis.
Donec mollis sollicitudin:
- Nunc dictum purus ornare purus consectetur, eu pellentesque massa ullamcorper.
-->
7 changes: 5 additions & 2 deletions content/homepage/about.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ social:
- icon: linkedin
iconPack: fab
url: https://www.linkedin.com/in/roman-kurnovskii/
- icon: facebook
# - icon: facebook
# iconPack: fab
# url: https://www.facebook.com/profile.php?id=100007910670422
- icon: telegram
iconPack: fab
url: https://www.facebook.com/profile.php?id=100007910670422
url: https://t.me/romankurnovskii
- icon: github
iconPack: fab
url: https://github.com/romankurnovskii
Expand Down
7 changes: 5 additions & 2 deletions content/homepage/about.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ social:
- icon: vk
iconPack: fab
url: https://vk.com/id3713267
- icon: facebook
# - icon: facebook
# iconPack: fab
# url: https://www.facebook.com/profile.php?id=100007910670422
- icon: telegram
iconPack: fab
url: https://www.facebook.com/profile.php?id=100007910670422
url: https://t.me/romankurnovskii
- icon: github
iconPack: fab
url: https://github.com/romankurnovskii
Expand Down
107 changes: 103 additions & 4 deletions content/p/publications.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,101 @@ tags: null
categories: null
series: null
featuredImage: null

layout: publications

codes:
SCIENCE_INDEX_SPIN_РИНЦ: "[1657-2666](https://www.elibrary.ru/author_profile.asp?authorid=1175655)"
ORCID: "[0000-0002-6040-3683](https://orcid.org/0000-0002-6040-3683)"
Web of Science ResearcherID: "[HLQ-2418-2023](https://www.webofscience.com/wos/author/record/HLQ-2418-2023)"
Google Scholar: "https://scholar.google.ru/citations?hl=ru&user=R5xmgOgAAAAJ"
SSRN: "https://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=5627910"
academia.edu: "https://independent.academia.edu/RomanKurnovskii"

publications:
- title: "Цепочка создания стоимости: содержание, элементы и возможности ее использования"
authors: "Курновский Р.М., Великородная Е. А."
journal: "Экономика и предпринимательство / ВАК. Номер 8, 2023 г. Страницы: 241-245"
journalLink: https://www.elibrary.ru/title_about_new.asp?id=27783
pdfLink: /articles/2023-10-tsepochka-sozdaniya-stoimosti-soderzhanie-elementy-i-vozmozhnosti-ee-ispolzovaniya.pdf
researchGateLink: NA
ssrnLink: NA
academia.edu: NA
year: 2023

- title: Особенности региональной политики и экономические интеграции Израиля
authors: "Курновский Р.М."
journal: "Наука и бизнес: пути развития / ВАК. Номер: 1 (139) 2023 г. Страницы: 141-143"
journalLink: NA
pdfLink: /articles/2023-01-osobennosti-regionalnoi-politiki-i-ekonomicheskie-integracii-izrailya.pdf
researchGateLink: NA
ssrnLink: NA
academia.edu: NA
year: 2023

- title: Поддержка икт-экспорта как способ покрытия внутренних потребностей рынка
authors: "Курновский Р.М., Великородная Е. А."
conference: "XII международной научно-практической конференции Трансформация экономики и управления: новые вызовы и перспективы, 15-16 декабря 2022г."
conferenceLink: http://www.fa.ru/fil/spb/science/Pages/Home.aspx
pdfLink: /articles/2022-12-podderzhka-ikt-eksporta-kak-sposob-pokrytiya-vnutrennih-potrebnostei-rynka.pdf
journalLink: NA
researchGateLink: https://www.researchgate.net/publication/369694048_2022-12-podderzhka-ikt-eksporta-kak-sposob-pokrytiya-vnutrennih-potrebnostei-rynka
ssrnLink: NA
academia.edu: NA
year: 2022

- title: Факторы и условия, определяющие становления финансовой экосистемы в современных условиях
authors: "д.э.н., проф. Коновалова М.Е., Курновский Р.М., Ширяева Д.В."
journal: "Экономика и предпринимательство / ВАК. Номер 8, 2023 г. Страницы: 241-245"
conferenceLink: NA
pdfLink: /articles/2022-12-faktory-i-usloviya-opredeljajushhie-stanovlenija-finansovoi-ekosistemy-v-sovremennyh-uslovijah.pdf
journalLink: https://www.elibrary.ru/contents.asp?id=50018028&selid=50018215
researchGateLink: https://www.researchgate.net/publication/367052691_Faktory_i_uslovia_opredelausie_stanovlenia_finansovoj_ekosistemy_v_sovremennyh_usloviah
ssrnLink: https://ssrn.com/abstract=4346636
academia.edu: NA
year: 2022

- title: Ключевые подходы к разработке доступного, интуитивно понятного интерфейса статистического пакета
authors: к.т.н., профессор Суханова Е. И., канд. физ.-мат., доцент Ширяева Л. К., Курновский Р. М.
journal: Научный журнал СГЭУ
year: 2014

- title: Мобильность платформы 1С на базе приложения 1С:Монитор ERP
authors: Курновский Р. М., Нечаев А. Н.
journal: "Известия Института Систем Управления Самарского государственного экономического университета / Номер: 2 (8) / Страницы: 243-247"
journalLink: https://www.elibrary.ru/item.asp?id=22028608
year: 2013

- title: Современные инструменты моделирования архитектуры предприятия
authors: Курновский Р. М.
journal: "Известия Института Систем Управления Самарского государственного экономического университета / Номер: 3 (6) / Страницы: 256-260"
journalLink: https://www.elibrary.ru/item.asp?id=20310963
year: 2012

- title: Права человека — миф или реальность
authors: Курновский Р. М.
conference: Тезисы 4-й Международной научной конференции молодых ученых, аспирантов и студентов.
year: 2010

- title: Хулиганство в Самаре 1920-1930-х гг.
authors: Курновский Р. М.
conference: Тезисы 4-й Международной научной конференции молодых ученых, аспирантов и студентов.
year: 2010

- title: Обеспечение прав человека — миф или реальность
authors: Курновский Р. М.
conference: Сборник тезисов конкурсных работ, опубликованных Государственной Думой Федерального Собрания Российской Федерации во всероссийском конкурсе молодежи, образовательных учреждений и научных организаций на лучшую работу «Моя законотворческая инициатива»
year: 2008

- title: Хулиганство в России в 20-30-е годы 20-го века на примере Самарской области
authors: Курновский Р. М.
conference: Сборник тезисов 37-й городской научно-практической конференции.
year:

- title: Генетический паспорт гражданина Российской Федерации
authors: Курновский Р. М.
conference: Сборник тезисов конкурсных работ, опубликованных Государственной Думой Федерального Собрания Российской Федерации во всероссийском конкурсе молодежи, образовательных учреждений и научных организаций на лучшую работу «Моя законотворческая инициатива»
year: 2007
---


Expand All @@ -22,15 +117,19 @@ featuredImage: null

**Для цитирования:**

> Особенности региональной политики и экономические интеграции Израиля // [ВАК: Наука и бизнес: пути развития](https://elibrary.ru/item.asp?id=50430997) // Курновский Р.М.// Номер: 1 (139) 2023 г. Страницы: 141-143
> Цепочка создания стоимости: содержание, элементы и возможности ее использования // [Экономика и предпринимательство | ВАК](https://www.elibrary.ru/title_about_new.asp?id=27783) // Великородная Е. А., Курновский Р.М. // Номер 8, 2023 г. Страницы: 241-245
[Статья [pdf]](/articles/2023-10-tsepochka-sozdaniya-stoimosti-soderzhanie-elementy-i-vozmozhnosti-ee-ispolzovaniya.pdf)

> Особенности региональной политики и экономические интеграции Израиля // [Наука и бизнес: пути развития | ВАК](https://elibrary.ru/item.asp?id=50430997) // Курновский Р.М.// Номер: 1 (139) 2023 г. Страницы: 141-143
[Статья [pdf]](/articles/2023-01-osobennosti-regionalnoi-politiki-i-ekonomicheskie-integracii-izrailya.pdf) / [SSRN](https://ssrn.com/abstract=4406861)
[Статья [pdf]](/articles/2023-01-osobennosti-regionalnoi-politiki-i-ekonomicheskie-integracii-izrailya.pdf)

> Поддержка икт-экспорта как способ покрытия внутренних потребностей̆ рынка // [XII международной научно-практической конференции «Трансформация экономики и управления: новые вызовы и перспективы»](http://www.fa.ru/fil/spb/science/Pages/Home.aspx) 15-16 декабря 2022г. // Курновский Р.М., Великородная Е. А. //
> Поддержка икт-экспорта как способ покрытия внутренних потребностей рынка // [XII международной научно-практической конференции «Трансформация экономики и управления: новые вызовы и перспективы»](http://www.fa.ru/fil/spb/science/Pages/Home.aspx) 15-16 декабря 2022г. // Курновский Р.М., Великородная Е. А. //
[Статья [pdf]](/articles/2022-12-podderzhka-ikt-eksporta-kak-sposob-pokrytiya-vnutrennih-potrebnostei-rynka.pdf) / [ResearchGate](https://www.researchgate.net/publication/369694048_2022-12-podderzhka-ikt-eksporta-kak-sposob-pokrytiya-vnutrennih-potrebnostei-rynka)

> [Факторы и условия, определяющие становления финансовой экосистемы в современных условиях](https://www.elibrary.ru/item.asp?id=50018215) // [Экономика и предпринимательство](https://www.elibrary.ru/title_about_new.asp?id=27783) // д.э.н., проф. Коновалова М.Е., Курновский Р.М., Ширяева Д.В. // Номер: [8 (145)](https://www.elibrary.ru/contents.asp?id=50018028&selid=50018215) 2022 г. Страницы: 928-931
> [Факторы и условия, определяющие становления финансовой экосистемы в современных условиях](https://www.elibrary.ru/item.asp?id=50018215) // [Экономика и предпринимательство | ВАК](https://www.elibrary.ru/title_about_new.asp?id=27783) // д.э.н., проф. Коновалова М.Е., Курновский Р.М., Ширяева Д.В. // Номер: [8 (145)](https://www.elibrary.ru/contents.asp?id=50018028&selid=50018215) 2022 г. Страницы: 928-931
[Статья [pdf]](/articles/2022-12-faktory-i-usloviya-opredeljajushhie-stanovlenija-finansovoi-ekosistemy-v-sovremennyh-uslovijah.pdf) / [ResearchGate](https://www.researchgate.net/publication/367052691_Faktory_i_uslovia_opredelausie_stanovlenia_finansovoj_ekosistemy_v_sovremennyh_usloviah) / [academia.edu](https://www.academia.edu/s/b9f704001c) / [SSRN](https://ssrn.com/abstract=4346636)

Expand Down
65 changes: 43 additions & 22 deletions content/posts/howto-setup-telegram-bot-and-google-apps-script.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,42 +28,63 @@ var TOKEN = 'YOUR_TELEGRAM_BOT_TOKEN';
var WEBHOOK_URL = 'YOUR_WEB_APP_URL'; // web app URL of your GAS deployment.
var USERS_SPREAD_SHEET_NAME='usersAnswers'

function setWebhook() {
var COLUMN_STEP_1 = 'E'
var COLUMN_STEP_2 = 'F'
var COLUMN_DATE = 'A'

function setWebhook() { // run after every deploy and updated WEBHOOK_URL
var url = 'https://api.telegram.org/bot' + TOKEN + '/setWebhook?url=' + WEBHOOK_URL;
UrlFetchApp.fetch(url);
}

function doPost(e) {
var contents = JSON.parse(e.postData.contents);
var chatId = contents.message.chat.id;
var message = contents.message.text;

if (message === '/start') {
sendTelegramMessage(chatId, "Choose an action:\n/add\n/show all");
} else if (message === '/add') {
sendTelegramMessage(chatId, "Send Answer to question 1");
// Store that the next message should be treated as sessionCSRF
PropertiesService.getScriptProperties().setProperty(chatId, 'waiting_for_question1');
} else if (PropertiesService.getScriptProperties().getProperty(chatId) === 'waiting_for_question1') {
saveToSpreadsheet(contents.message.from, message); // Save to spreadsheet
sendTelegramMessage(chatId, "Send Answer to question 2");
PropertiesService.getScriptProperties().setProperty(chatId, 'waiting_for_question2');
} else if (PropertiesService.getScriptProperties().getProperty(chatId) === 'waiting_for_question2') {
saveToSpreadsheet(contents.message.from, message);
PropertiesService.getScriptProperties().deleteProperty(chatId);
} else if (message === '/show all') {
var userAnswers = getAllSessionsForUser(contents.message.from);
sendTelegramMessage(chatId, userAnswers.join('\n'));
var data = JSON.parse(e.postData.contents);
var message = data.message.text;
var chatId = String(data.message.chat.id);
var name = data.message.chat.first_name + " " + data.message.chat.last_name;
const userData = data.message.from

const propertiesService = PropertiesService.getScriptProperties()
let chatDialogStatus = propertiesService.getProperty(chatId)
let msg = ''
const COMMANDS = '\n/start\n/about\n/stat\n/add\n/show\n/pause\n/request'
try {
if (message === '/start') {
propertiesService.deleteProperty(chatId);
saveRequestToSpreadsheet(userData, message)
msg = 'Choose an action:' + COMMANDS
} else if (message === '/add') { // Will be in two steps (requests from user)
propertiesService.setProperty(chatId, 'WAITING_FOR_ADD_STEP_1');
updateChatText(userData, Date.now().toLocaleString(), COLUMN_DATE);
msg = "Step 1. Send first value"
} else if (chatDialogStatus == 'WAITING_FOR_ADD_STEP_1') {
updateChatText(userData, message, COLUMN_STEP_1); // Save to spreadsheet
propertiesService.setProperty(chatId, 'WAITING_FOR_ADD_STEP_2');
msg = 'Step 2. Send second value'
} else if (chatDialogStatus === 'WAITING_FOR_ADD_STEP_2') {
propertiesService.deleteProperty(chatId);
updateChatText(userData, message, COLUMN_STEP_2);
msg = 'Done. Two values saved in different columns'
} else {
propertiesService.deleteProperty(chatId);
saveRequestToSpreadsheet(userData, message)
msg = 'Hello ' + name + ' id: ' + chatId + '\nYour text:\n' + message
msg += '\nPossible commands:' + COMMANDS
}
} catch (e) {
msg += '\n Error: ' + e + '\nStatus: ' + chatDialogStatus
}
sendToTGM(chatId, msg);
}


function sendTelegramMessage(chatId, text) {
var apiUrl = 'https://api.telegram.org/bot' + TOKEN + '/sendMessage';
var payload = {
'method': 'post',
'payload': {
'chat_id': chatId,
'text': text
'text': String(text)
}
};
UrlFetchApp.fetch(apiUrl, payload);
Expand Down
10 changes: 8 additions & 2 deletions content/posts/mac-setup-development/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,13 +382,13 @@ Add script to zprofile that updates everything:
1. Update, upgrade all and cleanup
2. softwareupdate - system software update tool

We can execute this command on strartup, but i prefer handle it. When I kick of `upd` command in terminal, it will update everythin I need:
We can execute this command on startup, but i prefer handle it. When I kick of `upd` command in terminal, it will update everything I need:

```bash
alias upd='brew update; brew upgrade; brew cu -a --cleanup -y -v; brew cleanup; softwareupdate -i -a; i'
```

Add aliases to latest versions pip & python
Add aliases to the latest versions pip & python

```bash
# А
Expand All @@ -403,6 +403,12 @@ alias penv='python -m venv venv && source ./venv/bin/activate && pip install --u
alias jp="jupyter notebook $@"
```

### Clean space

```sh
alias clean="brew cleanup --prune=all; rm -rf ~/Library/Caches"
```

## Links

- [https://www.robinwieruch.de/mac-setup-web-development/](https://www.robinwieruch.de/mac-setup-web-development/)
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 09aec5e

Please sign in to comment.