- 博客(50)
- 收藏
- 关注
转载 编程中遇到各种快捷键
ubuntu: Ctrl + Alt + T :打开终端复制上一行: atom : ctrl + shift + D vscode : shift + alt +向下箭头转载于:https://www.cnblogs.com/xiangsui/p/11592640.html...
2019-09-26 16:32:00
245
转载 atom 使用 linter 检查语法时,阻止底部弹窗弹出
解决方案:在 packages中找到 linter-ui-dufault,去掉对 Show Panel的勾选转载于:https://www.cnblogs.com/xiangsui/p/11584734.html
2019-09-25 15:09:00
628
转载 vscode,atom等输出窗口中文乱码,有效解决各种中文乱码问题
解决方案:设置 -->时间和语言 -->(右侧:相关设置)日期、时间和区域格式设置-->(左侧:相关设置)其他日期、时间和区域设置-->区域--> 管理-->更改系统区域设置-->转载于:https://www.cnblogs.com/xiangsui/p/11570994.html...
2019-09-23 10:31:00
491
转载 pycharm 光标闪烁问题
https://github.com/spyder-ide/spyder/issues/4277#issuecomment-315517867转载于:https://www.cnblogs.com/xiangsui/p/11569264.html
2019-09-22 21:10:00
3189
转载 VSCode 光标闪烁速度
调整VSCode光标闪烁速度转载于:https://www.cnblogs.com/xiangsui/p/11551040.html
2019-09-19 17:08:00
1024
转载 atom 可调光标闪烁速度
fiel -> stylesheet ->进入 styles.less文件添加如下代码:atom-text-editor.is-focused .cursors .cursor { opacity: 1;}https://discuss.atom.io/t/blinking-cursor/1544转载于:https://www.cnbl...
2019-09-19 16:57:00
255
转载 [LeetCode] error:control reaches end of non-void function[-Werror=return-type]
刷 LeetCode题库时,出现如上报错,代码没问题,本地运行也没问题,可复制到 LeetCode就报错。解决方案:在函数的最后添加一条 return语句,只要返回的类型对即可!(return 0也行)。切记:一定要返回,虽然永远也用不上。参考https://blog.youkuaiyun.com/FunnyZilly/article/details/87899960转载于...
2019-09-19 09:42:00
400
转载 git : error: failed to push some refs to xxxxx
原因:本地和远程的文件应该合并后才能上传本地的新文件解决方案:1、先拉下来,会自动合并的(不用操心)git pull origin master如果上述代码报错,用:git pull origin master --allow-unrelated-histories2、再上传git push -u origin master参考文章:...
2019-09-12 12:50:00
76
转载 atom显示代码折叠线
勾选 Show Indent Guide效果:转载于:https://www.cnblogs.com/xiangsui/p/11508693.html
2019-09-11 20:56:00
474
转载 VSCode更改格式化C++代码方式
File --> Preference --> setting -->搜索 clang_format -->在C_Cpp:Clang_format_fallback Style的输入窗中填入如下代码风格之一:Visual Studio LLVM,Google,Chromuim, Mozilla, WebKit或者:{ BasedOnStyle: L...
2019-09-08 22:04:00
1191
转载 必应首页图片下载
以 chrome浏览器为例第一步:右键 ->检查(N)第二步:点击如图键头,然后在首页图片中点选一下(确保选中整个图片)第三步:在光标定位的上面第二行,有一个节点:data-ultra-definition-src,选中节点后的内容第四步:将必应首页地址与节点内容组合在一起,此时就出现了完整的壁纸,右键保存,完事。...
2019-09-07 18:55:00
1424
转载 Git报错:fatal: remote origin already exists.
1.移除origin$: git remote rm origin2.再次执行报错的操作$: git remote add origin git@github.com:......转载于:https://www.cnblogs.com/xiangsui/p/11471073.html...
2019-09-06 09:36:00
101
转载 sublime text3 自定义代码片段
转载于:https://www.cnblogs.com/xiangsui/p/11444735.html
2019-09-02 09:18:00
119
转载 atom自定义C++代码片段
file -> snippets:转载于:https://www.cnblogs.com/xiangsui/p/11433018.html
2019-08-30 08:46:00
198
转载 vscode 自定义代码片段(snippets)
转载于:https://www.cnblogs.com/xiangsui/p/11426088.html
2019-08-28 19:43:00
199
转载 `imread` is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use ``imageio.imread`` instead.
如题干所述,scipy 里面的 imread 读取图片会出错,代码如下:from scipy import miscmisc.imread("picture/scipy子模块.png")报错信息为:D:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py:3: DeprecationW...
2019-08-24 09:58:00
2322
转载 [pycharm] invalid escape sequence
用 pycharm 写正则表达式,出现 invalid escape sequence '\d', '\n' 的提示,在匹配的字符串前加上 r 即可。如下代码将出现 invalid escape sequence '\d' 的提示:pattern = "\d\d"在字符串前加上 r 即可:pattern = r"\d\d"转载于:https:...
2019-08-22 09:29:00
1367
转载 potplayer关闭左上角的播放信息
解决方案:F5 → 基础 → 消息 → 播放信息显示设置→ 在屏幕上显示播放信息(√)去掉转载于:https://www.cnblogs.com/xiangsui/p/11389612.html
2019-08-21 16:42:00
11187
转载 potplayer无边框
在视频中:右键 --> 皮肤 --> 【勾选】在视频下自动隐藏转载于:https://www.cnblogs.com/xiangsui/p/11375195.html
2019-08-19 08:58:00
973
转载 如何删除pandas中产生的Unnamed:0列
参照:https://www.cnblogs.com/everfight/p/remove_unamed.htmlhttps://blog.youkuaiyun.com/qq_33876194/article/details/88732371解决方案一:pd.read_csv(path, index_col=0)或pd.to_csv(path, index=False)...
2019-08-09 15:26:00
11010
转载 VSCode C++ control reaches end of non-void function [-Wreturn-type]
用 VSCode 写 C++ 代码时,总是在调用函数的末尾显示control reaches end of non-void function [-Wreturn-type],运行也会报错,然而同样的代码在VS却没有这个问题。经多方查找,应该在被调函数末尾的花括号前加上一个 return 语句转载于:https://www.cnblogs.com/xiangsui/p/112...
2019-07-31 15:44:00
860
转载 VSCode由终端切换到编辑器快捷键
ctrl + 1:由终端切换到编辑器转载于:https://www.cnblogs.com/xiangsui/p/11266455.html
2019-07-29 20:59:00
1090
转载 visual studio 代码注释
注释:先按 Ctrl - K 组合键,再按 Ctrl - C 组合键取消注释:先按 Ctrl - K 组合键,再按 Ctrl - U 组合键转载于:https://www.cnblogs.com/xiangsui/p/11240207.html
2019-07-24 18:58:00
212
转载 atom换行或tab产生四个空格
File -> Settings -> Editor -> 1. 去掉对 Atomic Soft Tabs 的勾选;2. 勾选 Soft Tabs;3.Tab Length 值改为41.2.3.转载于:https://www.cnblogs.com/xiangsui/p/11233827.html...
2019-07-23 19:09:00
482
转载 anaconda配置环境变量
D:\Anaconda\D:\Anaconda\ScriptsD:\Anaconda\Library\bin转载于:https://www.cnblogs.com/xiangsui/p/11223276.html
2019-07-21 23:00:00
223
转载 The default value of gamma will change from 'auto' to 'scale' in version 0.22 to account better for ...
实现《python数据科学手册》代码时出现如下警告:py:196: FutureWarning: The default value of gamma will change from 'auto' to 'scale' in version 0.22 to account better for unscaled features. Set gamma explicitly to...
2019-07-11 21:34:00
960
转载 卸载wps后,office图标显示异常、变成白板
卸载 wps 后,office 图标变成白板,试了好多教程,效果都不理想。解决方案如下:step 1:重新安装 wpssetp 2:再次卸载 wps。注意:卸载时一定要勾选【不保留用户数据】注意:卸载时一定要勾选【不保留用户数据】注意:卸载时一定要勾选【不保留用户数据】转载于:https://www.cnblogs.com/xiangsui/p/11161...
2019-07-10 08:46:00
3256
转载 win10设置默认输入法,无法保存
新装 win10 系统,设置默认输入法,重启后不是原来的模型,可通过以下步骤设置。setp: 1setp: 2setp: 3setp: 4转载于:https://www.cnblogs.com/xiangsui/p/11155339.html...
2019-07-09 09:21:00
1256
转载 更改 spyder File explorer 默认工作路径
每次打开 anaconda 的 spyder ,其 File explorer(文件资源管理器)都默认定位到 C 盘,多次尝试修改后,找到方法如下:Spyder --> Tools --> Preferences --> Current working directory --> the following directory --> 在其后的框格中填入...
2019-06-21 11:25:00
1085
转载 ValueError: Colormap spectral is not recognized.
出处:《Python 数据科学手册》照着写上的代码敲上去报错,找到源码,复制,运行也是错。报错信息如下:ValueError: Colormap spectral is not recognized. Possible values are: Accent, Accent_r, Blues, Blues_r, BrBG, BrBG_r, BuGn, BuGn_r, BuP...
2019-06-05 20:16:00
1048
转载 ImportError: cannot import name 'GMM' from 'sklearn.mixture'
实规《Python数据科学手册》的代码时,from sklearn.mixture import GMM总是报错,查阅对应scikit-learn 版本的官方文档后发现,GMM 被替换为 GaussianMixture,故正确写法为:from sklearn.mixture import GaussianMixture启示:遇到冷门报错信息,束手无策...
2019-06-05 19:40:00
6448
转载 SyntaxError: invalid character in identifier
python出现:SyntaxError: invalid character in identifier可能是【中文】的符号混入的【英文】里,比如 ,:之类的转载于:https://www.cnblogs.com/xiangsui/p/10908869.html...
2019-05-22 22:03:00
2262
转载 在 jupyter notebook 中插入图片
%%html<img src="当前路径下的文件夹/图.png">转载于:https://www.cnblogs.com/xiangsui/p/10847902.html
2019-05-11 10:38:00
3372
转载 Atom 换行后删除前面空格,需要按2/4次退格键
Atom 换行后产生2个或4个空格,如果要删除,还得按2/4次退格键,不是很方便。解决方案: file -> setting -> Editor -> Tab Type [hard]转载于:https://www.cnblogs.com/xiangsui/p/10834734.html...
2019-05-08 21:19:00
362
转载 win10输入法InpuMode默认显示中文
win10对QQ五笔的支持不太友好,每次打开新窗口都得按一遍 Ctrl + 空格,解决方案如下:开始 -> 设置 -> 设备 -> 输入 -> 高级键盘设置 -> 【勾选】允许我为每个应用窗口使用不同的输入法 -> 重启电脑step 1:step 2:step 3:step 4:step 5: ...
2019-05-08 09:59:00
129
转载 Visual Studio(WindowsSDK.targets(46,5): error MSB8036: 找不到 Windows SDK 版本8.1)
下载最新版SDK并安装,然后:相应项目 -> 属性 -> 配置信息 -> 常规 -> Windows SDK 版本 -> 选择最新的版本即可转载于:https://www.cnblogs.com/xiangsui/p/10748261.html...
2019-04-22 08:54:00
1449
转载 atom修改注释的字体,字号,颜色
atom - one dark的注释默认注释字体为斜体,显示中文的时候,很不好看。解决方案: File -> Stylesheet -> 弹出 style.less,在其中添加如下代码:atom-text-editor.editor .syntax–comment{ font-style: normal; //注释非斜体 font-si...
2019-04-21 15:19:00
3687
转载 '__int64' has not been declared
写模板的时候,出现'__int64' has not been declared,加入 #include<iostream>后解决转载于:https://www.cnblogs.com/xiangsui/p/10744506.html
2019-04-21 11:36:00
1999
转载 C++
1.输出 bool 值cout << boolalpha << 标识符 << endl;转载于:https://www.cnblogs.com/xiangsui/p/10463006.html
2019-03-02 21:21:00
71
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人