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 {HttpException, Injectable} from '@nestjs/common'; | |
| import {google} from 'googleapis'; | |
| import {GoogleApiService} from '../googleApi/googleApi.service'; | |
| @Injectable() | |
| export class GoogleSheetService { | |
| constructor(private readonly googleApiService: GoogleApiService) {} | |
| async readSheet(): Promise<any[]> { |
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
| declare module 'aws-amplify-react-native' { | |
| const Amplify: any; | |
| export default Amplify; | |
| // *** UI *** | |
| interface ITheme { | |
| container: {}; | |
| section: {}; | |
| sectionHeader: {}; | |
| sectionHeaderText: {}; |
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
| // strapi/extensions/users-permissions/config/policies/permissions.js | |
| const _ = require('lodash'); | |
| const crypto = require('crypto'); | |
| const redisClient = require('../../../../cache/redis'); | |
| const handleErrors = (ctx, err = undefined, type) => { | |
| throw strapi.errors[type](err); | |
| }; |
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
| // strapi/api/${YourModel}/services/${YourModel} | |
| const crypto = require('crypto'); | |
| const redisClient = require('../../../cache/redis'); | |
| const sendNotification = require('./notification'); | |
| /** | |
| * Read the documentation (https://strapi.io/documentation/v3.x/concepts/services.html#core-services) | |
| * to customize this service | |
| */ |
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
| for repo in $(curl -s --header "PRIVATE-TOKEN: YOUR_TOKEN" "https://gitlab.com/api/v4/groups/YOUR_GROUP?include_subgroups=true&per_page=100" | jq -r ".projects[].http_url_to_repo"); do echo $repo; done; |
OlderNewer