This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{-- Define all our servers --}} | |
@servers(['staging' => '', 'production' => '']) | |
@setup | |
{{-- The timezone your servers run in --}} | |
$timezone = 'Europe/Amsterdam'; | |
{{-- The base path where your deployments are sitting --}} | |
$path = '/var/www/site.com/htdocs'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import os | |
import time | |
FNULL = open(os.devnull, 'w') | |
out = "out.txt" # The address, seed, private key output in out.txt | |
store = "store.txt" # the text file that will store all the generated address details | |
genex = "dcraddrgen.exe" # put the direct path link to the exe if its not in the same directory as the python code | |
req = "DsRick" # put your own name in place of 'Rick' (Make it less than 5 chars. should take lesser time | |
size = len(req) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
pipeline { | |
agent { label 'master' } | |
stages { | |
stage('Checkout') { | |
steps { | |
checkout scm | |
} | |
} |