This file contains hidden or 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
| axios({ | |
| method: 'post', | |
| url: `https://us19.api.mailchimp.com/3.0/lists/${listId}/members/`, | |
| data: JSON.stringify({ | |
| email_address: 'my-email@gmail.com', | |
| status: 'subscribed', | |
| }), | |
| headers: { | |
| Authorization: `Basic ${Buffer.from(`apikey:${API_KEY}`).toString('base64')}`, | |
| 'content-type': 'application/json', |
This file contains hidden or 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
| Process: Telegram [461] | |
| Path: /Applications/Telegram.app/Contents/MacOS/Telegram | |
| Identifier: ru.keepcoder.Telegram | |
| Version: 4.9 (156141) | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: Telegram [461] | |
| User ID: 501 | |
| Date/Time: 2019-01-26 05:26:51.831 +0500 |
This file contains hidden or 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
| Process: Telegram [2011] | |
| Path: /Applications/Telegram.app/Contents/MacOS/Telegram | |
| Identifier: ru.keepcoder.Telegram | |
| Version: 4.8 (152709) | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: Telegram [2011] | |
| User ID: 501 | |
| Date/Time: 2019-01-09 08:22:09.904 +0500 |
This file contains hidden or 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 React from 'react'; | |
| import styled from 'styled-components'; | |
| const Content = styled.div` | |
| max-width: 650px; | |
| margin-right: auto; | |
| margin-left: auto; | |
| `; |
This file contains hidden or 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
| var gulp = require('gulp'), | |
| sass = require('gulp-sass'), | |
| browserSync = require('browser-sync'); /* подключение модуля, который устанавливается через npm install*/ | |
| gulp.task('sass', function() { | |
| return gulp.src('app/sass/**/*.sass') | |
| .pipe(sass()) | |
| .pipe(gulp.dest('app/css')) /* только папки, не указывать отдельные файлы*/ | |
| }); |
This file contains hidden or 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
| type Rule { | |
| id: ID! @unique | |
| name: String! @unique | |
| options: [RuleOption!]! @relation(name: "RuleOnRuleOption" onDelete: CASCADE) | |
| } | |
| type RuleOption { | |
| id: ID! @unique | |
| name: String! | |
| value: String! |
This file contains hidden or 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
| # Dockerfile | |
| FROM prismagraphql/prisma:1.19 | |
| ARG PRISMA_CONFIG_PATH | |
| ENV PRISMA_CONFIG_PATH prisma/prisma.production.yml | |
| COPY config.yml prisma/prisma.production.yml | |
| EXPOSE 4466 | |
| # config.yml |
This file contains hidden or 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
| handleKeyUp = (e) => { | |
| let shortcut = []; | |
| if (e.ctrlKey) { | |
| shortcut.push('Ctrl'); | |
| } | |
| if (e.metaKey) { | |
| shortcut.push('Command'); | |
| } |
This file contains hidden or 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
| handleKeyUp = (e) => { | |
| let shortcut = ''; | |
| let modifiersCount = 0; | |
| if (e.ctrlKey) { | |
| shortcut += 'Ctrl '; | |
| modifiersCount++; | |
| } |
This file contains hidden or 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 React from 'react' | |
| import styled from "styled-components" | |
| const HeroWrapper = styled.section`` | |
| const HeroName = styled.h1`` | |
| const HeroList = styled.ul`` | |
| const HeroBullet = styled.li`` | |
| const HeroContact = styled.a`` | |