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
| cd /usr/share | |
| sudo git clone --branch master https://github.com/drush-ops/drush.git |
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
| name: El nombre que nuestro modulo va a tener | |
| description: 'la descripción de nuestro modulo' | |
| type: module | |
| core: 8.x |
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
| # built application files | |
| *.apk | |
| *.ap_ | |
| # files for the dex VM | |
| *.dex | |
| # Java class files | |
| *.class |
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 | |
| preg_replace('/\p{C}+/u', '', $topic_obj->description) |
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
| # Ignore configuration files that may contain sensitive information. | |
| sites/*/settings*.php | |
| # Ignore paths that contain user-generated content. | |
| /sites/*/files | |
| /sites/*/private | |
| /files/* | |
| /cache | |
| # Packages # |
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 in_multiarray($elem, $array) { | |
| $top = sizeof($array) - 1; | |
| $bottom = 0; | |
| while($bottom <= $top) { | |
| if($array[$bottom] == $elem) | |
| return true; | |
| else | |
| if(is_array($array[$bottom])) | |
| if(in_multiarray($elem, ($array[$bottom]))) |
NewerOlder