首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏特特的专栏

    解决 Mac brew install xxx fatal: not in a git directory 问题

    1.执行 brew install xxx 命令报错fatal: unsafe repository ('/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask exception for this directory, call:git config --global --add safe.directory /usr/local/Homebrew/Library/Taps /homebrew/homebrew-caskfatal: unsafe repository ('/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask exception for this directory, call:git config --global --add safe.directory /usr/local/Homebrew/Library/Taps /homebrew/homebrew-corefatal: unsafe repository ('/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core

    13.1K61编辑于 2022-08-11
  • 来自专栏忽如寄的前端周刊

    webpack 的 chunk

    _args": [ "statement" ], "taps _args": [ "statement" ], "taps "statement", "source" ], "taps _args": [ "statement" ], "taps "statement", "source" ], "taps

    2.5K40发布于 2019-07-24
  • 来自专栏进击的大前端

    webpack核心模块tapable源码解析

    _args = args; this.taps = []; } tap(name, fn) { this.taps.push : this.taps, args: this. 这段代码可以看到,_x,也就是taps里面的内容已经被展开了,是一个一个取出来执行的。 (options); let fn; // 直接将taps展开为平铺的函数调用 const { taps } = options; let _args = args; this.taps = []; } tapAsync(name, task) { this.taps.push(task);

    61120编辑于 2022-03-07
  • 来自专栏FPGA技术江湖

    FPGA DSP:Vivado 中带有 DDS 的 FIR 滤波器

    filter_taps_bitwidth = 10; lowpass_highpass = 'low'; % should be low or high %% Caluculate the taps Nyquist_frequency = fir1(number_of_filter_taps-1,Wn,lowpass_highpass); %% Quantization % one bit for sign filter_taps =floor(filter_taps/max(filter_taps)*(2^(filter_taps_bitwidth-1)-1)); %% plot the filter response N = 1024; % Number of points for the frequency response [H, f] = freqz(filter_taps, 1, N, Sample_Rate); % xlabel_txt,FontSize=22); ylabel('Magnitude (dB)',FontSize=22); %xlim([0 30e6]) figure freqz(filter_taps

    1.1K10编辑于 2025-02-21
  • 来自专栏忽如寄的前端周刊

    Webpack 的 stats 、Compilation、compiler 对象里都有啥

    文件内容如下: { "compilation": { "_pluginCompat": { "_args": [ "options" ], "taps }, "failedModule": { "_args": [ null, "error" ], "taps args": [ "dependencyReference", "dependency", null ], "taps }, "optimizeDependenciesBasic": { "_args": [ null ], "taps : [] }, "optimizeDependencies": { "_args": [ null ], "taps

    2.6K10发布于 2019-07-24
  • 来自专栏CNCF

    Linkerd2 proxy tap 学习笔记

    ; let daemon = Daemon { svc_rx, svcs: Vec::default(), tap_rx, taps () 接着是call(见linkerd2-proxy/linkerd/app/core/src/tap/service.rs:161): let mut req_taps = Vec: :new(); let mut rsp_taps = Vec::new(); for t in &mut self.taps { // 对req inner, taps: rsp_taps, } 在ResponseFuture::poll中(见linkerd2-proxy/linkerd/app/core = self.taps.drain(..).map(|t| t.tap(&rsp)).collect(); let rsp = rsp.map(move |inner|

    1.3K10发布于 2019-12-04
  • 来自专栏用户画像

    mac安装homebrew

    的安装地址会存在问题,下面使用中科院的镜像来安装 git clone git://mirrors.ustc.edu.cn/homebrew-core.git/ /usr/local/Homebrew/Library/Taps repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git cd "$(brew --repo)/Library/Taps homebrew就报错: 使用brew upgrade后会重新更新homebrew-core 解决方法 删除homebrew-core后更新即可 cd /usr/local/Homebrew/Library/Taps

    1.2K10发布于 2021-11-29
  • 来自专栏前端学习归纳总结

    webpack-插件机制杂记 系列文章前言Tapablecompilecompilation编写一个插件compiler和compilation一些比较重要的事件钩子总结引用

    _args = args; this.taps = []; this.interceptors = []; this.call = this. ; while (i > 0) { i--; const x = this.taps[i]; this.taps[i + 1] = x; [i] = item; } } _insert主要是排序tap并放入到taps数组里面, 排序的算法并不是特别复杂,这里就不赘述了, 到了这里, 注册阶段就已经结束了, 继续看触发阶段。 : this.taps, interceptors: this.interceptors, args: this. _x; var _taps = this.taps; var _interterceptors = this.interceptors; // 我们只有一个拦截器所以下面的只会生成一个 _interceptors

    1.5K20发布于 2019-03-15
  • 来自专栏Gnep's_Technology_Blog

    GNU Radio之OFDM Channel Estimation底层C++实现

    get_carr_offset() 和 get_chan_taps(): 这些辅助函数用于计算载波偏移和提取信道抽头,是信道估计过程的核心部分。 4、提取信道响应 // 用于从同步符号中提取信道响应,即“信道抽头”(channel taps)。这些信道抽头代表了在多径环境下,信道对每个频率的响应。 [i] = taps[i - 1]; } taps[d_last_active_carrier] = taps[d_last_active_carrier - 1]; (d_fft_len, 0); // 存储信道抽头 get_chan_taps(in, in + d_fft_len, carr_offset, chan_taps); // 填充chan_taps if (output_items.size() == 2) { // 如果输出项数为2,则将chan_taps数据复制到第二个输出。

    46110编辑于 2024-04-30
  • 来自专栏快乐学Python

    brew一直卡在Updating Homebrew的解决办法

    set-url origin https://mirrors.ustc.edu.cn/brew.git #替换homebrew-core.git cd "$(brew --repo)/Library/Taps remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/brew.git cd "$(brew --repo)/Library/Taps set-url origin https://github.com/Homebrew/brew.git #重置homebrew-core.git cd "$(brew --repo)/Library/Taps

    4K20发布于 2019-07-23
  • 来自专栏lostfawn

    homebrew最新国内源安装方法

    brew.git" 修改保存后,执行以下命令后会快速进行安装 /bin/bash brew_install 安装的中间如果卡在 Cloning into '/usr/local/Homebrew/Library/Taps 这时候直接Ctrl+C结束,通过ustc的源进行配置 mkdir -p /usr/local/Homebrew/Library/Taps/homebrew/ cd /usr/local/Homebrew /Library/Taps/homebrew git clone https://mirrors.ustc.edu.cn/homebrew-core.git 配置完成后终端输入brew help显示帮助信息则说明安装成功 brew-cask-completion 安装完成后输入brew cask help测试,如果出现以下内容并卡住 Cloning into '/usr/local/Homebrew/Library/Taps 同样的方法,通过ustc的源进行配置 cd /usr/local/Homebrew/Library/Taps/homebrew git clone https://mirrors.ustc.edu.cn

    6.4K30编辑于 2022-02-25
  • 来自专栏web前端随笔

    mac 安装SVN报错Error: Command failed with exit 128: git

    safe.directory路径 Homebrew 3.6.11-43-g759ab2d fatal: unsafe repository ('/opt/homebrew/Library/Taps exception for this directory, call: git config --global --add safe.directory /opt/homebrew/Library/Taps homebrew-core Homebrew/homebrew-core (no Git repository) fatal: unsafe repository ('/opt/homebrew/Library/Taps exception for this directory, call: git config --global --add safe.directory /opt/homebrew/Library/Taps /homebrew/homebrew-core git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/

    1.5K40编辑于 2022-11-25
  • 来自专栏技术杂货店

    Mac 安装HomeBrew慢的问题解决

    [20200915013754.png] 然后需要关掉终端,进入/user/local/Homebrew/Library/文件夹下,删除Taps文件夹,执行以下命令: git clone git://mirrors.ustc.edu.cn /homebrew-core.git/ /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1 然后执行以下命令即可: cd brew --repo) git remote set-url origin https://mirrors.ustc.edu.cn/brew.git cd "$(brew --repo)/Library/Taps 全都是坑... cd "$(brew --repo)/Library/Taps/" cd homebrew git clone https://mirrors.ustc.edu.cn/homebrew-cask.git 然后再执行换源: cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask git remote set-url origin https://mirrors.ustc.edu.cn

    3.8K00发布于 2020-11-22
  • 来自专栏VK | BLOG

    BigSur 安装nut记录

    To `brew update`, first run: git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch - -unshallow git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow These commands git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow 但是默认关联 git 仓库是国外的,速度慢 一般使用中科大的: ## 更新 homebrew-cask cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask # 更换源 git remote cd 到相应文件夹了,因此不需要通过 -C 指定路径了 git fetch --unshallow ## 更新 homebrew-core cd "$(brew --repo)"/Library/Taps

    1.2K10编辑于 2022-09-19
  • 来自专栏安富莱嵌入式技术分享

    【安富莱二代示波器教程】第10章 示波器设计—数字信号处理

    650 /* 采样点数 */ #define BLOCK_SIZE 650 /* 调用一次arm_fir_f32处理的采样点个数 */ #define NUM_TAPS 81 /* 滤波器系数个数 */ #define FIR_StateBufSize BLOCK_SIZE + NUM_TAPS - 1 /* *** /* 80阶FIR低通滤波器系数 通过fadtool获取系数 Fs = 2Msps, Fc = 100KHz */ const float32_t firCoeffs32LP_100KHz[NUM_TAPS 截止频率100KHz */ if(g_DSO1->ucFirFlter_Step100KHz == 1) { arm_fir_init_f32(&S, NUM_TAPS 200KHz */ else if(g_DSO1->ucFirFlter_Step100KHz == 2) { arm_fir_init_f32(&S, NUM_TAPS

    78930发布于 2018-09-04
  • 来自专栏技术杂货店

    [折腾环境]Mac 安装Homebrew慢的问题解决

    然后需要关掉终端,进入/user/local/Homebrew/Library/文件夹下,删除Taps文件夹,执行以下命令: git clone git://mirrors.ustc.edu.cn/homebrew-core.git / /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1 然后执行以下命令即可: cd $(brew --repo) git remote set-url origin https://mirrors.ustc.edu.cn/brew.git cd "$(brew --repo)/Library/Taps/homebrew 全都是坑... cd "$(brew --repo)/Library/Taps/" cd homebrew git clone https://mirrors.ustc.edu.cn/homebrew-cask.git 然后再执行换源: cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask git remote set-url origin https://

    2.2K40编辑于 2022-02-15
  • 来自专栏移动开发的那些事儿

    Homebrew安装问题解决

    mirrors.ustc.edu.cn/brew.git" 采用国内镜像的方式来下载安装,这时候速度就会大大提升 安装过程中会卡在 Cloning into '/usr/local/Homebrew/Library/Taps 没关系,这是在克隆远程文件到本地,不用等它,直接ctrl+c先结束,采用以下方式来操作更快: mkdir -p /usr/local/Homebrew/Library/Taps/homebrew/ cd /usr/local/Homebrew/Library/Taps/homebrew git clone https://mirrors.ustc.edu.cn/homebrew-core.git 然后就很快就安装好了

    3.4K10发布于 2020-04-30
  • 来自专栏小锋学长生活大爆炸

    【踩坑】三种方式解决 Homebrew failing to install - fatal: not in a git directory

    git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew- git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask 解决方法二 取消挂载这两个包,没有测试。

    95020编辑于 2023-07-28
  • 解决 macOS 本地安装 OpenClaw 全流程:从报错到最终成功

    删除异常的 homebrew-core 目录sudo rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core# 2. 重建目录并修改权限sudo mkdir -p /usr/local/Homebrew/Library/Taps/homebrew/homebrew-coresudo chown -R $(whoami) /usr/local/Homebrew/Library/Taps/homebrew# 3. 初始化仓库并关联镜像cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-coregit initgit remote add origin https 解除浅克隆限制(使Homebrew可正常更新)git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

    7.6K112编辑于 2026-03-17
  • 来自专栏GAN&CV

    MAC安装clang-format 3.8.0

    本文记录MAC上安装clang-format 3.8.0的具体步骤: 打开MAC的终端,运行: mkdir -p /usr/local/Homebrew/Library/Taps/yiwang/homebrew-yiwang 下载链接里的clang-format@38.rb文件到/usr/local/Homebrew/Library/Taps/yiwang/homebrew-yiwang/文件夹下。

    2.1K30发布于 2020-07-09
领券