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
lavaldi / download-udemy-courses.md
Last active Sep 22, 2018
Downloading Udemy courses with youtube-dl
View download-udemy-courses.md
View download_egghead_videos.md

For Mac

brew install youtube-dl
brew install ffmpeg
youtube-dl https://egghead.io/courses/course_name
@lavaldi
lavaldi / download_images.md
Created Apr 14, 2017
Descargar imágenes de una web
View download_images.md

wget -nd -H -p -A jpg,jpeg,png,gif -e robots=off http://web.com

@lavaldi
lavaldi / tweaks-sublime-italic-operator-mono.md
Created Mar 16, 2017
Operator Mono & Sublime Text 3 themes
View tweaks-sublime-italic-operator-mono.md
  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 -->
  <dict>
    <key>name</key>
		<string>Italic HTML attribute names</string>
@lavaldi
lavaldi / standards.md
Last active May 10, 2016 — forked from anareyna/standards.md
Estándares
View standards.md

Diccionario

  • Camel case:

    • Ejm: elementName
  • Snake case:

    • Ejm: element_name

Prefijos comunes

@lavaldi
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
lavaldi / install-nodejs-ubuntu.md
Created Mar 12, 2016
Install node.js in Ubuntu
View install-nodejs-ubuntu.md

#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 https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
@lavaldi
lavaldi / update-chrome.md
Created Mar 12, 2016
Update Chrome browser
View update-chrome.md

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

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

This is a copy paste of npm-global-without-sudo.md 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
lavaldi / git-rebase.md
Last active Oct 27, 2015
How to make a rebase?
View git-rebase.md

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.