Skip to content

Instantly share code, notes, and snippets.

View jorgeborges's full-sized avatar
🤖
[WORKING]

Jorge A. Borges Colina jorgeborges

🤖
[WORKING]
View GitHub Profile
@nasrulhazim
nasrulhazim / install-php-mssql-drivers-in-macos-mojave.md
Last active August 13, 2024 15:04
Install PHP MSSQL Driver in MacOS (Mojave)

Installing Brew

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Installing MSSQL Tools

brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
@zorji
zorji / auto-ts-ignore.ts
Last active March 20, 2025 18:37
A script to auto add // @ts-ignore to lines with TypeScript compilation error
/**
* A script to auto add // @ts-ignore to lines with TypeScript compilation error
* This could be useful when you are upgrading your tsc version, or introduced new changes in tsconfig or just converting JS codebase to TS.
* Example usage:
* $ npx tsc > compilation-errors.log
* $ npx ts-node auto-ts-ignore.ts compilation-errors.log
*/
import { readFile, writeFile } from 'fs/promises'