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 groupName = '美区服务' | |
const usServices = [ | |
'claude.ai', | |
'anthropic.com', | |
'openai.com', | |
'adobe.com', | |
'adobe.io', | |
'meta.ai', | |
'hume.ai', |
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 * as fs from 'node:fs' | |
import * as path from 'node:path' | |
import { startCase } from 'lodash-es' | |
import { format } from 'prettier' | |
import * as Rx from 'rxjs' | |
import * as svgo from 'svgo' | |
import config from './iconset' |
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
// ==UserScript== | |
// @name Gitbub Blocks | |
// @namespace https://github.com/ | |
// @version 1.0 | |
// @description Add a button to replace github.com with block.githubnext.com in the URL bar on GitHub repositories page | |
// @author https://twitter.com/stackobserve | |
// @match https://github.com/*/* | |
// @grant window.onurlchange | |
// ==/UserScript== |
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
enum Code { | |
// Not an error; returned on success | |
// | |
// HTTP Mapping: 200 OK | |
OK = 0; | |
// The operation was cancelled, typically by the caller. | |
// | |
// HTTP Mapping: 499 Client Closed Request | |
CANCELLED = 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
declare module '//cdnjs.cloudflare.com/ajax/libs/Faker/3.0.1/locales/zh_CN/faker.zh_CN.min.js' { | |
export = Faker; | |
} | |
declare namespace Faker { | |
namespace address { | |
function zipCode(format?:string); |
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
declare module 'react-grid-layout' { | |
import * as React from 'react' | |
export namespace utils { | |
type Maybe<T> = T | undefined | |
type LayoutItemRequired = { w: number, h: number, x: number, y: number, i: string } | |
type LayoutItem = | |
{ minW ?: number, minH ?: number, maxW ?: number, maxH ?: number, moved ?: boolean, static ?: boolean, isDraggable?: boolean, isResizable?: boolean } | |
& LayoutItemRequired |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontFamily": "Source Code Pro", | |
"editor.fontSize": 14, | |
"editor.formatOnType": true, | |
"go.gopath": "/Users/X/Workspace/GOPATH", | |
"rust.rustLangSrcPath": "/usr/local/src/rust/src", | |
"rust.racerPath": "/Users/X/.multirust/toolchains/nightly/cargo/bin/racer", |
- General Background and Overview
- Probabilistic Data Structures for Web Analytics and Data Mining : A great overview of the space of probabilistic data structures and how they are used in approximation algorithm implementation.
- Models and Issues in Data Stream Systems
- Philippe Flajolet’s contribution to streaming algorithms : A presentation by Jérémie Lumbroso that visits some of the hostorical perspectives and how it all began with Flajolet
- Approximate Frequency Counts over Data Streams by Gurmeet Singh Manku & Rajeev Motwani : One of the early papers on the subject.
- [Methods for Finding Frequent Items in Data Streams](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.187.9800&rep
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
def unsafe: Unsafe = { | |
val field = classOf[Unsafe].getDeclaredField("theUnsafe") | |
field.setAccessible(true) | |
field.get(null) | |
val unsafe = field.asInstanceOf[Unsafe] | |
unsafe | |
} |
NewerOlder