Skip to content

Instantly share code, notes, and snippets.

Claudia Valdivieso lavaldi

Block or report user

Report or block lavaldi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lavaldi /
Last active Sep 22, 2018
Downloading Udemy courses with youtube-dl

For Mac

brew install youtube-dl
brew install ffmpeg
lavaldi /
Created Apr 14, 2017
Descargar imágenes de una web

wget -nd -H -p -A jpg,jpeg,png,gif -e robots=off

lavaldi /
Created Mar 16, 2017
Operator Mono & Sublime Text 3 themes
  1. Install Package Resource Viewer.
  2. In package control window select ‘Package Resource Viewer: Open Resource’.
  3. Scroll down until you find the option: ‘Color Scheme — Default’ (or your theme with color scheme .tmTheme) and select it.
  4. Add the following
<!-- Operator Tweaks -->
		<string>Italic HTML attribute names</string>
lavaldi /
Last active May 10, 2016 — forked from anareyna/


  • Camel case:

    • Ejm: elementName
  • Snake case:

    • Ejm: element_name

Prefijos comunes

lavaldi / .eslintrc.json
Last active Apr 19, 2016
Task of gulp to pass ES6 to ES5 with ESLint
View .eslintrc.json
"env": {
"es6": true,
"browser": true,
"node": true
"globals": {
"jQuery": true,
"$": true
lavaldi /
Created Mar 12, 2016
Install node.js in Ubuntu

#Debian and Ubuntu based Linux distributions

Also including: Linux Mint, Linux Mint Debian Edition (LMDE), elementaryOS and others.

Node.js is available from the NodeSource Debian and Ubuntu binary distributions repository (formerly Chris Lea's Launchpad PPA). Support for this repository, along with its scripts, can be found on GitHub at nodesource/distributions.

NOTE: If you are using Ubuntu Precise or Debian Wheezy, you might want to read about running Node.js >= 4.x on older distros.

curl -sL | sudo -E bash -
sudo apt-get install -y nodejs
lavaldi /
Created Mar 12, 2016
Update Chrome browser

Update or, if you haven't already, install Google Chrome

sudo apt-get update
sudo apt-get install google-chrome-stable
lavaldi /
Last active Jan 6, 2016
Install `npm` packages globally without sudo on OS X and Linux

This is a copy paste of by sindresorhus

Install npm packages globally without sudo on OS X and Linux

npm installs packages locally within your projects by default. You can also install packages globally (e.g. npm install -g <package>) (useful for command-line apps). However the downside of this is that you need to be root (or use sudo) to be able to install globally.

Here is a way to install packages globally for a given user.

1. Create a directory for globally packages
lavaldi /
Last active Oct 27, 2015
How to make a rebase?

First commit the changes from your local branch

git add .
git commit -m 'fix(about): something'

Switch to the branch with which you will do the rebase

git checkout {other-branch}
git pull origin {other-branch}
You can’t perform that action at this time.