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 风中狂笑 阅读(202) 评论(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 风中狂笑 阅读(248) 评论(0) 推荐(0) 编辑

2022年1月16日

midas civil结果后处理

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

posted @ 2022-01-16 16:35 风中狂笑 阅读(833) 评论(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 风中狂笑 阅读(1747) 评论(0) 推荐(0) 编辑

2022年1月14日

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

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

posted @ 2022-01-14 16:01 风中狂笑 阅读(603) 评论(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 风中狂笑 阅读(836) 评论(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 风中狂笑 阅读(2248) 评论(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 风中狂笑 阅读(106) 评论(0) 推荐(0) 编辑

2021年12月31日

windows7下安装curl

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

posted @ 2021-12-31 09:29 风中狂笑 阅读(1450) 评论(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 风中狂笑 阅读(625) 评论(0) 推荐(0) 编辑

2021年12月29日

mac下安装homebrew清华大学镜像

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

posted @ 2021-12-29 22:37 风中狂笑 阅读(793) 评论(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 风中狂笑 阅读(166) 评论(0) 推荐(0) 编辑

2021年12月28日

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

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

posted @ 2021-12-28 22:07 风中狂笑 阅读(264) 评论(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 风中狂笑 阅读(751) 评论(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 风中狂笑 阅读(1409) 评论(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 风中狂笑 阅读(1731) 评论(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 风中狂笑 阅读(217) 评论(0) 推荐(0) 编辑

2021年12月17日

vscode integrated termail not working blank

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

posted @ 2021-12-17 21:36 风中狂笑 阅读(32) 评论(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 风中狂笑 阅读(670) 评论(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 风中狂笑 阅读(912) 评论(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 风中狂笑 阅读(81) 评论(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 风中狂笑 阅读(485) 评论(0) 推荐(0) 编辑

2021年12月7日

c#

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

posted @ 2021-12-07 14:58 风中狂笑 阅读(23) 评论(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 风中狂笑 阅读(311) 评论(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 风中狂笑 阅读(263) 评论(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 风中狂笑 阅读(168) 评论(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 风中狂笑 阅读(495) 评论(0) 推荐(0) 编辑

Visual Studio 2019 Community安装

摘要: 官网现在是2022,所以需要点步骤找到2019 直达页面:Visual Studio 较旧的下载 - 2017、2015 和以前的版本 (microsoft.com), Downloads - Visual Studio Subscriptions Portal 如果点不开的话请按照以下步骤进行 1 阅读全文

posted @ 2021-11-19 21:17 风中狂笑 阅读(1208) 评论(0) 推荐(0) 编辑

Visual Studio 2019 Community 许可证过期解决方法

摘要: 方法1: 打开VS所在文件夹,找到DDConfigCA.exe 这个文件,双击打开会立刻闪退,再次重启VS就可以了。 无效 方法2: 右键以管理员身份运行 无效 方法3: 关闭 Visual Studio 。 打开开始菜单>Visual Studio Installer。 点击[你安装的VS版本]> 阅读全文

posted @ 2021-11-19 20:55 风中狂笑 阅读(10785) 评论(0) 推荐(0) 编辑

2021年8月31日

vba+excel+chart绘图

摘要: 官方帮助 ChartObjects 对象 (Excel) | Microsoft Docs 首先,是在excel的工作表中插入一个散点连线图,比如这种,这个就是一个ChartObject对象,里面嵌入一个图表Chart,也就是Chart需要ChartObject这么一个容器 Sub 宏2() Dim 阅读全文

posted @ 2021-08-31 14:28 风中狂笑 阅读(1806) 评论(2) 推荐(0) 编辑

2021年8月21日

libcmtd.lib(exe_main.obj) : error LNK2019: 无法解析的外部符号

摘要: 用c++编写第一个mfc程序的时候,照着例子输入的代码,执行不了,VS2017 问题描述: MSVCRTD.lib(exe_winmain.obj) : error LNK2019: 无法解析的外部符号 WinMain,该符号在函数 "int __cdecl invoke_main(void)" ( 阅读全文

posted @ 2021-08-21 21:35 风中狂笑 阅读(1230) 评论(0) 推荐(0) 编辑

2021年8月15日

vs2017+cpp+sfml

摘要: vs2017下 首先是环境搭建 下载页面 SFML 2.5.1 (SFML / Download) (sfml-dev.org) 选择哪个Visual C++15(2017) -32 -bit ,注意是32位,我系统是64位的,下了64-bit的,结果没有*.hpp文件 推荐<SFML Essent 阅读全文

posted @ 2021-08-15 19:53 风中狂笑 阅读(100) 评论(0) 推荐(0) 编辑

2021年8月7日

ubuntu+vscode+c++

摘要: 在ubuntu 16.04 lsc版本中 >gcc -v version 5.4.0 >g++ -v version 5.4.0 使用常规方法不能编译c++,比如例子中的 #include <iostream> #include <vector> #include <string> using na 阅读全文

posted @ 2021-08-07 18:39 风中狂笑 阅读(108) 评论(0) 推荐(0) 编辑

2021年8月6日

vscode插件同步方法settings sync

摘要: shanalikhan/code-settings-sync: 🌴💪 Synchronize your Visual Studio Code Settings Across Multiple Machines using GitHub GIST 💪🌴 参考这两个帖子 (8条消息) VSCod 阅读全文

posted @ 2021-08-06 14:46 风中狂笑 阅读(888) 评论(0) 推荐(1) 编辑

一个c++的例子-通讯录

摘要: 参考B站黑马c++视频教程,这里推荐vscode一个extension,koroFileHeader 可以自动写头注释,非常方便 为啥用英语?因为code runner运行的时候中文输出到terminal为乱码,懒得搞 注意,在vsocode中在struct指针后输入.之后也会自动边为->,我一开始 阅读全文

posted @ 2021-08-06 13:58 风中狂笑 阅读(40) 评论(0) 推荐(0) 编辑

2021年7月30日

python中的os模块

摘要: 创建多级目录: os.mkdir(“test”) 创建单个目录 os.stat(file) 获取文件属性 os.chmod(file) 修改文件权限与时间戳 os.exit() 终止当前进程 os.mknod("test.txt") 创建空文件: 7.删除文件 os.remove("file") 8 阅读全文

posted @ 2021-07-30 14:35 风中狂笑 阅读(69) 评论(0) 推荐(0) 编辑

安装ubuntu

摘要: 分别在两台笔记本安装了16.04 LTS 20.04 LTS版本,界面有所差异 前者界面类似mac,后者就类似windows了 下载安装universal usb installer https://universal-usb-installer.en.softonic.com/?ex=BB-154 阅读全文

posted @ 2021-07-30 14:30 风中狂笑 阅读(163) 评论(0) 推荐(0) 编辑

vscode+electron环境搭建

摘要: 安装nodejs https://nodejs.org/en/download/releases/ 国外的连接速度慢或者连接不稳定,可以访问阿里镜像Node.js Mirror (taobao.org) Node.js Mirror (taobao.org) 有历史版本,我选择的是node-v12. 阅读全文

posted @ 2021-07-30 10:53 风中狂笑 阅读(794) 评论(0) 推荐(0) 编辑

2021年7月22日

使用python对文件进行批量处理

摘要: 代码有点长,包括为类了,主要是对文件进行批量处理使用 1、批量移动文件,符合某种后缀的 2、批量查找两个文件夹重复的文件 3、批量同步两个文件夹的文件 2和3,我现在用duplicate这个软件,同步的话使用File Synchronizer这个软件,代码的话不怎么用了 4、批量移动和复制文件的时候 阅读全文

posted @ 2021-07-22 09:10 风中狂笑 阅读(892) 评论(0) 推荐(0) 编辑

2020年10月14日

vs 2019 offline帮助文档的下载问题

摘要: 挺慢的 1、安装help viewer 打开visual studio installer,修改-》单个组件-》搜索"help viewer",打钩后进行安装,然后将vs的帮助菜单里的“设置帮助首选项”改为“在帮助查看器中启动” 2、进行下载 3、安装完成 4、启动VS2017,帮助>设置帮助首选项 阅读全文

posted @ 2020-10-14 22:54 风中狂笑 阅读(1533) 评论(0) 推荐(1) 编辑

导航