Skip to content

Instantly share code, notes, and snippets.

View hex0cter's full-sized avatar
🐢

Daniel Han hex0cter

🐢
View GitHub Profile
@aslakhellesoy
aslakhellesoy / MyStepdefs.java
Created November 14, 2012 16:01
How to embed text into your cucumber-jvm report with Java
import cucumber.api.Scenario;
public class MyStepdefs {
private Scenario scenario;
@Before
public void before(Scenario scenario) {
this.scenario = scenario;
}
@OndrejP
OndrejP / docker-register-2-list-images.sh
Last active November 28, 2019 00:52
list all images on Docker Register v2
#!/bin/bash
export Register=https://register.example.com
export cLink="/v2/_catalog?n=10"
export cFile=docker.register.catalog
export tFile=docker.register.tags
export wgetC="wget -O- -q -S "
# Usage with user/password
# export wgetC="wget -O- -q -S --user=ondra --password=heslo "