This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| When Invalid Host Header when ngrok tries to connect to Angular or React dev server use this form for run ngrok. | |
| ngrok http 8080 -host-header="localhost:8080" | |
| ngrok http --host-header=rewrite 8080 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:5.6-apache | |
| RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql | |
| COPY src/ /var/www/html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:convert'; | |
| import 'dart:io'; | |
| import 'package:flutter/cupertino.dart'; | |
| import 'package:crypto/crypto.dart'; | |
| // Device Manager | |
| class Device { | |
| Device._privateConstructor(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:dio/dio.dart'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:sabsewa/networks/api_endpoints.dart'; | |
| import 'package:sabsewa/app_config/app_colors.dart'; | |
| import 'package:sabsewa/networks/secure_storage.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:sabsewa/views/utils/toast.dart'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Configuration Proxy | |
| #Git | |
| git config --global http.proxy http://<username>:<password>@<proxy-port> | |
| git config --global https.proxy http://<username>:<password>@<proxy-port> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://github.com/microsoft/vscode-recipes/tree/master/debugging-jest-tests | |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Jest All", | |
| "program": "${workspaceFolder}/node_modules/.bin/jest", | |
| "args": [ |
OlderNewer