One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
/** | |
* Simple jQuery plugin for iframe element . | |
* | |
* Note: The parent doc and iframe's embed doc must be in the same origin , | |
* Domains, protocols and ports must match. | |
* | |
* reference: | |
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript | |
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe | |
* |
// callback is optional, since jQuery has promises | |
function getFile(theURL, type, callback) | |
{ | |
/* | |
* Original jQuery.ajax mid - CROSS DOMAIN AJAX | |
* @author James Padolsey (http://james.padolsey.com) | |
* @updated 12-JAN-10 | |
* @info http://james.padolsey.com/javascript/cross-domain-requests-with-jquery/ | |
* source: https://raw.github.com/padolsey/jquery.fn/master/cross-domain-ajax/jquery.xdomainajax.js | |
* |
jQuery(document).ready(function() { | |
jQuery("article a[href*='//']:not([href*='" + document.location.hostname + "']):not(:has(*))").each(function() { | |
jQuery(this).css({ | |
background: "url(http://www.google.com/s2/favicons?domain=" + this.hostname + ") left center no-repeat", | |
"padding-left": "22px" | |
}); | |
}); | |
}); |
$("a[href^='http']").each(function() { | |
$(this).css({ | |
background: "url(http://www.google.com/s2/u/0/favicons?domain=" + this.hostname + | |
") left center no-repeat", | |
"padding-left": "20px" | |
}); | |
}); |
Here’s how to update your fork directly from GitHub (as shown in the video above): | |
1 Open your fork repository on GitHub. | |
2 Click on Pull Requests. | |
3 Click on New Pull Request. By default, GitHub will compare the original with your fork, and there shouldn’t be nothing to compare if you didn’t make any changes. | |
4 Click on switching the base (if no changes were made in the fork) or click Edit and switch the base manually. Now GitHub will compare your fork with the original, and you should see all the latest changes. | |
5 Click on Create to create a pull request for this comparison and assign a predictable name to your pull request (e.g., Update from original). | |
6 Click on Send pull request. | |
7 Scroll down and click Merge pull request and finally Confirm merge (If your fork didn’t have any changes, you will be able to merge it automatically). |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Threading; | |
public sealed class Logger | |
{ | |
[Flags] | |
public enum Targets | |
{ |
$('#id').find('[data-name="' + js_var + '"]'); |
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Tue, 06 Dec 2016 17:06:46 GMT till Wed, 06 Dec 2017 17:06:46 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 > 1000)