Skip to content

Instantly share code, notes, and snippets.

View anupamhaldkar's full-sized avatar
:octocat:
Inherit less, implement more

Anupam Haldkar anupamhaldkar

:octocat:
Inherit less, implement more
View GitHub Profile
@anupamhaldkar
anupamhaldkar / Secure-Workloads-in-Google-Kubernetes-Engine-Challenge-Lab.txt
Last active January 12, 2022 07:23
Secure-Workloads-in-Google-Kubernetes-Engine-Challenge-Lab Challenge lab level 1
gcloud container clusters create security-demo-cluster295 \
--zone us-central1-c \
--machine-type n1-standard-4 \
--num-nodes 2 \
--enable-network-policy
gcloud sql instances create wordpress-db-676 --region us-central1
gcloud iam service-accounts create sa-wordpress-119
<!DOCTYPE html>
<html>
<title>Web Hoster</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;
// Java Program of JavaBean class
public class Employee implements java.io.Serializable
{
private int id;
private String name;
public Employee()
{
}
public void setId(int id)
{
// Employee POJO class to represent Employee entity
public class Employee
{
// private field
private String name;
// public field
public String id;
// default salary
var name_text = document.getElementById('name');
var linkedin_link = document.getElementById('linkedin');
var medium_link = document.getElementById('medium');
var twitter_link = document.getElementById('twitter');
var save_button = document.getElementById('save');
let array = ["name","linkedin","medium","twitter"];
chrome.storage.sync.get(array,function(links){
if(!chrome.runtime.error){
console.log(links);
if(links.name)
var name_text = document.getElementById('name');
var linkedin_link = document.getElementById('linkedin_link');
var medium_link = document.getElementById('medium_link');
var twitter_link = document.getElementById('twitter_link');
let array = ["name","linkedin","medium","twitter"];
function void_click(){
void(0);
}
chrome.storage.sync.get(array,function(links){
if(!chrome.runtime.error){
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile Edit Links</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"/>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"/>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<title>Social Profile LaunchPad</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"/>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"/>
</head>
<body >
{
"manifest_version": 1,
"name": "Swift LaunchPad",
"description": "Launch Social Media in one click",
"version": "1.0.0",
"browser_action": {
"default_icon": "Group 2.png",
"default_popup": "popup.html"
},