(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/usr/bin/php | |
| <?php | |
| $in = fopen('php://stdin', 'r'); | |
| $result = array(); | |
| $first = true; | |
| while ($line = fgetcsv($in, 0, "\t")) { | |
| $result[] = sprintf('|%s|', implode('|', $line)); |
| public class RestRequestController { | |
| @AuraEnabled | |
| public static Response service(String path, String method, String responseFormat, String bodyContent, String bodyContentType) { | |
| HttpRequest request = buildRequest(path, method, responseFormat, bodyContent, bodyContentType); | |
| HttpResponse httpRes = sendRequest(request); | |
| Response restRes = buildResponse(httpRes); | |
| return restRes; | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| module.exports = function (grunt) { | |
| grunt.loadNpmTasks('grunt-shell'); | |
| grunt.loadNpmTasks('grunt-express-server'); | |
| grunt.loadNpmTasks('grunt-contrib-watch'); | |
| grunt.loadNpmTasks('grunt-contrib-copy'); | |
| grunt.loadNpmTasks('grunt-text-replace'); | |
| grunt.loadNpmTasks('grunt-contrib-clean'); | |
| grunt.loadNpmTasks('grunt-contrib-uglify'); | |
| grunt.loadNpmTasks('grunt-open'); |
| # laravel new-app | |
| alias laravel="git clone -o laravel -b develop https://github.com/laravel/laravel.git" | |
| alias artisan="php artisan" | |
| alias migrate="php artisan migrate" | |
| alias serve="php artisan serve" | |
| alias dump="php artisan dump" | |
| alias t="phpunit" | |
| # Generators Package |