(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.
| <!doctype html> | |
| <script> | |
| // Docs: https://core.telegram.org/bots/api#getupdates | |
| const UPDATES_URL = 'https://api.telegram.org/bot152495481:AAHOp1v7pz-cV3L2C-xiivqNi0qbVOOVNtQ/getUpdates'; | |
| // Bot name: @spbtv_test_bot | |
| // sendMessage example: | |
| // https://api.telegram.org/bot152495481:AAHOp1v7pz-cV3L2C-xiivqNi0qbVOOVNtQ/sendMessage?chat_id=2263761&text=blablbalba | |
| </script> |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |
| /** | |
| * Wrap gulp streams into fail-safe function for better error reporting | |
| * Usage: | |
| * gulp.task('less', wrapPipe(function(success, error) { | |
| * return gulp.src('less/*.less') | |
| * .pipe(less().on('error', error)) | |
| * .pipe(gulp.dest('app/css')); | |
| * })); | |
| */ |
(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.
| var gulp = require('gulp'); | |
| var browserify = require('browserify'); | |
| var notify = require('gulp-notify'); | |
| var source = require('vinyl-source-stream'); | |
| var watchify = require('watchify'); | |
| var plumber = require('gulp-plumber'); | |
| var less = require('gulp-less'); | |
| var csso = require('gulp-csso'); | |
| var watch = require('gulp-watch'); | |
| var envify = require('envify'); |
| var source = require('vinyl-source-stream'); | |
| var gulp = require('gulp'); | |
| var gutil = require('gulp-util'); | |
| var browserify = require('browserify'); | |
| var reactify = require('reactify'); | |
| var watchify = require('watchify'); | |
| var notify = require("gulp-notify"); | |
| var scriptsDir = './scripts'; | |
| var buildDir = './build'; |