2022年3月13日

vimscripte入门

摘要: Five Minute Vimscript (andrewscala.com) VimScript 五分钟入门(翻译) - 知乎 (zhihu.com) VIM: usr_41 (sourceforge.net) g:var - 全局 a:var - 函数参数 l:var - 函数局部变量 b:va 阅读全文

posted @ 2022-03-13 11:19 风中狂笑 阅读(60) 评论(0) 推荐(0)

2022年3月12日

vim中调整窗口尺寸

摘要: resize +n 将当前窗口高度增加n行 等同于 ctrl+w +,就是同时按住ctrl和w键后再按+键 resize -n 将当前窗口高度减少n行 等同于 ctrl+w - vertical resize ±n 将当前窗口宽度增加或减少n列 等同于ctrl+w < or > 所以可以增加映射来调 阅读全文

posted @ 2022-03-12 21:19 风中狂笑 阅读(3994) 评论(0) 推荐(1)

2022年2月12日

vim+win7莫名其妙打不开-不好用推荐vim+win11

摘要: https://github.com/vim/vim/issues/5509 可恶,在一台机器上用vim的配置在另外一台机器上安装了些插件突然就无法打开了,直到把.vimrc的这些插件都关闭掉才可以打开 说是vim:version的python版本要与安装的一致,最好按照下面的参数来编译vim,这么 阅读全文

posted @ 2022-02-12 09:05 风中狂笑 阅读(112) 评论(0) 推荐(0)

2022年2月10日

windows7安装chocolatey失败

摘要: Chocolatey Software | Chocolatey - The package manager for Windows How to Install Chocolatey on Windows - Liquid Web 阅读全文

posted @ 2022-02-10 19:11 风中狂笑 阅读(83) 评论(0) 推荐(0)

gvim

摘要: Vim 8.2.4314 builds for Windows (tuxproject.de) Where to download Vim | Vim Tips Wiki | Fandom $ git clone https://github.com/vim/vim $ cd vim $ CFLAG 阅读全文

posted @ 2022-02-10 14:15 风中狂笑 阅读(450) 评论(0) 推荐(0)

vim/gvim 格式化插件tabular

摘要: vim插件分享-格式化神器tabular_哔哩哔哩_bilibili godlygeek/tabular: Vim script for text filtering and alignment (github.com) 阅读全文

posted @ 2022-02-10 12:02 风中狂笑 阅读(303) 评论(0) 推荐(0)

2022年2月9日

gvim与python3的关联问题

摘要: 在vim的命令行中输入以下代码 如果显示 0 你再试试 直接到python的安装目录里面去找,这个和你安装的python版本有关,我的是python37.dll 如果没正常显示的话在.vimrc中加入这句话 set pythonthreedll=python37.dll 打开vimspector插件 阅读全文

posted @ 2022-02-09 11:26 风中狂笑 阅读(118) 评论(0) 推荐(0)

vimscript学习

摘要: 要搞懂vim的插件,还是要懂vimscript VimScript 五分钟入门(翻译) - 知乎 (zhihu.com) Five Minute Vimscript (andrewscala.com) Learn Vimscript in Y Minutes (learnxinyminutes.co 阅读全文

posted @ 2022-02-09 10:41 风中狂笑 阅读(182) 评论(0) 推荐(0)

2022年2月8日

edge浏览器扩展推荐

摘要: vimium 可以在浏览器使用vim方式进行操作,浏览页面的时候按Hjkl进行浏览 在页面上按f就可以出来一些黄色的按键f,比如 还有一些 阅读全文

posted @ 2022-02-08 10:39 风中狂笑 阅读(333) 评论(0) 推荐(0)

2022年2月6日

vscode中的几个插件与功能

摘要: 第一个,屏幕显示按键vscode内置显示按键的功能_哔哩哔哩_bilibili ctrl+shift+p后输入sceen,选择打开screencast 然后你键盘的按键就可以显示在屏幕上了,比较方便用来给他人做vim的教程使用 幻灯片插件marp for vs codevscode插件分享-mark 阅读全文

posted @ 2022-02-06 12:39 风中狂笑 阅读(295) 评论(0) 推荐(0)

2022年2月5日

几款提高工作效率的小软件的推荐

摘要: qttabbar q-dir Download (softwareok.com) Q-Dir the Quad Explorer capslock+ Capslock+ (capslox.com) tidytabs teracopy TeraCopy for Windows - Code Secto 阅读全文

posted @ 2022-02-05 14:17 风中狂笑 阅读(293) 评论(0) 推荐(0)

2022年1月26日

vim中调试python配置

摘要: 看前面的帖子,安装coc 然后vimrc中添加这段 """""""""""""""""""""""""""""""""""""""""""""&quo 阅读全文

posted @ 2022-01-26 00:33 风中狂笑 阅读(356) 评论(0) 推荐(0)

2022年1月24日

vim中使用pathegon安装coc.nvim插件+node.js安装-good

摘要: 直接把coc.nvim使用git clone到plugins目录下,然后使用git pull进行更新就可以保持和最新版本同步了 Use default release branch (recommended): use {'neoclide/coc.nvim', branch = 'release' 阅读全文

posted @ 2022-01-24 12:32 风中狂笑 阅读(983) 评论(0) 推荐(0)

2022年1月22日

mac zsh oh-my-zsh

摘要: 安装zhh教程Installing ZSH · ohmyzsh/ohmyzsh Wiki (github.com) 使用brew安装zsh >brew install zsh zsh-completions 安装前最好搜索下 >brew search zsh 查询zsh是否安装成功to check 阅读全文

posted @ 2022-01-22 22:19 风中狂笑 阅读(248) 评论(0) 推荐(0)

2022年1月17日

midas civil mct创建单梁

摘要: *UNIT ; Unit System KN, M, KJ, C *STRUCTYPE ; Structure Type 0, 1, 1, NO, YES, 9.806, 0, NO, NO, NO *MATERIAL ; Material 1, CONC, C40, 0, 0, , C, NO, 阅读全文

posted @ 2022-01-17 10:14 风中狂笑 阅读(336) 评论(0) 推荐(0)

2022年1月16日

midas civil结果后处理

摘要: 一、比较支反力总和与自重、二期的重量是否相等 二、通过内力形状来判断外力施加位置、边界条件是否合理 三、使用阶段检查各工况下单元应力是否过大 四、判断振型及固有频率是否正确 五、计算书生成 六、查看验算结果图形表格(选择相应列右键>显示图形 ) 可找到不过的单元号,追踪到设计内力 六、psc设计结果 阅读全文

posted @ 2022-01-16 16:35 风中狂笑 阅读(1151) 评论(0) 推荐(0)

2022年1月15日

midas civil 基本操作

摘要: 一、钢混组合截面 1、model>materail>add(添加两种材料及其特性) 1. Q345 E1 v1 rou1 2. C50 E2 v2 rou2 2、在cad中画好,保存为dxf文件,使用midas的spc(截面特性计算器)导入(注意保持单位一致) 3、composite section 阅读全文

posted @ 2022-01-15 19:08 风中狂笑 阅读(2298) 评论(0) 推荐(0)

2022年1月14日

RC设计梁单元 1 截面或配筋数据错误

摘要: 请选用psc中的截面来进行验算 阅读全文

posted @ 2022-01-14 16:01 风中狂笑 阅读(729) 评论(0) 推荐(0)

2022年1月10日

python中坐标的排序

摘要: # pnts = [(-61.71012082459629, 121.75433432851878), # (-62.51089283564055, 121.76620503121399), # (-62.51089283564055, 121.76620503121399), # (-63.852 阅读全文

posted @ 2022-01-10 11:49 风中狂笑 阅读(885) 评论(0) 推荐(0)

2022年1月6日

python cad 二次开发

摘要: from pyautocad import Autocad, APoint import win32com.client from win32com.client import VARIANT from win32com.client import Dispatch import pythoncom 阅读全文

posted @ 2022-01-06 17:48 风中狂笑 阅读(2556) 评论(0) 推荐(0)

2022年1月1日

mac和windows的键盘重新映射软件

摘要: if you want to remap your keyboard in your mac you can use this software Karabiner-Elements (pqrs.org) it's very easy and convenient i just remap caps 阅读全文

posted @ 2022-01-01 22:01 风中狂笑 阅读(134) 评论(0) 推荐(0)

2021年12月31日

windows7下安装curl

摘要: Windows 7 上安装 curl-百度经验 (baidu.com) 下载地址 curl 选择64位 然后解压,将解压后的路径设置为系统变量 在cmd中输入>curl --version,若有版本号,则按照成功 阅读全文

posted @ 2021-12-31 09:29 风中狂笑 阅读(1781) 评论(0) 推荐(0)

2021年12月30日

Failed to connect to github.com port 443:connection timed out

摘要: 解决 Failed to connect to github.com port 443:connection timed out_五味鱼头的草稿纸-CSDN博客 在mac中这样查询代理地址和端口 Mac系统设置代理 - 知乎 (zhihu.com) 还有一个没试过,前面两个帖子已经解决问题 GitH 阅读全文

posted @ 2021-12-30 21:05 风中狂笑 阅读(652) 评论(0) 推荐(0)

2021年12月29日

mac下安装homebrew清华大学镜像

摘要: 不是很顺利 homebrew | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror 第一步,使用清华大学的镜像,否则会出现这个问题 Mac安装Homebrew的正确姿势 - 简书 (jianshu.com) 使用如下命令 # 手动设置 expor 阅读全文

posted @ 2021-12-29 22:37 风中狂笑 阅读(962) 评论(0) 推荐(0)

windows下gvim vundle的使用

摘要: 官方帮助 Vundle for Windows · VundleVim/Vundle.vim Wiki (github.com) 参考帮助 Windows下 vundle的安装和使用 - QIYUEXIN - 博客园 (cnblogs.com) Requirements Git Curl Git o 阅读全文

posted @ 2021-12-29 09:48 风中狂笑 阅读(213) 评论(0) 推荐(0)

2021年12月28日

git不是内部或外部命令,也不是可运行的程序 或批处理文件

摘要: 设置环境变量 C:\Git\mingw64\libexec\git-core;C:\Git\bin; 然后在cmd中输入>git --version 出现版本号即可 阅读全文

posted @ 2021-12-28 22:07 风中狂笑 阅读(312) 评论(0) 推荐(0)

Error: jedi-vim failed to initialize Python: jedi-vim requires Vim with support for Python 2 or 3

摘要: 在gvim中安装了这个插件 Error: jedi-vim failed to initialize Python: jedi-vim requires Vim with support for Python 2 or 3 · Issue #1018 · davidhalter/jedi-vim ( 阅读全文

posted @ 2021-12-28 11:22 风中狂笑 阅读(835) 评论(1) 推荐(0)

2021年12月26日

gvim中vim-plug插件管理器的使用

摘要: 首先是下载插件管理器 junegunn/vim-plug: Minimalist Vim Plugin Manager (github.com) 可以用打开powershell用命令行来下载plug.vim这个文件, 但没啥用,于是我就直接下载这个Plug.vim文件 但是我下载下来之后试了很多次都 阅读全文

posted @ 2021-12-26 16:00 风中狂笑 阅读(1647) 评论(0) 推荐(0)

2021年12月19日

mac下vscode中vim光标长按j或k无法快速移动的解决办法

摘要: 在mac中按住j或k不动,是没有反应的,需要更改下设置以使得按住以后会连续移动。 解决mac下vscode等应用中vim光标无法快速移动_MacwinWin的博客-CSDN博客 holding down navigation button · Issue #345 · VSCodeVim/Vim ( 阅读全文

posted @ 2021-12-19 19:39 风中狂笑 阅读(2209) 评论(0) 推荐(0)

2021年12月18日

vscode setting sync 同步本地配置

摘要: 官方的同步方法 Settings Sync in Visual Studio Code 之前写过用插件,settings sync,但官方的就有很好用诶 从vscode左上角齿轮处打开 Turning on Settings Sync# You can turn on Settings Sync u 阅读全文

posted @ 2021-12-18 12:36 风中狂笑 阅读(256) 评论(0) 推荐(0)

2021年12月17日

vscode integrated termail not working blank

摘要: vscode的集成terminal一片空白,啥也没有,就像下面图所示 搜索了大半天时间,原来之前为了某个问题,打开了兼容模式 去掉这个兼容模式,以管理员模式打开,于是正常了 阅读全文

posted @ 2021-12-17 21:36 风中狂笑 阅读(48) 评论(0) 推荐(0)

vscode下的C#控制台应用console

摘要: 1、安装vscode和.NET Core 3.1 SDK Visual Studio Code - Code Editing. Redefined Download .NET Core 3.1 SDK (v3.1.416) - Windows x64 Installer (microsoft.com 阅读全文

posted @ 2021-12-17 10:07 风中狂笑 阅读(785) 评论(0) 推荐(0)

2021年12月16日

vscode中vim的配置

摘要: 用起来还比较合适了,建议使用autohotkey将caplock映射为esc,但目前好像只能每次开机都设置下,不知道为什么 新建一个capslock.ahk的文件 #NoEnv SendMode, Input SetWorkingDir %A_ScriptDir% *CapsLock:: Escap 阅读全文

posted @ 2021-12-16 14:22 风中狂笑 阅读(957) 评论(0) 推荐(0)

2021年12月13日

使用C#编制一个控制台应用-竖曲线标高计算

摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace 竖曲线计算 { class Program { static void M 阅读全文

posted @ 2021-12-13 14:50 风中狂笑 阅读(104) 评论(0) 推荐(0)

c#使用GDI绘图

摘要: 视屏教程C#基础 17、Winform应用程序_GDI绘图_哔哩哔哩_bilibili 代码如下 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using 阅读全文

posted @ 2021-12-13 14:46 风中狂笑 阅读(503) 评论(0) 推荐(0)

2021年12月7日

c#

摘要: Convert.ToInt32 Convert.ToDouble 阅读全文

posted @ 2021-12-07 14:58 风中狂笑 阅读(32) 评论(0) 推荐(0)

2021年12月2日

.net 安装与与使用

摘要: Download .NET (Linux, macOS, and Windows) (microsoft.com) Download .NET 6.0 SDK (v6.0.100) - Windows x64 Installer (microsoft.com) 阅读全文

posted @ 2021-12-02 10:02 风中狂笑 阅读(364) 评论(0) 推荐(0)

2021年11月29日

vim的使用技巧

摘要: 部分转载自:Vim编辑器常用命令_zhang_yu_ling的博客-CSDN博客_vim命令 B站课程1:【ThePrimeagen】6节课带你成为Vim大神_哔哩哔哩_bilibili B站课程2:【ThePrimeagen】6节课带你成为vim大神_哔哩哔哩_bilibili B站课程3:【Th 阅读全文

posted @ 2021-11-29 15:57 风中狂笑 阅读(295) 评论(0) 推荐(0)

2021年11月22日

使用 Visual Studio 创建 .NET 控制台应用程序

摘要: 使用 Visual Studio 创建 .NET 控制台应用程序 - .NET | Microsoft Docs 在 Program.cs 或 Program.vb 中,将 Main 方法的内容(当前只是调用 Console.WriteLine 的行)替换为以下代码: Console.WriteLi 阅读全文

posted @ 2021-11-22 14:18 风中狂笑 阅读(213) 评论(0) 推荐(0)

2021年11月19日

vsto第一个例子

摘要: 官方例子:演练:为 VSTO 创建第一个Excel - Visual Studio (Windows) | Microsoft Docs 1、创建项目,语言选择为Visual Basic,如果你想用c#,也可以,平台为windows,第三个选office,可以是excel vsto外接程序也可以是w 阅读全文

posted @ 2021-11-19 22:19 风中狂笑 阅读(614) 评论(0) 推荐(0)

导航