View restart-touchbar.sh
pkill "Touch Bar agent"; | |
killall "ControlStrip"; | |
#or the same with sudo | |
sudo pkill "Touch Bar agent"; | |
sudo killall "ControlStrip"; |
View Gradle dependencies local path MacOS
~/.gradle/caches/modules-2/files-2.1 |
View gist:3f2758c2262a5cab175de464a9c26323
@Configuration | |
@EnableWebSecurity | |
public class WebSecurity extends WebSecurityConfigurerAdapter { | |
public WebSecurity() {} | |
@Override | |
protected void configure(HttpSecurity http) throws Exception { | |
http.cors().and().csrf().disable().authorizeRequests() |
View webpack.config.js
var webpack = require('webpack'); | |
var path = require('path'); | |
var fs = require('fs'); | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
var SvgStore = require('webpack-svgstore-plugin'); | |
var LiveReloadPlugin = require('webpack-livereload-plugin'); | |
var inProduction = process.env.NODE_ENV === 'production'; |