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
| configurations { | |
| all*.exclude group: 'com.android.support', module: 'support-v13' | |
| } | |
| configurations.all { | |
| resolutionStrategy { | |
| force 'com.android.support:support-v4:27.1.0' | |
| } | |
| } |
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
| grep -rl "\"version\":4" --include=*metadata.json | xargs -i@ sed -i 's/\"version\":4/\"version\":3/g' @ |
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/sh | |
| FRAMEWORK_NAME = "NAME OF FRAMEWROK" | |
| UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
| # make sure the output directory exists | |
| mkdir -p "${UNIVERSAL_OUTPUTFOLDER}" | |
| # Step 1. Build Device and Simulator versions |
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
| # Create by @mkeremkeskin - https://gist.github.com/mkeremkeskin/da143c10de4582c4f76c0380d4676983#file-post-action-script-sh | |
| exec > /tmp/${PROJECT_NAME}_archive.log 2>&1 | |
| UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
| if [ "true" == ${ALREADYINVOKED:-false} ] | |
| then | |
| echo "RECURSION: Detected, stopping" | |
| else | |
| export ALREADYINVOKED="true" |
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
| exec > /tmp/${PROJECT_NAME}_archive.log 2>&1 | |
| UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
| if [ "true" == ${ALREADYINVOKED:-false} ] | |
| then | |
| echo "RECURSION: Detected, stopping" | |
| else | |
| export ALREADYINVOKED="true" |
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
| UPDATE wp_users SET user_nicename = CONCAT(LEFT(user_login, INSTR(user_login, '@')), '') WHERE ID = 0; | |
| UPDATE wp_users SET user_login = CONCAT(LEFT(user_login, INSTR(user_login, '@')), 'example.test') WHERE ID = 0; | |
| UPDATE wp_users SET user_email = CONCAT(LEFT(user_login, INSTR(user_login, '@')), 'example.test') WHERE ID > = 0; |
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 | |
| curl -X POST -L \ | |
| -H "Authorization: Bearer ya29.a0Aa4xrXNzBjX5F-QUqlBPn508LvaHCscbFmkGWfWb_uvHSqhwRmva-c7NqT9rV_ts5Ey9RtRB7jFuR7yiZ3hzASOtalKHd31bNuOUGKrPCiL0zkI4X9qmj2n6MMZRNfLxyXTAYBESH9oRORXINeDZogtxHX9BaCgYKATASARMSFQEjDvL9n-EgWQwkiIgrrpQcqWE98w0163" \ | |
| -F "metadata={name :'/var/www/backup_medicina_legal.zip'};type=application/json;charset=UTF-8" \ | |
| -F "file=@/var/www/backup_medicina_legal.zip;type=application/zip" \ | |
| "https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart" |
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 | |
| curl -d "client_id=357213535355-egdrcg6pturbpb6672vma3kuea818ik1.apps.googleusercontent.com&scope=https://www.googleapis.com/auth/drive.file" https://oauth2.googleapis.com/device/code |
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
| { | |
| "customizeUI.stylesheet": { | |
| ".decorationsOverviewRuler": "display: none;", | |
| ".editor-group-container .title *": "display: none;", | |
| ".editor-group-container .title": "pointer-events: none;", | |
| ".editor-group-container.empty": "-webkit-app-region: drag;", | |
| ".monaco-editor .scroll-decoration": "box-shadow: none;" | |
| }, | |
| "customizeUI.titleBar": "inline", | |
| "debug.console.fontFamily": "JetBrains Mono", |
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
| version: '2' | |
| services: | |
| mariadb: | |
| container_name: ${NAME}-database | |
| image: mariadb:10.6 | |
| environment: | |
| - ALLOW_EMPTY_PASSWORD=yes | |
| - MARIADB_USER=moodle_user | |
| - MARIADB_DATABASE=moodle | |
| - MARIADB_CHARACTER_SET=utf8mb4 |
OlderNewer