Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

José Neto netojose

🎯
Focusing
View GitHub Profile
@netojose
netojose / webpack.config.js
Created Mar 21, 2018
Webpack config to split css and js files by route and/or component (Webpack 2)
View webpack.config.js
const path = require('path');
module.exports = {
entry: './src/index.jsx',
output: {
path: path.resolve('dist'),
filename: 'assets/js/[name].[hash:12].js',
publicPath: 'http://localhost:8080/'
},
resolve: {
@netojose
netojose / setup_genymotion_to_access_docker_container.md
Created Aug 23, 2017
Setup genymotion to access docker container.md
View setup_genymotion_to_access_docker_container.md
1.Open the commandline and run the following commands to edit the hosts file:
adb root
adb remount
adb pull /system/etc/hosts hosts
2.The hosts file should now be present in the folder where you excecuted the pull command. Edit the file with a text editor and add the sites you want to access. For example i added:
You can’t perform that action at this time.