Skip to content

Instantly share code, notes, and snippets.

View juanlet's full-sized avatar
💭
Coding

Juan L. juanlet

💭
Coding
View GitHub Profile

For example, to override the AppBar (https://material-ui-next.com/api/app-bar/) root class we can do the following:

First method (override Material UI classnames):

1 - Add the property classes in the AppBar component:

    <AppBar classes={{root: 'my-root-class'}}
@chrisjimallen
chrisjimallen / docker-compose.yaml
Created March 3, 2017 18:40
Browsersync working in docker container.
version: '2'
services:
wordpress:
image: wordpress
expose:
- 80
environment:
WORDPRESS_DB_PASSWORD: example
@alexklibisz
alexklibisz / country_cow_abbreviation_dump
Created December 17, 2014 04:46
A SQL dump for Postgresql containing 217 countries, their COW (correlates of war) codes, and abbreviations. The data is taken from: http://www.correlatesofwar.org/datasets.htm - first link "COW Country Codes".
CREATE TABLE IF NOT EXISTS country(
id SERIAL not null,
cow_id integer not null,
name varchar(255) not null,
abbreviation varchar(5) not null,
primary key(id, cow_id)
);
INSERT INTO country(cow_id, name, abbreviation) VALUES