GIT篇 八月 07, 2018

Git 使用 ss 代理和 Ubuntu 使用 ss 全局代理

文章字数 2k 阅读约需 2 mins.

这一段时间 GitHub 在国内的访问又出问题,代码提交不上去,需要在 Git 上走代理了

  1. 需要全局 git 都走代理
    git config --global http.proxy '...
查看全文

GIT篇 八月 07, 2018

Git 使用 ss 代理和 Ubuntu 使用 ss 全局代理

文章字数 2k 阅读约需 2 mins.

这一段时间 GitHub 在国内的访问又出问题,代码提交不上去,需要在 Git 上走代理了

  1. 需要全局 git 都走代理
    git config --global http.proxy 'socks5://127.0.0.1:1080'
    git config --global https.proxy 'socks5://127.0.0.1:1080'

取消

    git config --global --unset http.proxy
    git config -...
查看全文

UBUNTU篇 七月 13, 2018

Ubuntu 最佳编程字体 Monaco 的优化显示

文章字数 1.5k 阅读约需 1 mins.

自从入了 MBP 后就被其默认的字体显示效果吸引了,在编辑器里写代码更是舒服,于是想着把 Mac 下的字体也移植到 Ubuntu 下,但是显示效果并不是特别的好,尤其是粗体字的显示

左侧使用前,右侧使用后

  1. 该字体为开源字体,字体地址: https://github.com/vjpr/monaco-bold
  2. 复制到 /usr/share/fonts
  3. fc-cache -fv 生成字体缓存

我的 1080P 分辨率,我的配置如下:

看到一篇关于 Ubuntu 字体渲染问题的文章: 修复 ...

查看全文

UBUNTU篇 六月 28, 2018

Ubuntu 自用配置记录

文章字数 2.6k 阅读约需 2 mins.

  1. 关闭并禁用 swap 分区: sudo swapoff 并且 sudo vim /etc/fstab 注释掉 swap 那行

  2. 开启点击图标最小化: gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-minimize-window true

  3. 开机开启小键盘: sudo apt-get install numlockx 然后 sudo vim /usr/share...

查看全文
0%