Skip to content

Instantly share code, notes, and snippets.

View DariuszLuber's full-sized avatar

Dariusz Luber DariuszLuber

View GitHub Profile
@DariuszLuber
DariuszLuber / Webpack config for Sass+ES6+LiveReload.md
Last active July 29, 2022 10:10
Webpack + ES6 + Sass + Live reload

#Webpack + ES6 + Sass + Live reload

Basic example of webpack config to work with sass, es6 and live reload.

To get live reload working you need:

  • get package.json and webpack.config.js to your project foldee
  • run in terminal npm install
  • add this script <script src="http://localhost:35729/livereload.js"></script> to your index.html
  • create src folder and src files
  • run in terminal webpack
@DariuszLuber
DariuszLuber / package.json
Last active September 27, 2018 09:37
WEBPACK 4 CONFIG - ES6
{
"name": "webpacka-init",
"version": "1.0.0",
"description": "<img alt=\"Logo\" src=\"http://coderslab.pl/svg/logo-coderslab.svg\" width=\"400\">",
"main": "index.js",
"scripts": {
"watch": "node_modules/.bin/webpack -w",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
@DariuszLuber
DariuszLuber / CL-Gulp-Sass-Project-Init.md
Last active April 29, 2018 08:09
Gulp-Sass-Project-Init

Init files for CodersLab students

@DariuszLuber
DariuszLuber / api-platform
Created August 30, 2017 22:14
api-platform - swagger anotation
@ApiResource(
attributes={
"filters"={"apiOrder", "searchFilter"},
"pagination_items_per_page"=50,
"normalization_context"={"groups"={"drugs_unified"}},
},
itemOperations={
"get"={"method"="GET"},
"put"={"method"="PUT"},
"special"={
@DariuszLuber
DariuszLuber / Debian-Jessie-Docker-install.md
Last active July 9, 2017 01:39
Debian- Jessie install Docker script

Script to install Docker on Debian Jessie

@DariuszLuber
DariuszLuber / AWS+Docker Swarm.md
Last active July 7, 2017 07:33
AWS - create Docker Swarm

Script to start AWS EC2 with Docker and commands to start SWARM and Jenkinks for CI