Skip to content

Instantly share code, notes, and snippets.

View Daniel-Monroy's full-sized avatar
🏠
Working from home

Daniel Monroy Domínguez Daniel-Monroy

🏠
Working from home
View GitHub Profile
@Daniel-Monroy
Daniel-Monroy / gist:6d36d47f41cb845f4b31932a263525c7
Last active December 4, 2021 18:08
REACT NATIVE - TYPESCRIPT
# Crear proyecto
- npx react-native init proyect --template react-native-template-typescript
# IOS
- npx pod-install
- npx react-native run-ios
# REACT NAVIGATION
- https://reactnavigation.org/docs/getting-started/
Keycloak Init
./standalone.sh -Djboss.socket.binding.port-offset=100
Clean images:
`mvn clean package -DskipTests`
Build Images
`docker build ./ -t app-name`
// Instalar ReactNative
npm install @react-navigation/native
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
npm i @react-navigation/stack
// IOS
cd ios/
pod install
// En Android android/app/build.gradle
composer require mariuzzo/laravel-js-localization
config/app.php - Providers:
Mariuzzo\LaravelJsLocalization\LaravelJsLocalizationServiceProvider::class,
php artisan lang:js resources/js/Lang/translations.js --no-lib --quiet
// RUN COMMAND IN THE COMPILED
npm i webpack-shell-plugin-next
body {
padding:0!important;
}
[type=button] svg{
color:#000;
}
.btn-outline-info:hover, .btn-outline-warning:hover, .btn-outline-success:hover, .btn-outline-danger:hover,
.btn-primary, .btn-secondary, .btn-danger, .btn-info, .btn-warning, .btn-dark {
color: #ffffff!important;
}
laravel new calendar
php artisan migrate
composer require nascent-africa/jetstrap --dev
In AppServiceProvider:
JetstrapFacade::useAdminLte3();
Paginator::useBootstrap();
@Daniel-Monroy
Daniel-Monroy / VIMRC
Last active March 11, 2022 01:25
VIMRC
" MY VIM - Daniel Monroy Domínguez
" Configuration for editor
" -- https://gist.github.com/JeffreyWay/6753834
set nocompatible " Disable vi-compatibility
set t_Co=256
set guifont='firacode'
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
@Daniel-Monroy
Daniel-Monroy / AppHelp
Created June 29, 2020 21:20
REACT NATIVE HELP
react-native in Ubuntu 20.04
JSON SERVER
`https://github.com/typicode/json-server`
json-server --host 192.168.1.XX --port 5000 db.json