View gist:110dbd3be2a5de97ebe4414460a97aa1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
'run', | |
'--rm', | |
'--mount', | |
'type=volume,source=registry_cache,target=/usr/local/cargo/registry', | |
'--mount', | |
'type=volume,source=bAsset-contracts_cache,target=/code/target', | |
'-v', | |
'/Users/rodion/terra/LocalAnchor/modules/bAsset-contracts:/code', | |
'cosmwasm/workspace-optimizer-arm64:0.12.5' |
View analytics.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Sentry from '@sentry/browser' | |
import * as Amplitude from 'amplitude-js' | |
import { PATH } from '../constants/routing' | |
import { isEbmeddedLanding } from './routing' | |
import { reportError } from './reporting' | |
const trackEvent = name => { | |
try { | |
Amplitude.getInstance().logEvent(name) | |
} catch (err) { |
View index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Browser = require('./browser') | |
const { getNote, getOrderedUsers } = require('./business') | |
const database = require('./database') | |
const storage = require('./storage') | |
const browserWSEndpoint = process.argv[2] | |
const browser = new Browser(browserWSEndpoint) | |
const run = async () => { | |
const users = await database.getNewUsers(storage.getLastDate()) |
View distribution.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View create_lambda.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ . ./cook_notebook.sh | |
$ terraform init | |
$ terraform apply |
View install-redux.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install --save redux react-redux redux-act |
View tableStates.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const TABLE_NAME_POSTFIX = `_${process.env.ENV}` | |
const TABLES_NAMES = { | |
users: `users_${process.env.ENV}`, | |
projects: `projects_${process.env.ENV}`, | |
// we will use it know the index of last migration | |
projects: `management_${process.env.ENV}`, | |
// other tables names ... | |
} |
View linkedin.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { URLSearchParams } = require('url') | |
const { AuthenticationError } = require('apollo-server') | |
const jwt = require('jsonwebtoken') | |
const fetch = require('node-fetch') | |
const Sentry = require('@sentry/node') | |
const { AuthorizationError } = require('../errors') | |
const { | |
LINKEDIN_ACCESS_TOKEN, |
View _layout.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{#if path.startsWith('/blog') || path.startsWith('/posts')} | |
<BlogHeader {path}/> | |
<Omniconvert/> | |
{:elseif !hideHeader} | |
<Header {path}/> | |
{/if} | |
{#if pageContainsPostHeader && !hidePostHeader} | |
<Feature primary={primaryPostHeader} isPostHeader {home}/> | |
{/if} |
View final.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ps = [["вы уже разрабатываете проект на протяжении 6 месяцев, и вы сказали заказчику что до завершения проекта осталось 3 месяца. вы сделали такой прогноз потому, что:","средняя скорость вашей команды - 20 стори поинтов за двухнедельную итерацию. в бэклоге осталось функциональности на 180 стори поинтов."],["мониторинг и управления рисками включает в себя следующие задачи:","пересмотр рисков, аудит рисков, анализ отклонений и трендов"],["измерение уровня неопределенности или уровня воздействия, к которому заинтересованная сторона может проявлять определенный интерес – это:","порог риска"],["тестирование с запуском кода на исполнение – это:","динамическое тестирование"],["какая стадия объективно необходима как минимум для того, чтобы иметь ответ на такие вопросы, как: что нам предстоит тестировать; как много будет работы; какие есть сложности; всё ли необходимое у нас есть и т.п.","общее планирование и анализ требований"],["степень неопределенности, которую хочет принять субъект в предвкушении вознагражд |
NewerOlder