Skip to content

Instantly share code, notes, and snippets.

View devloe's full-sized avatar

Juan Pablo Lozano devloe

View GitHub Profile
@navjotahuja92
navjotahuja92 / setup.ts
Last active February 2, 2024 15:11
Nest.js Test Setup with In Memory Postgres Database (pg-mem)
// Install npm i pg-mem --save-dev
import { DataSource, Repository } from 'typeorm';
import { newDb, DataType } from 'pg-mem';
import { v4 } from 'uuid';
const setupDataSource = async () => {
const db = newDb({
autoCreateForeignKeyIndices: true,
});
@nvanselow
nvanselow / IonicFilePermissions.md
Last active June 16, 2016 14:54
Ionic and Xcode File Permissions and Code Signing Errors

##Ionic, EACCESS, File Permission, and Xcode signing

Recently, Ionic and Xcode 6 have not been playing nicely. I believe I have targeted the error to file permissions that are set when Ionic adds a platform.

I kept getting an Exit Code 1 error when I would try to build my iOS app. Running the following from the terminal from within the project directory solved the error.

sudo chmod -R a+rwx platforms

###Error During iOS App Archiving