Skip to content

Instantly share code, notes, and snippets.

@kwilson7770
kwilson7770 / gist:457650ca951e9e2c67f982a0e7b7e5c5
Last active September 12, 2022 10:46
Installing mitmproxy on CentOS
Install CentOS-7-x86_64-Minimal-1804.iso, log in, and run these commands:
echo "Installing updates and packages..."
yum install -y -q epel-release
yum install -y -q nload vim nano wget chrony open-vm-tools unzip tcpdump mlocate net-tools nmap bind-utils
yum update -y
echo "Finished installing updates and packages..."
echo "Setting important variables for these commands..."
hostname="mitmproxy"
@fernandoabcampos
fernandoabcampos / README.md
Created September 26, 2016 20:29 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


Index:

@leonardofed
leonardofed / README.md
Last active September 19, 2024 07:07
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@dsyer
dsyer / migrating-oauth2.md
Last active May 3, 2018 14:50
Guide to migrating OAuth2 apps from Spring Boot 1.2 to 1.3

Migrating OAuth2 Apps from Spring Boot 1.2 to 1.3

There are some new features in Spring Boot 1.3 to do with OAuth2 clients and servers and Spring Security OAuth2. Some of those features were ported from Spring Cloud Security and hence were in the Angel release train of Spring Cloud, but are not in the Brixton release train. This article helps you navigate the changes and update any existing apps to use the new features confidently.

Dependency Management

If you are not using Spring Cloud you should be able to just change the version number of your Spring Boot dependency. Since some of the OAuth2 features migrated from Spring Cloud Security to Spring Boot in 1.3, it is likely that things are slightly more complicated than that. A [separate article](https://spring.io/blog/2015/11/25

@danlangford
danlangford / dan.langford.SomeBean.java
Created August 21, 2012 19:47
@value annotations working on spring junit test, annotation ONLY config. no xml
// ./src/main/java/dan/langford/SomeTest.java
package dan.langford;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
public class SomeBean {