The latest maintenance releases of each minor version of jQuery as of the update time.
This file contains hidden or 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
| "use strict"; | |
| /* Create a Constructor with an arbitrary name * | |
| * This allows the resultant object to be of a * | |
| * named "type", allowing inspection of types * | |
| * without adding keys to the object itself */ | |
| function constructorNamed(name) { | |
| return (new Function(["return function ", name, "() {return this;}"].join('')))(); | |
| } |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # Trying to achieve a command line option list like this | |
| # argparsetest.py [--url <url> [[--string <string>] [--string-two <string>] | --boolean [--number <number>]]] | |
| # This crashes if you pass it --help. Why? | |
| from argparse import ArgumentParser | |
| parser = ArgumentParser('demonstration of argparse issue') |
This file contains hidden or 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
| #! /usr/bin/env python | |
| """ Convert values between RGB hex codes and xterm-256 color codes. | |
| Nice long listing of all 256 colors and their codes. Useful for | |
| developing console color themes, or even script output schemes. | |
| Resources: | |
| * http://en.wikipedia.org/wiki/8-bit_color | |
| * http://en.wikipedia.org/wiki/ANSI_escape_code |
This file contains hidden or 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
| /** | |
| * Status Icons | |
| */ | |
| div { | |
| font-size: 15px; | |
| } | |
| circle.active { | |
| fill: rgba(124,198,0,0.7); | |
| } | |
| circle.inactive { |
This file contains hidden or 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
| /** | |
| * Windows 98 | |
| */ | |
| body { | |
| -webkit-font-smoothing: none; | |
| font-family: "MS Sans Serif", "Microsoft Sans Serif"; | |
| margin: 0; | |
| padding: 0; | |
| background-color: #008080; |
This file contains hidden or 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
| javascript:(function(url) {feedbin_instaframe=document.createElement('iframe');feedbin_instaframe.src="http://www.instapaper.com/text?u="+url;feedbin_instaframe.style.width="100%";feedbin_instaframe.style.height="100%";feedbin_instaframe.style.border="1px solid #cacaca";feedbin_content_object=document.querySelector("div[data-behavior='entry_content_wrap']");feedbin_content_object.parentNode.appendChild(feedbin_instaframe);feedbin_content_object.style.display="none";}("${url}")); |
This file contains hidden or 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
| *[id]:before { | |
| box-sizing: border-box; | |
| content: "#"attr(id); | |
| display: inline-block; | |
| background-image: -webkit-gradient( radial, 50% 100%, 0, 50% 100%, 100, from(rgba(89, 208, 244, 1)), to(rgba(89, 208, 244, 0))), -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4FBBF7), to(#3FAEEB)); | |
| font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
| font-size: 9px; | |
| font-weight:lighter; | |
| text-align:center; | |
| line-height: 12px; |
This file contains hidden or 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
| #!/bin/env python | |
| # coding: utf-8 | |
| items = [ | |
| [1, 2, 3, 5, 6, 7, 7, 8, 9, 10,11,12], # false | |
| [2, 3, 4, 5, 6, 7, 8, 9, 10,11,12], # false | |
| [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], # true | |
| [1, 2, 2, 4, 5, 6, 7] , # false | |
| [1, 2, 3, 4, 5, 7] , # false | |
| [3, 5, 1, 2, 4] # true |
(MSIE|(?!Gecko.+)Firefox|(?!AppleWebKit.+Chrome.+)Safari|(?!AppleWebKit.+)Chrome|AppleWebKit(?!.+Chrome|.+Safari)|Gecko(?!.+Firefox))(?: |\/)([\d\.apre]+)
This regular expression is capable of retrieving the browser and version for the following browsers;
- Internet Explorer
- Firefox (INCLUDING alpha and "pre" versions)
- Other browsers reporting a "Gecko" version in their user agent
- Chrome
- Safari
- Other browsers reporting an "AppleWebKit" version in their user agent