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
+-----------------------------------------------+ | |
| Helpful Articles for when I'm doing dev Stuff | | |
+-----------------------------------------------+ | |
Git Markup Cheatsheet - https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet | |
Installing maven MacOSX https://appenginetricks.com/how-install-maven-mac/ |
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
// This was failing my build: | |
archiveArtifacts artifacts: '**/${env.DOCKER_FILE_NAME}', fingerprint: false | |
// SHOULD BE THIS | |
archiveArtifacts artifacts: "**/${env.DOCKER_FILE_NAME}", fingerprint: false | |
------------------------------------------------------------------------------------------------------------ | |
// If you need vars that are global and changeable, you need them outside of the pipeline | |
VAR="value" | |
pipeline { | |
... | |
} |
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
echo -e $RED"\nO$CYAN-$DEFAULT($CYAN:"$RED"0$DEFAULT)\n" |
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
For a given Jenkins Multibranch pipeline... | |
_the_ Bitbucket git repository that _contains_ the Jenkinsfile | |
_can_ trigger the relevant Jenkins job | |
_with_ the branch name (i.e. "Omit Branch Name" *not* checked in BitBucket) | |
_any_ Bitbucket git repository that _does not contain_ the Jenkinsfile | |
_can only_ trigger the relevant Jenkins job | |
_without_ the branch name (i.e. "Omit Branch Name" *is* checked in BitBucket) | |
============================================================================= |
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
#repo name | |
aptly repo add MOOGLE | |
#Distro #prefix | |
aptly publish update MOG Moogle | |
aptly publish list | |
| #Prefix #Distro #Architectures #component #reponame #comment | |
└─ * Moogle/MOG [amd64,i389,source] publishes { moogle:[MOOGLE]: comment} |
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
######################################## | |
# UNDERTALE # | |
######################################## | |
░██░░████████░░██░░░░░░░░░░░░░░░░░░░░░░░░░░ | |
░░██░░██░░░░░░░░██░░██░░░░░░░░░░░░░░░░░░░░░░░░ | |
░░██░░░░░░░░░░░░░░░░██░░░░░░░░░░░░░░░░░░░░░░░░ | |
░░██░░░░░░░░░░░░░░░░░░██░░░░░░░░░░░░░░░░░░░░░░ | |
██░░░░██░░░░██░░░░░░░░░░██░░░░░░░░░░░░░░░░░░░░ | |
██░░░░░░░░░░░░░░░░░░░░░░░░████░░░░░░░░░░░░░░░░ |
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
Definitions not yet migrated to the new jenkins site | |
https://wiki.jenkins.io/display/JENKINS/Terminology | |
Javadocs for Build Results | |
http://javadoc.jenkins-ci.org/hudson/model/Result.html#isCompleteBuild-- | |
Actual code for Byuild Result | |
https://github.com/jenkinsci/jenkins/blob/08def67a18eee51de9f3f99bc2a792fee1c160e0/core/src/main/java/hudson/model/Result.java#L80 | |
actual code fo ra JOB |
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
echo 'some-password' | mkpasswd --stdin --method=sha-512 --salt="$(od -tx1 -N8 -An </dev/urandom | tr -dc '[:xdigit:]')" | |
# What is this? | |
# Get 16 teaspoons of salt | |
$ od -tx1 -N16 -An </dev/urandom | tr -dc '[:xdigit:]' | |
# Mix well with hashed browns | |
echo 'hashed browns' | mkpasswd --stdin --method='sha-512' --salt='<PASTE OUTPUT FROM OD HERE>' |
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
echo 'some-password' | mkpasswd --stdin --method=sha-512 --salt="$(tr -dc '[:alnum:]' </dev/urandom | head -c16)" | |
# What is this? | |
# Get 16 teaspoons of salt | |
$ od -tx1 -N15 -An </dev/urandom | tr -dc '[:xdigit:]' | |
# >16 is too many | |
echo 'some-password' | mkpasswd --stdin --method=sha-512 --salt="$(tr -dc '[:alnum:]' </dev/urandom)" | |
Wrong salt length: 32 bytes when 8 <= n <= 16 expected. |
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
Originally From: http://anime.en.utf8art.com/?s=rider | |
Best Viewed with MSPGothic Font | |
,イ /:.:./;.:.:-.―‐―一':.< | |
ヽ、 /:.:V:.:.〃:.:.:.:.:.:.:.:.:/:.:.:.:.:.:.:.:.ー1 | |
.N:.:.Y:.:,;/:.:.::!:.:.:.:./:.:.:.:/:.:.:.:.:.:.:./:.:.:.イフ | |
N:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:i!:.:.:.:〈r':.:.:.:/:.:.:.:.:.:.:` ーッ | |
_ゝヾ:.:.:\:.:.:.:.:.:.:.:.:ゞ;.:.:.:ヾ:.:.:.:.:.:.//:.:.:.:.:.:く | |
\:.:.:.:.:.:.:.:≧ミ:、、ミ;,v:.::.:.:.:.;; ≦;;,/:.ィ:.:.:.:.:.:> |
OlderNewer