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
import distutils.sysconfig as sysconfig | |
import re | |
import sublime | |
import sublime_plugin | |
FROM_IMPORT_RE = re.compile(r'^\s*from (?P<package>\.?\w*)(?P<package_extra>\S*)\s+import\s+(?P<subpackages>.+)') | |
PLAIN_IMPORT_RE = re.compile(r'^\s*import (?P<package>\.?\w*)(?P<package_extra>\S*)') | |
CONTINUATION_RE = re.compile(r'.*(\\\s*)$') | |
PARENTHESISED_START_RE = re.compile(r'^.+? import \(') |
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
<!doctype html> | |
<html> | |
<head> | |
<title>draft-ietf-oauth-v2-31 - The OAuth 2.0 Authorization Framework</title> | |
<!--[if lt IE 9]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<link rel=stylesheet type="text/css" href="http://pretty-rfc.herokuapp.com/style.css"> | |
<meta name=viewport content="width=device-width, initial-scale=1.0"> | |
</head> |
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
_getClipItems: () -> | |
unless @_clipItems? | |
@_clipItems = (c for c in @_children when c._clipMask) | |
return @_clipItems | |
draw: (ctx, param) -> | |
clipItems = @_getClipItems() | |
# If the group is to be clipped, draw them to an in-memory canvas |
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
// Package h2c provides a HTTP/2.0 h2c client transport implementation | |
package h2c | |
import ( | |
"bufio" | |
"bytes" | |
"context" | |
"encoding/base64" | |
"encoding/binary" | |
"fmt" |
OlderNewer