For example, to override the AppBar (https://material-ui-next.com/api/app-bar/) root class we can do the following:
1 - Add the property classes in the AppBar component:
<AppBar classes={{root: 'my-root-class'}}
import numpy as np | |
import pandas as pd | |
from tqdm import tqdm_notebook as tqdm | |
import matplotlib.pyplot as plt | |
from darts import TimeSeries, concatenate | |
from darts.dataprocessing.transformers import Scaler | |
from darts.models import TFTModel | |
from darts.metrics import mape |
(function() { | |
var capturedEvents = []; | |
var capturing = false; | |
function getEventTarget(event) { | |
return event.composedPath()[0] || event.target; | |
} | |
function captureEvent(e) { | |
if (capturing) { |
For example, to override the AppBar (https://material-ui-next.com/api/app-bar/) root class we can do the following:
1 - Add the property classes in the AppBar component:
<AppBar classes={{root: 'my-root-class'}}
import * as React from 'react'; | |
declare class SomeReactComponent extends React.Component<SomeReactComponentProps, any> {} | |
interface SomeReactComponentProps { | |
className?: string; | |
toggle?: boolean; | |
name: string; | |
size?: 'lg' | '2x' | '3x' | '4x' | '5x'; | |
} |
; Supervisor configuration to manage a jack server | |
[program:jackd] | |
command=/usr/bin/jackd -r -t2000 -ddummy -r44100 -p1024 | |
user=pi | |
redirect_stderr=true | |
autostart=true | |
autorestart=true |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>
#include <IRremote.h> | |
/* | |
Send infrared commands from the Arduino to the iRobot Roomba | |
by probono | |
2013-03-17 Initial release | |
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |