Skip to content

Instantly share code, notes, and snippets.

View klyff's full-sized avatar
💭
rakonto

Klyff Harlley klyff

💭
rakonto
View GitHub Profile
@klyff
klyff / .deps...npm...@openzeppelin...contracts...access...Ownable.sol
Created October 25, 2025 14:53
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
@klyff
klyff / .deps...npm...@openzeppelin...contracts...access...Ownable.sol
Created October 25, 2025 14:53
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
@klyff
klyff / docker-compose.yml
Created June 19, 2020 18:20
docker-compose.yml
version: '3.3'
services:
jenkins:
build:
context: ./jenkins_config
dockerfile: Dockerfile
image: jenkins-pact-ci
container_name: jenkins-pact-ci
restart: always
@klyff
klyff / Dockerfile
Created June 19, 2020 18:19
pact-ci-workshop-docker
# Starting off with the Jenkins base Image
FROM jenkins/jenkins:2.230-jdk11
# Installing the plugins we need using the in-built install-plugins.sh script
RUN JENKINS_UC_DOWNLOAD=http://archives.jenkins-ci.org /usr/local/bin/install-plugins.sh git matrix-auth workflow-aggregator \
docker-workflow blueocean job-dsl credentials-binding simple-theme-plugin \
jquery gravatar
# Setting up environment variables for Jenkins admin user
ENV JENKINS_USER admin
@klyff
klyff / Dockerfile
Created June 19, 2020 18:19
pact-ci-workshop-docker
# Starting off with the Jenkins base Image
FROM jenkins/jenkins:2.230-jdk11
# Installing the plugins we need using the in-built install-plugins.sh script
RUN JENKINS_UC_DOWNLOAD=http://archives.jenkins-ci.org /usr/local/bin/install-plugins.sh git matrix-auth workflow-aggregator \
docker-workflow blueocean job-dsl credentials-binding simple-theme-plugin \
jquery gravatar
# Setting up environment variables for Jenkins admin user
ENV JENKINS_USER admin