(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.
(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.
| <?php | |
| namespace GM\VirtualPages; | |
| /** | |
| * @author Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com> | |
| * @license http://opensource.org/licenses/MIT MIT | |
| */ | |
| class Controller implements ControllerInterface { | |
| private $pages; |
| var config = require('path/to/config'); | |
| var mongoose = require('mongose'); | |
| process.env.NODE_ENV = 'test'; | |
| before(function (done) { | |
| function clearCollections() { | |
| for (var collection in mongoose.connection.collections) { | |
| mongoose.connection.collections[collection].remove(function() {}); |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| <?php | |
| function delete_custom_posts($post_type = 'post'){ | |
| global $wpdb; | |
| $result = $wpdb->query( | |
| $wpdb->prepare(" | |
| DELETE posts,pt,pm | |
| FROM wp_posts posts | |
| LEFT JOIN wp_term_relationships pt ON pt.object_id = posts.ID | |
| LEFT JOIN wp_postmeta pm ON pm.post_id = posts.ID | |
| WHERE posts.post_type = %s |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iexThese are alternative packages/frameworks in NodeJS that cover some of the primary features in Laravel. This is by no means a comprehensive list of Laravel features (or a comprehensive list of NodeJS alternatives).
Depending on your perspective, this list either shows how it's possible to switch from Laravel to NodeJS or shows why you'd want to stay with Laravel 😃
| <?php | |
| use Illuminate\Support\Facades\Schema; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Database\Migrations\Migration; | |
| class CreateCsvDataTable extends Migration | |
| { | |
| /** | |
| * Run the migrations. |