(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.
let triple = function (x) { | |
return x * 3; | |
} | |
triple(3); // output: 9 | |
let anotherVariable = triple; | |
anotherVariable(30); // output: 90 |
function triple(x) { | |
return x * 3; | |
} | |
triple(30); | |
// 90 |
(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.
LOL |
(function() { | |
var script, | |
scripts = document.getElementsByTagName('script')[0]; | |
function load(url) { | |
script = document.createElement('script'); | |
script.async = true; | |
script.src = url; | |
scripts.parentNode.insertBefore(script, scripts); |
import {Sql} from "../providers/Sql"; | |
export class ExamplePage { | |
constructor(private sql: Sql) { | |
//sql.query(...); | |
//... | |
} | |
} |
<?php | |
namespace App\Providers; | |
use Illuminate\Support\Facades\Route; | |
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; | |
class RouteServiceProvider extends ServiceProvider | |
{ | |
/** |
#!/usr/bin/Rscript | |
emg <- read.csv("emg_s1.csv", header = FALSE, sep = "|", dec = ",") | |
View(emg) | |
attach(emg) | |
par(mfrow = c(4, 5)) | |
for(data in 1:20) { | |
position <- paste(c("V", data), collapse = "") |
// <![CDATA[ | |
$(document).ready(function() { | |
function filterPath(string) { | |
return string | |
.replace(/^\//,'') | |
.replace(/(index|default).[a-zA-Z]{3,4}$/,'') | |
.replace(/\/$/,''); | |
} | |
$('a[href*=#]').each(function() { |