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'}}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'}}| class Module1 | |
| { | |
| static function main() { | |
| SharedCode.greet("Jason"); | |
| } | |
| } |
| AddType image/webp webp | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{HTTP_USER_AGENT} Chrome [OR] | |
| RewriteCond %{HTTP_ACCEPT} image/webp | |
| RewriteCond %{REQUEST_URI} ^(.+)\.(gif|jpe?g|png)$ [NC] | |
| RewriteRule . %1.webp [T=image/webp,E=accept:1] |
| // FizzBuzz solution with one comparison: | |
| // Bitwise operations, using predefined 0-15 numbers mask | |
| // live demo: http://jsfiddle.net/TbAuQ/ | |
| // source: http://www.zoharbabin.com/which-fizzbuzz-solution-is-the-most-efficient | |
| var words = [undefined, "Fizz", "Buzz", "FizzBuzz"], | |
| mask = 810092048, //11 00 00 01 00 10 01 00 00 01 10 00 01 00 00 | |
| c = 0; |
| package async | |
| { | |
| public class Deferred implements Promise | |
| { | |
| private const pending:Array = []; | |
| private var processed:Boolean; | |
| private var completed:Boolean; |
| uniform sampler2D texture; | |
| uniform sampler2D colorTable; | |
| uniform float paletteIndex; | |
| void main() | |
| { | |
| vec2 pos = gl_TexCoord[0].xy; | |
| vec4 color = texture2D(texture, pos); | |
| vec2 index = vec2(color.r + paletteIndex, 0); | |
| vec4 indexedColor = texture2D(colorTable, index); |
| ... | |
| # ==> Configuration for any authentication mechanism | |
| # Configure which keys are used when authenticating a user. The default is | |
| # just :email. You can configure it to use [:username, :subdomain], so for | |
| # authenticating a user, both parameters are required. Remember that those | |
| # parameters are used only when authenticating and not when retrieving from | |
| # session. If you need permissions, you should implement that in a before filter. | |
| # You can also supply a hash where the value is a boolean determining whether | |
| # or not authentication should be aborted when the value is not present. | |
| config.authentication_keys = [ :login ] |