Consider changing this
http.apply(new JSONLoginConfigurer<HttpSecurity>()
.loginPage("/authenticate")
.successHandler(new SimpleUrlAuthenticationSuccessHandler("/dashboard"))
.permitAll());
| package main | |
| import ( | |
| "fmt" | |
| "strconv" | |
| "sync" | |
| "sync/atomic" | |
| ) | |
| // No deadlock on all sleeping, etc. |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func slices2() { | |
| slice1 := []string{"Ferrari", "Honda", "Ford"} | |
| slice2 := slice1[:] | |
| fmt.Println("Slice1: ", slice1) |
| package main | |
| import "fmt" | |
| type _struct struct { | |
| field string | |
| } | |
| func (s *_struct) doStuff(msg string) { | |
| s.field = msg |
Consider changing this
http.apply(new JSONLoginConfigurer<HttpSecurity>()
.loginPage("/authenticate")
.successHandler(new SimpleUrlAuthenticationSuccessHandler("/dashboard"))
.permitAll());
| import java.lang.reflect.AccessibleObject; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.lang.reflect.Method; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Map; | |
| import com.google.ads.googleads.v6.services.GoogleAdsVersion; | |
| import com.google.api.gax.core.BackgroundResource; | |
| import com.google.protobuf.AbstractMessage; |
| import java.sql.Array; | |
| import java.sql.ResultSet; | |
| import java.sql.SQLException; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.HashSet; | |
| import java.util.List; | |
| import java.util.Map; |
| #!/Library/Frameworks/Python.framework/Versions/3.6/bin/python3 | |
| from packaging import version | |
| import sys | |
| # files produced from pom.xml by | |
| # mvn dependency:list -f pom.xml | grep "] " | sed 's/.*]\ \ \ \ //g' | sort | uniq | |
| # arg1 - current file | |
| # arg2 - "should-be" file | |
| cur = open(sys.argv[1]) |
| import arrow | |
| def perc(n): | |
| try: | |
| return "%0.1f" % (float(n)/tot*100) | |
| except Exception, e: | |
| raise Exception("Error in %s (%s): %s" % (n, type(n), e)) | |
| f = open('/tmp/rows.csv') | |
| tot = 0 |
| import argparse | |
| import os | |
| import sets | |
| import subprocess | |
| import sys | |
| import tempfile | |
| """ | |
| Assumes procyon: |