Skip to content

Instantly share code, notes, and snippets.

@ddoomm
ddoomm / Node-gyp compiling with xcode 10+ and osx 10.7+.md
Last active May 17, 2019 13:48
Node-gyp compiling with xcode 10+ and osx 10.7+

Node-gyp compiling with xcode 10+ and osx 10.7+

The problem

On OSX 10.7+ and xcode 10+ I'm not able to install some project dependencies using npm.

NODE and NODE-GYP versions:

dom:~workspace/my_project$ nvm use 0.10.36
Now using node v0.10.36 (npm v2.15.1)
dom:~workspace/my_project$ node-gyp -v
@ddoomm
ddoomm / ProjectsBackup.md
Last active November 7, 2023 17:52
7Zip excluding bin, obj and node_modules directories
7z.exe a -t7z workspace.7z ./workspace -mx0 -xr!bin -xr!obj -xr!node_modules -xr!'.vs' -xr!'.vscode' -xr!'.git' -xr!'.github' -xr!'.idea' -xr!'nlog*.log'
@ddoomm
ddoomm / RunNETCoreDifferentPort.md
Last active May 9, 2022 08:41
Run .NET Core app using a different url\port
dotnet YouApp.dll --urls http://0.0.0.0:80
@ddoomm
ddoomm / CompressMP4.md
Created May 9, 2022 13:54
Compress videos in MP4
ffmpeg -i input.mkv -c copy output.mp4
or 
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
@ddoomm
ddoomm / vscode-extensions-pack-creation.md
Last active November 5, 2023 14:01
VS Code extensions pack creation

As described here you can install the yo generator code to create themes, extensions and packs.

So, we need to install the node package:

npm install -g yo generator-code

then run: