This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "scripts": { | |
| "start": "webpack-dev-server --hot", | |
| "build": "webpack -p" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function (_, env) { | |
| const isProd = env.mode === 'production'; | |
| return { | |
| mode: isProd ? 'production' : 'development', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| plugins: [ | |
| isProd && new webpack.optimize.SplitChunksPlugin({}), | |
| new htmlPlugin({ | |
| filename: 'index.html', | |
| template: 'src/index.html', | |
| chunks: ['index'], | |
| }), | |
| isProd && new BundleAnalyzerPlugin({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "devDependencies": { | |
| "css-loader": "^2.1.0", | |
| "lit-element": "^2.0.1", | |
| "node-sass": "^4.11.0", | |
| "sass-loader": "^7.1.0", | |
| "webpack": "^4.29.0", | |
| "webpack-cli": "^3.2.1" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module: { | |
| rules: [ | |
| { | |
| test: /\.scss$/, | |
| use: [ | |
| 'css-loader', | |
| { | |
| loader: 'sass-loader', | |
| options: { includePaths: ['./node_modules'] } //prawdopodobnie potrzebujesz tego, jeśli korzystasz z dalszych bibliotek, jak np. Material Design | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { css } from 'lit-element'; //nie zapomnij o zaimportowaniu dyrektywy | |
| import style from './app-layout.scss' | |
| class AppLayout extends LitElement { | |
| static get styles() { | |
| return [ | |
| css([style]), | |
| ]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Task 10 | |
| iterative_sum <- function (n) { | |
| sum <- 0 | |
| for (i in 1: n) { | |
| sum = sum + i | |
| } | |
| return(sum) | |
| } | |
| recursive_sum <- function (n) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Task 2 | |
| png(filename = "HistogramExams.png") | |
| hist( | |
| exam, | |
| # breaks=seq(from=1.0, to=5.0, by=0.1), | |
| breaks = c(0, 0.3, 0.7, 1.0, 1.3, 1.7, 2.0, 2.3, 2.7, 3.0, 3.3, 3.7, 4.0, 4.3, 4.7, 5.0), | |
| xlim = c(0, 5), | |
| freq = TRUE, | |
| xlab="Grades", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { LitElement, html, customElement, property } from "lit-element"; | |
| import style from "./Style"; | |
| @customElement('my-component') | |
| class MyComponent extends LitElement { | |
| static styles = style; | |
| render() { | |
| return html`<p>Styled component</p>`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AWSTemplateFormatVersion: 2010-09-09 | |
| Description: | | |
| Gitlab mirroring to AWS CodeCommit | |
| Parameters: | |
| CreateCodeCommitRepository: | |
| Description: Would you like to create a new CodeCommit repository? | |
| Type: String | |
| Default: 'create-new' |
OlderNewer