Skip to content

Instantly share code, notes, and snippets.

View Ranur-react's full-sized avatar
🎯
Focusing

Rahmat Nur Ranur-react

🎯
Focusing
  • PT. Mitra Integrasi Informatika
  • Jakarta
View GitHub Profile
@Ranur-react
Ranur-react / APIDocExample.md
Created February 1, 2023 06:45 — forked from simonwep/APIDocExample.md
An API-Documentation example README

API Documentation Example

This API uses POST request to communicate and HTTP response codes to indenticate status and errors. All responses come in standard JSON. All requests must include a content-type of application/json and the body must be valid JSON.

Response Codes

Response Codes

200: Success
400: Bad request
401: Unauthorized
404: Cannot be found
@Ranur-react
Ranur-react / php-docker-ext
Created May 26, 2021 16:49 — forked from hoandang/php-docker-ext
Complete list of php docker ext
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
@Ranur-react
Ranur-react / clean-cache.sh
Created March 25, 2021 10:08 — forked from diegorribeiro/clean-cache.sh
React-native clean gradle cache
#Win
cd android && gradlew clean && cd .. && react-native run-android
#osX
cd android && bash gradlew clean && cd .. && react-native run-android