Skip to content

Instantly share code, notes, and snippets.

View eloisetaylor5693's full-sized avatar

Eloise eloisetaylor5693

  • FutureLearn
  • London
View GitHub Profile
@eloisetaylor5693
eloisetaylor5693 / git.md
Created November 20, 2023 12:34
Git cheatsheet

Empty commit git commit --allow-empty -m "trigger ci"

Git fixup

git ll
git commit --fixup <commit sha>
@eloisetaylor5693
eloisetaylor5693 / how-to.md
Last active April 4, 2023 12:05
Git - ask before commiting to master/main
@eloisetaylor5693
eloisetaylor5693 / github-actions-cheatsheet.md
Last active February 15, 2024 13:17
Github actions cheatsheet

Github actions cheatsheet

run: echo 'MY_NEW_ENV_VAR="hello"' >> "$GITHUB_ENV"

@eloisetaylor5693
eloisetaylor5693 / _implementation.md
Last active April 6, 2023 13:58
Paypal currency issue (Case # 12117471)

Paypal currency issue (Case # 12117471)

Issue

The pay later feature errors for currencies which are not the default currency in the paypal account. For our PP accounts, there's an error on rendering the components when the currency is not GBP. We found the "Invalid option value" occurs on the messaging component.

Our first release will only include the messaging, then we'll be showing a pay later button.

Errors

@eloisetaylor5693
eloisetaylor5693 / restart-wsl.md
Created February 22, 2022 21:02
Restarting wsl when wsl stops working
wsl.exe --shutdown
wsl.exe
@eloisetaylor5693
eloisetaylor5693 / docker-cheatsheet.md
Last active May 16, 2022 08:41
Docker cheatsheet

Docker

Set custom image name: docker build -t image_name .

Set custom container name docker run --name container_name image_name

Docker compose

Override the project name

@eloisetaylor5693
eloisetaylor5693 / azure-devops-log-output-on-owasp-dependency-task
Last active April 23, 2021 13:31
Log output for Azure devops build when OWASP Dependency Check extension failed
2021-04-23T13:22:07.9604078Z ##[section]Starting: Dependency Checks
2021-04-23T13:22:07.9686949Z ==============================================================================
2021-04-23T13:22:07.9687222Z Task : OWASP Dependency Check
2021-04-23T13:22:07.9687573Z Description : Dependency Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies.
2021-04-23T13:22:07.9687912Z Version : 5.6.3
2021-04-23T13:22:07.9688079Z Author : Dependency Check
2021-04-23T13:22:07.9688340Z Help : [More Information](https://jeremylong.github.io/DependencyCheck/index.html)
2021-04-23T13:22:07.9688643Z ==============================================================================
2021-04-23T13:22:08.6069876Z Starting Dependency Check...
2021-04-23T13:22:08.6660398Z Setting report directory to c:\agent\_work\8\TestResults\dependency-check
@eloisetaylor5693
eloisetaylor5693 / azure-devops-cheatsheet.md
Last active July 7, 2021 15:44
Azure Devops Cheatsheet
@eloisetaylor5693
eloisetaylor5693 / QAs Vs Devs game.md
Last active February 15, 2019 19:14
QAs Vs Devs game

QAs Vs Devs game

Team building game which also helps the team to test and troubleshoot more effectively.

The rules are:

  • QAs have to find creative ways to break an application.
  • Developers have to find out what was done to break the app.

QA staff get experience in being creative during exploratory testing.

@eloisetaylor5693
eloisetaylor5693 / Useful splunk commands.md
Last active February 15, 2019 19:17
Useful splunk commands

Useful Splunk commands

Command Purpose
Dedup Distinct results
Substr Substring
Rename Rename a field, so that it can be used in exec command, or for readiblility
Fields Only include these fields in subquery
Table Format results as table