Skip to content

Instantly share code, notes, and snippets.

@dlrandy
dlrandy / node-modules-in-react-native.md
Created August 13, 2022 13:35 — forked from parshap/node-modules-in-react-native.md
Running Node Modules in React Native

Running Node Modules in React Native

How to use packages that depend on Node.js core modules in React Native.

See the [node-libs-react-native][node-libs-react-native] library as a convenience for implementing this method.

Node.js Core Modules

@dlrandy
dlrandy / vscode-update-permission-denied.txt
Created July 25, 2021 05:08 — forked from iamcryptoki/vscode-update-permission-denied.txt
Fix Visual Studio Code update error "Could not create temporary directory: Permission denied" on macOS.
sudo rm -Rf ~/Library/Caches/com.microsoft.VSCode.ShipIt
sudo rm -Rf ~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt
@dlrandy
dlrandy / javascript_deep_dive.md
Created April 30, 2021 07:06 — forked from faressoft/javascript_deep_dive.md
JavaScript Deep Dive to Crack The JavaScript Interviews
# 1. Build our Angular app
FROM node:alpine as builder
WORKDIR /app
COPY package.json package-lock.json ./
ENV CI=1
RUN npm ci
COPY . .
RUN npm run build -- --prod --output-path=/dist
# 1. Build our Angular app
FROM node:alpine as builder
WORKDIR /app
COPY package.json package-lock.json ./
ENV CI=1
RUN npm ci
COPY . .
RUN npm run build -- --prod --output-path=/dist
@dlrandy
dlrandy / gist:ecaf5fdf9dcf23695aa7857e592b0613
Created August 29, 2019 06:13
nodejs interpreter and compiler
https://www.freecodecamp.org/news/javascript-essentials-why-you-should-know-how-the-engine-works-c2cc0d321553/
@dlrandy
dlrandy / GitCommitEmoji.md
Created November 25, 2018 13:54 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@dlrandy
dlrandy / gist:28a0e204db44e9144bfd2d8e7d07de14
Created November 25, 2018 13:54 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@dlrandy
dlrandy / posts.csv
Last active November 26, 2017 13:25
posts.csv for init database
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 6 columns, instead of 8. in line 1.
ID,TITLE,INTRO,CONTENT,STATUS,POSTER
1,'RXJS IN ACTION','RXJS BEST PRACTICES','RXJS AWESOME CONTENT, STREAM, STREAM. ','DONE',':////cdn-images-1.medium.com/max/2000/1*4io_io2GZmW2yObc0Y_YMg.jpeg'
@dlrandy
dlrandy / nginx.conf
Created November 25, 2017 15:21 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048