This file contains hidden or 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
/^###/ { header=1 } | |
/^# / && header { | |
if (/^# Page/) { | |
page=substr($0, 8) | |
} else { | |
if (page) { | |
page="" | |
dir=substr($0, 3) | |
} else { | |
dir=dir "/" substr($0, 3) |
This file contains hidden or 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
FROM alpine | |
ENV AZ 2.0.62 | |
RUN apk add -U python3 bash && \ | |
apk add --virtual=build gcc python3-dev musl-dev libffi-dev openssl-dev make && \ | |
pip3 install azure-cli==${AZ} && \ | |
ln -s /usr/bin/python3 /usr/bin/python && \ | |
apk del --purge build |
This file contains hidden or 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 | |
# Unlock the directory, we need the unencrypted versions of the files | |
git crypt unlock | |
# Re-initialize git crypt, generating a new key | |
rm .git/git-crypt/keys/default | |
git crypt init | |
# Make the key available to the current users |
This file contains hidden or 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
<?php | |
/** | |
* Copyright (c) 2013 Bart Visscher <[email protected]> | |
* This file is licensed under the Affero General Public License version 3 or | |
* later. | |
* See the COPYING-README file. | |
*/ | |
namespace OCP\App; |
This file contains hidden or 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 | |
find -name *.php -print0 | xargs -0 sed -i -e ' | |
s/OC_API::register/OCP\\API::register/gi; | |
s/OC_App::addNavigationEntry/OCP\\App::addNavigationEntry/gi; | |
s/OC_App::setActiveNavigationEntry/OCP\\App::setActiveNavigationEntry/gi; | |
s/OC_App::registerPersonal/OCP\\App::registerPersonal/gi; | |
s/OC_App::registerAdmin/OCP\\App::registerAdmin/gi; | |
s/OC_App::getAppInfo/OCP\\App::getAppInfo/gi; |