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
# Nord Theme for Alacritty Terminal Emulator | |
# Based on the Nord Color Palette by Arctic Ice Studio | |
# https://github.com/nordtheme/nord | |
# Import additional configuration files | |
# import = [ | |
# "~/.config/alacritty/keybindings.toml" | |
# ] | |
# Working directory (optional) |
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 xlsx = require('xlsx'); | |
const filePath = process.argv.slice(2)[0]; | |
const workbook = xlsx.readFile(filePath); | |
const worksheet = workbook.Sheets[workbook.SheetNames[0]]; | |
let posts = []; | |
let post = {}; | |
for (let cell in worksheet) { |
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 { Req, Res, Injectable } from '@nestjs/common'; | |
import { Profile } from './profile.entity'; | |
import { Repository } from 'typeorm'; | |
import { InjectRepository } from '@nestjs/typeorm'; | |
import { ProfileDto } from './dto/profile.dto'; | |
import { User } from 'users/user.entity'; | |
import { UserQuery, ProfileQuery } from './structures/helpers'; | |
import * as multer from 'multer'; | |
import * as AWS from 'aws-sdk'; | |
import * as multerS3 from 'multer-s3'; |