- F : hiển thị link và mở trong tab mới
- f: hiển thị link và mở trong tab hiện tại
- b: hiển thị các tab đang mở -> chọn số tương ứng với tab -> chuyển đến tab đó
- Press G then press t to go to next tab
- Press d to close tab active
- Press z m to zoom in
- Press z i - to zoom out
- Press Ctr O to back url
- Press g t to next tab
- Ctr downkey to end page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated on 2016-04-28 using generator-angular 0.15.1 | |
'use strict'; | |
var gulp = require('gulp'); | |
var ngAnnotate = require('gulp-ng-annotate'); | |
var $ = require('gulp-load-plugins')(); | |
var openURL = require('open'); | |
var lazypipe = require('lazypipe'); | |
var rimraf = require('rimraf'); | |
var wiredep = require('wiredep').stream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ /* to make sure the script runs after page load */ | |
$('.item').each(function(event){ /* select all divs with the item class */ | |
var max_length = 150; /* set the max content length before a read more link will be added */ | |
if($(this).html().length > max_length){ /* check for content length */ | |
var short_content = $(this).html().substr(0,max_length); /* split the content in two parts */ | |
var long_content = $(this).html().substr(max_length); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div[class="alert alert-#{message_type}"] | |
= message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.modal.fade#myModal | |
.modal-dialog | |
.modal-content | |
.modal-header | |
button.close[type="button" data-dismiss="modal" aria-hidden="true"] | |
| × | |
h4.modal-title | |
| | |
b INPUT EMAIL YOU WANT TO SHARE FAVOURITE_COUSRSES | |
.modal-body |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#myModal').on('submit', function(e) { | |
var rex = /^[\w-]+(\.[\w-]+)*@([a-z0-9-]+(\.[a-z0-9-]+)*?\.[a-z]{2,6}|(\d{1,3}\.){3}\d{1,3})(:\d{4})?$/ | |
var email = $('#email'); | |
if(!email.val()){ | |
$('#error-show').html("<small>* Email required</small>"); | |
e.preventDefault(); | |
}else{ | |
if(!rex.test(email.val())){ | |
$('#error-show').html("<small>* Invalid email</small>"); | |
e.preventDefault(); |
Most active GitHub users (git.io/top)
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Mon, 01 Dec 2014 00:48:25 GMT till Tue, 01 Dec 2015 00:48:25 GMT.
Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:
githubUsers
.filter(user => user.followers > 508)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
just for test |
NewerOlder