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
ip rule add fwmark 0x233 lookup 100 | |
ip route add local 0.0.0.0/0 dev lo table 100 |
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
// Copyright 2015 the V8 project authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <fstream> | |
#include <iostream> |
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 replace = require('replace-in-file') | |
const escapeRegExp = require('lodash.escaperegexp') | |
// the directory in which you're outputting your build (come from parcel) | |
const basePath = path.resolve(__dirname, 'dist') | |
console.log('basePath', basePath) |
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 ts from 'typescript' | |
import * as Bundler from 'parcel-bundler' | |
import * as express from 'express' | |
import { createProxyMiddleware, Options as ProxyOptions } from 'http-proxy-middleware' | |
import { merge, Observable, partition, Subscriber } from 'rxjs' | |
import { buffer, bufferCount, filter, map, share, skipWhile, tap, timestamp } from 'rxjs/operators' | |
//============================================================ | |
process.env.NODE_ENV = 'development' |