I hereby claim:
- I am xthilakx on github.
- I am thilak (https://keybase.io/thilak) on keybase.
- I have a public key ASDA7Lv1AQzEGX5dv7a6knTmDfuYNMNAQGIu53Vv4YfkZQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // Matching a alpha numeric username/password that is 3 to 16 charecters long | |
| `/^[a-z0-9_-]{3,16}$/` | |
| // Matching a hex value that begins with a hash, between 6 and 3 char long | |
| `/^#?([a-f0-9]{6}|[a-f0-9]{3})$/` | |
| // Regular expression that matches a email address |
| # Path to your oh-my-zsh installation. | |
| export ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="robbyrussell" | |
| # Uncomment the following line to use case-sensitive completion. |
| """ | |
| Simple algorithm to download all the egghead.io videos in highest-quality from YouTube. | |
| Run from the directory you want the videos to appear. Renames them so that they have the video number + omit the repetitive "Egghead.io - AngularJS -" text. | |
| Installing dependency: | |
| $ pip install git+https://github.com/NFicano/pytube#egg=pytube | |
| """ | |
| from pytube import YouTube #, exceptions as YTD_exceptions |
| @import url(http://fonts.googleapis.com/css?family=Roboto:400,300italic,300,100italic,100,400italic,500,500italic,700); | |
| body { | |
| font-family: 'Roboto', sans-serif; | |
| font-weight: 300; | |
| font-size: 14px; | |
| } | |
| div.description div.wiki { | |
| -webkit-column-count: 2; |
| // Go to Quora. Go to your profile, click on "Following". Open your console, and paste this: | |
| javascript:var elements = document.getElementsByClassName('follow_button unfollow_button');var i = 0;for(i=0;i<elements.length;i++)elements[i].click(); |
| $("input[type=text]").on('input',function () { | |
| if($(this).val().length == $(this).attr('maxlength')) { | |
| $(this).next("input").focus(); | |
| } | |
| }); |