curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
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
| const checkCategoryMapping = require('./check_category_mapping'); | |
| const categories = (checkName) => [checkCategoryMapping[checkName] || 'Style']; | |
| // Here Be Dragons: this function extracts the relevant value that triggered the issue for | |
| // checks in the Complexity category. Unfortunately, these values are not available in a | |
| // structured way, so we extract them from strings. That means that any check categorized | |
| // as Complexity MUST have a rule here to extract value. | |
| // | |
| // If a matching string segment cannot be found, `null` will be returned. |
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
| 'use strict'; | |
| const DataLoader = require('dataloader'); | |
| class Service { | |
| constructor({ BaseService, options }) { | |
| this.id = BaseService.id || 'id'; | |
| this.service = BaseService; | |
| this.dataloader = new DataLoader(this._batchGet.bind(this), options); |
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 { take, call, put, race } from 'redux-saga/effects'; | |
| import { forwardTo } from '../utils'; | |
| import AuthService from '../services/auth'; | |
| const auth = new AuthService(); | |
| import { | |
| SENDING_REQUEST, | |
| LOGIN_REQUEST, | |
| REGISTER_REQUEST, |
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
| const { request } = require('graphql-request'); | |
| const chalk = require('chalk'); | |
| const ora = require('ora'); | |
| const query = ` | |
| mutation loginWithEmailPassword($email: String!, $password: String!) { | |
| loginWithEmailPassword(input: {email: $email, password: $password}) { | |
| idToken | |
| } |
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
| source $HOME/.antigen/antigen.zsh | |
| # Load the oh-my-zsh's library. | |
| antigen use oh-my-zsh | |
| antigen bundle git | |
| antigen bundle github | |
| antigen bundle nvm | |
| antigen bundle npm | |
| antigen bundle docker |
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 CardLimits { | |
| transaction: Int @examples(values: [123123, 123123123]) | |
| cash: Int @examples(values: [333333333, 123123123]) | |
| } | |
| enum CardStatus { | |
| PROCESSING, | |
| ACTIVE, | |
| INACTIVE, | |
| BLOCK_PERMANENT, |
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
| diff --git a/app/Fixtures/menuItems.json b/app/Fixtures/menuItems.json | |
| index f3bd7ab4..4f8fdd27 100644 | |
| --- a/app/Fixtures/menuItems.json | |
| +++ b/app/Fixtures/menuItems.json | |
| @@ -9,35 +9,15 @@ | |
| "route": "Dashboard" | |
| }, | |
| { | |
| - "id": "inAndOut", | |
| - "icon": "in_out" |
NewerOlder