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
# For relative imports to work in Python 3.6 | |
import os, sys | |
import jinja2; sys.path.append(os.path.dirname(os.path.realpath(__file__))) | |
import logging | |
logger = logging.getLogger('dropbox-fs') | |
from random import choice, choices, sample |
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
# For relative imports to work in Python 3.6 | |
import os, sys | |
from fs import copy; sys.path.append(os.path.dirname(os.path.realpath(__file__))) | |
import logging | |
logger = logging.getLogger('dropbox-fs') | |
from django.conf import settings |
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
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
aioredis = "==1.3.1" | |
alembic = "==1.4.2" | |
amqp = "==2.6.0" | |
anyjson = "==0.3.3" |
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
const webpack = require('webpack'); | |
const glob = require('glob'); | |
const TerserPlugin = require('terser-webpack-plugin') | |
let globOptions = { | |
ignore: ['node_modules/**', 'venv/**'] | |
} | |
let entryFiles = glob.sync("**/javascript/*.js", globOptions) |
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
0 info it worked if it ends with ok | |
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', | |
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
1 verbose cli 'dedupe' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData | |
7 silly dedupe normalizeTree |
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
{ | |
"patterns": { | |
"P1": { | |
"expression": "(path):(line)" | |
}, | |
"P2": { | |
"expression": "(path)\\s+(line)", | |
"path": "(?:\\/[\\w\\.\\-]+)+" | |
} | |
}, |
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
! special | |
*.foreground: #ecdeff | |
*.background: #0f1609 | |
*.cursorColor: #ecdeff | |
! black | |
*.color0: #22281f | |
*.color8: #333c2e | |
! red |
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
ES6 tagged HTML string templates | |
it tokenizes them as strings | |
Expected { value : 'hey ', scopes : [ 'source.js', 'string.quoted.template.html.js' ] } to equal { value : 'hey <b>', scopes : [ 'source.js', 'string.quoted.template.html.js' ] }. | |
at .<anonymous> (file:///D:/github/atom/language-javascript/spec/javascript-spec.coffee:613:27) | |
Expected { value : '<', scopes : [ 'source.js', 'string.quoted.template.html.js', 'meta.tag.inline.any.html', 'punctuation.definition.tag.begin.html' ] } to equal { value : '${', scopes : [ 'source.js', 'string.quoted.template.html.js', 'source.js.embedded.source', 'punctuation.section.embedded.js' ] }. | |
at .<anonymous> (file:///D:/github/atom/language-javascript/spec/javascript-spec.coffee:614:27) | |
Expected { value : 'b', scopes : [ 'source.js', 'string.quoted.template.html.js', 'meta.tag.inline.any.html', 'entity.name.tag.inline.any.html' ] } to equal { value : 'name', scopes : [ 'source.js', 'string.quoted.template.html.js', 'source.js.embedded.source' ] }. | |
at .<anonymous> (fi |
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
describe 'HTML strings', -> | |
beforeEach -> | |
waitsForPromise -> | |
atom.packages.activatePackage("language-html") | |
describe "ES6 tagged HTML string templates", -> | |
it "tokenizes them as strings", -> | |
{tokens} = grammar.tokenizeLine('html`hey <b>${name}</b>`') | |
expect(tokens[0]).toEqual value: 'html', scopes: [ 'source.js', 'string.quoted.template.html.js', 'entity.name.function.js' ] | |
expect(tokens[1]).toEqual value: '`', scopes: [ 'source.js', 'string.quoted.template.html.js', 'punctuation.definition.string.begin.js' ] |
NewerOlder