Skip to content

Instantly share code, notes, and snippets.

View arun2dot0's full-sized avatar
😀
Container Security !

Arun Selvamani arun2dot0

😀
Container Security !
View GitHub Profile
var pubnub = PUBNUB.init({
publish_key : 'pub-c-df94b72e-7d48-4df1-8876-2cccc1afe0f8',
subscribe_key : 'sub-c-c5b3ec0c-d248-11e4-95a3-0619f8945a4f',
ssl : (('https:' == document.location.protocol) ? true : false)
});
function rand(len){
var text = "";
var charset = "abcdefghijklmnopqrstuvwxyz0123456789";
for( var i=0; i < len; i++ ) {
@WeirdBob
WeirdBob / GatewayApplication.java
Created November 21, 2017 12:55
Spring cloud gateway response body modification
package examples;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableAutoConfiguration
public class GatewayApplication {