Skip to content

Instantly share code, notes, and snippets.

View avicdro's full-sized avatar
🏠
Working from home

avicdro

🏠
Working from home
View GitHub Profile
@avicdro
avicdro / kubectl_ubuntu_wsl.sh
Created January 11, 2022 23:47 — forked from cmendible/kubectl_ubuntu_wsl.sh
Install kubectl on ubuntu (WSL) and use kubectl config from Windows
#!/bin/bash
# Receives your Windows username as only parameter.
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.16.0/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
windowsUser=$1
@avicdro
avicdro / material-design-shadows.css
Created October 23, 2020 12:55 — forked from serg0x/material-design-shadows.css
Google material design elevation system shadows as css. Based on https://material.io/design/environment/elevation.html#default-elevations Exported with Sketchapp from the Google material design theme editor plugin "Baseline" theme.
/* Shadow 0dp */
box-shadow: none;
/* Shadow 1dp */
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.20);
/* Shadow 2dp */
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.20);
/* Shadow 3dp */
@avicdro
avicdro / material-design-shadows.css
Created October 23, 2020 12:55 — forked from serg0x/material-design-shadows.css
Google material design elevation system shadows as css. Based on https://material.io/design/environment/elevation.html#default-elevations Exported with Sketchapp from the Google material design theme editor plugin "Baseline" theme.
/* Shadow 0dp */
box-shadow: none;
/* Shadow 1dp */
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.20);
/* Shadow 2dp */
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.20);
/* Shadow 3dp */
@avicdro
avicdro / webpack.config.js
Created June 5, 2019 07:47
sass/sass module, react,
const path = require('path');
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const webpack = require('webpack');
let isDevelopment = process.env.NODE_ENV;
module.exports = {
entry: './src/index.js',
output: {
@avicdro
avicdro / burgerMenu.markdown
Last active December 5, 2018 18:51
css challenge -day2
{
  "name": "prueba1",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "node-sass-chokidar": "^1.3.3",
    "npm-run-all": "^4.1.3",
    "react": "^16.5.0",
 "react-dom": "^16.5.0",
@avicdro
avicdro / workflowGulpSassPugTsBfBy.md
Last active August 23, 2018 00:56
my workflow configuration with (gulp + pug + sass + ts + browserify + browsersync) -dev- static pages

configuration with (gulp + pug + sass + ts + browserify + browsersync) -dev- static pages

my workflow

my workflow configuration with (gulp + pug + sass + ts + browserify + browsersync) -dev- static pages

install - 21/8/2018

--solo 1 vez -- 
npm install -g browser-sync
npm install -g gulp-cli
-- por proyecto --