Giter Club home page Giter Club logo

Anurag's GitHub stats

windows设置代理

@echo off 
set http_proxy=http://127.0.0.1:10811 
set http_proxy=https://127.0.0.1:10811 netsh winhttp set proxy localhost:10811 
echo proxy

windows sdk download

https://developer.microsoft.com/en-us/windows/downloads/

REG ADD HKEY_CLASSES_ROOT\*\shell\Vscode /d "open with code"

REG ADD HKEY_CLASSES_ROOT\*\shell\Vscode /v Icon /t REG_SZ /d "C:\Users\aleiw\AppData\Local\Programs\Microsoft VS Code\Code.exe"

REG ADD HKEY_CLASSES_ROOT\*\shell\Vscode\Command /d "C:\Users\aleiw\AppData\Local\Programs\Microsoft VS Code\Code.exe  \"%V\""

REG ADD HKEY_CLASSES_ROOT\Directory\shell\Vscode /d "open in code"

REG ADD HKEY_CLASSES_ROOT\Directory\shell\Vscode /v Icon /t REG_SZ /d "C:\Users\aleiw\AppData\Local\Programs\Microsoft VS Code\Code.exe"

REG ADD HKEY_CLASSES_ROOT\Directory\shell\Vscode\Command /d "C:\Users\aleiw\AppData\Local\Programs\Microsoft VS Code\Code.exe  \"%V\""
gn gen --ide=vs2019 --args="is_debug=true" out\x64_vs
ninja -C .\out\x64_vs

v8 ide编译

gn gen --ide=vs2022 --winsdk="10.0.20348.1" out/x64.vs2022 --args="is_debug = true is_component_build = true  target_cpu = \"x64\" proprietary_codecs = true"

ITerm2 快捷键

command + D 水平分屏

command + shift + D 垂直分屏

command + shift + i 同时输入

command + w 关闭

command + shift + w 全部关闭

command + option + 方向键 调整焦点

command + control + 方向键 调整大小

lsof -i:3306  # 查看端口占用 
lsof -i:3306 | awk 'NR==1 {next} {print $2}'
kill -9 $(lsof -t -i :3306) # 杀死端口

7、耗时分析

curl -X GET -w "\nl: %{time_namelookup}\nc: %{time_connect}\ns: %{time_starttransfer}\nt: %{time_total}\n" -o a.txt "baidu.com"

mysql 段错误

https://blog.csdn.net/ly_qiu/article/details/108061454

设置没有显示器

-Djava.awt.headless=true

mybatis热加载 实现

https://blog.csdn.net/lonelymanontheway/article/details/120203097

tdlr 快速显示工具用法

https://zhuanlan.zhihu.com/p/82649746

macos设置代理

-setsecurewebproxy -setwebproxy -setsocksfirewallproxy alias s='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 & networksetup -setsocksfirewallproxy "Wi-Fi" 127.0.0.1 7890' alias u='unset https_proxy http_proxy all_proxy & networksetup -setsocksfirewallproxystate "Wi-Fi" off'

linux设置代理

alias s="export http_proxy=http://192.168.31.177:10809; export https_proxy=$http_proxy; echo 'HTTP Proxy on';" alias u="unset http_proxy; unset https_proxy; echo 'HTTP Proxy off';" alias c=clear

https://apiv1.v27qae.com/flydsubal/updgg33edt0gmbtn?sub=2&extend=1

https://react.iamkasong.com/#%E7%AB%A0%E8%8A%82%E5%88%97%E8%A1%A8

postgresql 编译

./configure --enable-debug --enable-cassert --prefix=/usr/local/pgsql CFLAGS=-O0

pg_ctl -D pgdata -l ./pg.log start

psql -U leiwenyong -d postgres

显示生成的字节码

// jdk8及之前
-Dsun.misc.ProxyGenerator.saveGeneratedFiles=true
// jdk8以后
-Djdk.proxy.ProxyGenerator.saveGeneratedFiles=true


flink是手动保存代码到java,然后重新编译成class文件,这样就能调试了
flink执行List<Transformation<?>> transformations = this.translate(flatMapOperations);后,在返回值中会有使用字符串拼接的代码,把它保存一下就好了。

雷文勇's Projects

jetbrainsruntime icon jetbrainsruntime

Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux

v8-action icon v8-action

a simple method to get v8 source code with github action

wx-extend icon wx-extend

:dog: 微信小程序 - 扩展插件(发送请求、Promise API、表单验证、Restful API)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.