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
[ | |
"1C Enterprise", | |
"ABAP", | |
"ABNF", | |
"AGS Script", | |
"AMPL", | |
"ANTLR", | |
"API Blueprint", | |
"APL", | |
"ASN.1", |
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
Get Nth | |
Native Object(10) : 22670660.07 +/- 2.14% op/s | |
Native Map(10) : 22534378.75 +/- 0.93% op/s | |
Hashtrie(10) : 13052298.01 +/- 0.99% op/s | |
Hamt(10) : 13362491.37 +/- 0.78% op/s | |
Hamt+(10) : 13020559.46 +/- 0.73% op/s | |
Mori(10) : 9405100.99 +/- 2.80% op/s | |
Immutable(10) : 12250139.06 +/- 2.92% op/s | |
Native Object(100) : 31386478.91 +/- 1.57% op/s | |
Native Map(100) : 17021320.51 +/- 1.36% op/s |
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
import { | |
createSaga | |
} from '../lib' | |
import { | |
createStore, | |
applyMiddleware, | |
} from 'redux' | |
import { | |
PureAction, | |
createActionCreator, |
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
import React from 'react' | |
import styled from 'styled-components' | |
import { | |
Switch, | |
Route, | |
Redirect | |
} from 'react-router-dom' | |
import RepoListPage from './pages/repos/list/ReposListPage' | |
import ReposNewPage from './pages/repos/new/ReposNewPage' | |
import PreferencesPage from './pages/preferences/PreferencesPage.js' |
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 fs = require('fs') | |
const path = require('path') | |
const moduleMap = [ | |
'base' | |
] | |
function link (modulePath) { | |
const sourcePath = path.join(__dirname, '..', modulePath) | |
const targetPath = path.join(__dirname, '../node_modules', modulePath) |
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
import React from 'react' | |
import CommentList from './CommentList' | |
import api from '../../lib/api' | |
import { bindActionCreators } from 'redux' | |
import TechReactor from '../shared/TechReactor' | |
const statusPrefix = 'IssueCommentContainer' | |
// Action types | |
const REQUEST_COMMENT_CREATE = `${statusPrefix}/REQUEST_COMMENT_CREATE` |
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
/* Temporary fix for \frac and subscript */ | |
.katex .frac-line { | |
top: 0.85em; | |
position: relative; | |
} | |
.katex .reset-textstyle.scriptstyle { | |
top: 0.4em; | |
position: relative; | |
} |
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
{ | |
"type": "root", | |
"children": [ | |
{ | |
"type": "paragraph", | |
"children": [ | |
{ | |
"type": "text", | |
"value": "Inline math! ", | |
"position": { |
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
'use strict' | |
const got = require('got') | |
const fs = require('fs') | |
const path = require('path') | |
let beta = fs.readFileSync(path.join(__dirname, 'beta.json')) | |
beta = JSON.parse(beta) | |
let data = [] | |
for (let key in beta) { |
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
var crypto = require('crypto') | |
function keygen () { | |
return crypto.randomBytes(6).toString('hex') | |
} | |
var _ = require('lodash') | |
var arr = [] | |
for (var i = 0; i < 1000; i++) { | |
arr.push({ | |
key: keygen(), | |
index: i |
NewerOlder