- actions_apply_to
- admin.scope.col.wrap
- adminhtml.block.report.product.lowstock.grid.container
- adminhtml.catalog.product.set.edit.wrapper
- after.body.start
- alert.urls
- assign_products_container
- available_sort_by_group
- backend.page
- backend.session.activity
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 | |
| // Needs PHPExcel | |
| // https://phpexcel.codeplex.com/ | |
| function excel_to_array($inputFileName,$row_callback=null){ | |
| if (!class_exists('PHPExcel')) return false; | |
| try { | |
| $inputFileType = PHPExcel_IOFactory::identify($inputFileName); | |
| $objReader = PHPExcel_IOFactory::createReader($inputFileType); | |
| $objPHPExcel = $objReader->load($inputFileName); |
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
| Some Jenkinsfile examples |
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
| pipeline { | |
| agent any | |
| options { | |
| buildDiscarder(logRotator(numToKeepStr: '21', artifactNumToKeepStr: '50')) | |
| timestamps() | |
| timeout(time: 5, unit: 'MINUTES') | |
| } | |
| parameters{ | |
| string(name: 'JAVA_HOME', defaultValue: '/var/jenkins_home/tools/hudson.model.JDK/JDK_7u80/', description: 'JDK', ) | |
| } |
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 ubuntu | |
| RUN apt-get update && \ | |
| apt-get -y install curl software-properties-common && \ | |
| curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ | |
| apt-get update && \ | |
| apt-get -y install nodejs && \ | |
| useradd -m -s $(which bash) liferay && \ | |
| chown -R liferay:liferay /usr/lib/node_modules | |
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 | |
| // Server file | |
| class PushNotifications { | |
| // (Android)API access key from Google API's Console. | |
| private static $API_ACCESS_KEY = 'AIzaSyDG3fYAj1uW7VB-wejaMJyJXiO5JagAsYI'; | |
| // (iOS) Private key's passphrase. | |
| private static $passphrase = 'joashp'; | |
| // (Windows Phone 8) The name of our push channel. | |
| private static $channelName = "joashp"; |
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 | |
| /** | |
| * @file `src/FancyService.php` | |
| * | |
| * Fancy service provides lyric segments from Iggy Azalea's song, "Fancy". | |
| */ | |
| namespace Drupal\example; | |
| use Drupal\Core\Language\LanguageManagerInterface; |
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 | |
| // API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = array( $_GET['id'] ); | |
| // prep the bundle | |
| $msg = array |
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 | |
| function sign($method, $url, $data, $consumerSecret, $tokenSecret) | |
| { | |
| $url = urlEncodeAsZend($url); | |
| $data = urlEncodeAsZend(http_build_query($data, '', '&')); | |
| $data = implode('&', [$method, $url, $data]); | |
| $secret = implode('&', [$consumerSecret, $tokenSecret]); | |
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
| Thanks GUys use this oone | |
| ----- BEGIN LICENSE ----- | |
| Member J2TeaM | |
| Single User License | |
| EA7E-1011316 | |
| D7DA350E 1B8B0760 972F8B60 F3E64036 | |
| B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD | |
| FA0A2ABE 25F65BD8 D51458E5 3923CE80 | |
| 87428428 79079A01 AA69F319 A1AF29A4 |