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
#!/bin/sh | |
# Created by: Alex Saavedra | |
# Date created: 2011-05-11 | |
# Last modified: 2010-05-11 | |
# Purpose: ProcessMaker backup. | |
# Change log: | |
# Syntax: | |
# backup.sh <periodicity> <period> | |
# Parameters: | |
# <periodicity> = weekly, monthly, yearly |
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
#!/bin/sh | |
# Get IP address from latest docker instance | |
exec docker inspect --format '{{ .NetworkSettings.IPAddress }}' "$@" |
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
# Make sure you have pv and zcat already installed | |
pv my_database.sql.gz | zcat | drush sqlc | |
# Example output: | |
# 433kB 0:00:00 [ 658kB/s] [============================================================================================>] 100% |
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
#!/bin/bash | |
drush -y sql-dump --structure-tables-key=common --gzip --result-file=path/based/on/drupal/root/to/your/backup.sql |
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 script production following aliases. | |
# | |
# alias ..='cd ../' | |
# alias ...='cd ../../' | |
# alias ....='cd ../../../' | |
# alias .....='cd ../../../../' | |
# alias ......='cd ../../../../../' | |
# alias .......='cd ../../../../../../' | |
# alias ........='cd ../../../../../../../' | |
# alias .........='cd ../../../../../../../../' |
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
Label: Comments | |
Machine name: comment | |
Descritpion: This field manages configuration and presentation of comments on an entity. | |
Provider: comment | |
--- | |
Label: Date | |
Machine name: datetime | |
Descritpion: Create and store date values. | |
Provider: datetime | |
--- |
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
sudo phpbrew install 5.4.45 \ | |
+default \ | |
+mysql \ | |
+hash \ | |
+iconv \ | |
+gd \ | |
+apxs2=/usr/bin/apxs -- \ | |
--with-gd \ | |
--enable-gd-natf \ | |
--with-jpeg-dir \ |
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
#Exec=/usr/bin/google-chrome-stable %U | |
Exec=/opt/google/chrome/chrome %U |
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
def projects = [:]; | |
projects['first-repo'] = [ | |
name: 'First multibranch pipeline', | |
repo: 'repo-first' | |
] | |
projects['second-repo'] = [ | |
name: 'Second multibranch pipeline', | |
repo: 'repo-second' |
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
Started by user Piotr Sobieszczański | |
[Wed Jul 11 12:43:22 UTC 2018] Starting branch indexing... | |
ERROR: [Wed Jul 11 12:43:23 UTC 2018] Could not fetch branches from source 7aceea81-226f-4094-a96c-fbb8773cc981 | |
java.lang.ClassCastException: jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl cannot be cast to jenkins.scm.api.trait.SCMSourceTrait | |
at jenkins.scm.api.trait.SCMSourceContext.withTraits(SCMSourceContext.java:245) | |
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:534) | |
at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:357) | |
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:267) | |
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:633) |