Skip to content

Instantly share code, notes, and snippets.

View hongchaodeng's full-sized avatar
👋
Anyscale is hiring! Send your resume to hongchao.deng@anyscale.com

Hongchao Deng hongchaodeng

👋
Anyscale is hiring! Send your resume to hongchao.deng@anyscale.com
  • Anyscale
  • San Francisco, CA
View GitHub Profile
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
# Path to your oh-my-zsh installation.
export ZSH="/Users/hongchaodeng/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
@hongchaodeng
hongchaodeng / main.go
Created April 27, 2022 06:26
port forward
package main
import (
"io"
"net/http"
"net/url"
"os"
"os/signal"
"syscall"
Below is the code for SM4 Encryption tool:
```
<template>
<h-text-transform
ref="cryptRef"
enableFile
:fileOutputAlert="t('enc')"
:sampleData="sample"
:transform="encrypt"
:fileOutputName="fileName">
@hongchaodeng
hongchaodeng / c_cpp_properties.json
Created March 5, 2024 23:35
VSCode cpp include path
{
"env": {
"myIncludePath": [
"${workspaceFolder}/src",
"${workspaceFolder}/cpp/include",
"${workspaceFolder}/cpp/example/thirdparty/include",
// "${workspaceFolder}/bazel-out/darwin_arm64-opt/bin/external/com_github_gflags_gflags/_virtual_includes/gflags",
]
},
"configurations": [
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:CreateServiceLinkedRole"
],
"Resource": "*",
"Condition": {