Skip to content

Instantly share code, notes, and snippets.

View mrpmohiburrahman's full-sized avatar
🎯
Focusing

MD. MOHIBUR RAHMAN mrpmohiburrahman

🎯
Focusing
View GitHub Profile
@mrpmohiburrahman
mrpmohiburrahman / knew.md
Created October 8, 2024 12:57 — forked from nandorojo/knew.md
What I wish I knew when I started with Expo Web, React Navigation & Next.js

I started using React Native in September 2018. I always forget some things when I build new apps, so I'll keep track of the gotchas on this post.

Some topics, such as navigation, will be fundamental to how I think about apps. Others, will be one-line helpers that make apps work more smoothly.

It's gotten to the point where I find my own answers from 6 months before on certain Github issues.

I'll keep adding over time as I think of more. If anyone thinks these topics would be useful, let me know and I'll elaborate.

I have made libraries to address a number of the topics here, from navigation to design.

npm i -g eslint
npm i -g prettier
eslint --init
? How would you like to configure ESLint? Use a popular style guide
? Which style guide do you want to follow? Airbnb (https://github.com/airbnb/javascript)
? Do you use React? Yes
? What format do you want your config file to be in? JSON
Checking peerDependencies of eslint-config-airbnb@latest
@mrpmohiburrahman
mrpmohiburrahman / VSCodeSettings.md
Created September 14, 2021 15:41 — forked from shukerullah/VSCodeSettings.md
Visual Studio Code settings for React Native

React Native VSCode Settings

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.

This module will install visual studio code essential extensions and settings for react-native.

Install

npm install --save-dev react-native-vscode-settings
@mrpmohiburrahman
mrpmohiburrahman / david-shariff-js-quiz-explanation.md
Created August 28, 2021 06:29 — forked from jesspoemape/david-shariff-js-quiz-explanation.md
An explanation of David Shariff's Javascript quiz
@mrpmohiburrahman
mrpmohiburrahman / vpn.md
Created October 23, 2020 10:25 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@mrpmohiburrahman
mrpmohiburrahman / cygwin-mirror-speed.py
Created October 6, 2018 14:20 — forked from ushkinaz/cygwin-mirror-speed.py
Tests speed of http mirrors of cygwin
#!/usr/bin/env python3
"""
Tests http mirrors of cygwin
"""
import random
import time
from urllib.request import urlopen
import sys
__author__ = 'Dmitry Sidorenko'