- 博客(20)
- 收藏
- 关注
原创 Python IDLE如何设置清屏
1.新建ClearWindow.py文件,复制以下内容"""Clear Window ExtensionVersion: 0.2provides "Clear Shell Window" under "Options"with ability to undo.Add these lines to config-extensions.def[ClearWindow]enable=1enable_editor=0enable_shell=1[ClearWindow_cfgBinding
2021-05-02 10:45:29
269
原创 Windows下 vscode 配置Python3开发环境
Windows下 vscode 配置Python3开发环境 <p>本文内容以版本:python3.7 为例!</p> 一 、下载pythonurl地址 : https://www.python.org/downloads/windows/ 二、安装python由于Windows安装Python很简单,我就不多说了,只说一个很重要的提示: 安装过程中,记得勾选 添加环境变量。 三、 vscode 安装所需...
2021-03-27 15:50:15
519
转载 archlinux安装
wifi-menutimedatectl set-ntp truefdisk -lmkfs.ext4 /dev/sda7mount /dev/sda7 /mntnano /etc/pacman.d/mirrorlistvim /etc/pacman.conf Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch pa...
2019-01-16 14:15:51
817
转载 tcl-opencc.spec
%{!?directory:%define directory /usr}%define buildroot %{_tmppath}/%{name}%define pkgname tclopenccName: tcl-openccSummary: Tcl bindings for OpenCC (libopencc)Version: 0.2...
2019-01-11 11:07:10
161
转载 RHEL7打包
一、RPM打包的目的1、当目标机中不存在编译环境时,可以先在本地环境中编译打包,然后直接在目标机中用rpm -ivh *.rpm安装即可。2、当需要在目标机中安装多个软件或者增加多个文件时,可以将整体打成RPM包,方便使用。二、RPM打包命令 $cd ~ #进入home目录 $ sudo yum -y in...
2019-01-10 15:26:44
370
转载 GitHub 访问
修改hosts1.打开Dns检测|Dns查询 - 站长工具2.在检测输入栏中输入github.com官网3.把检测列表里的TTL值最小的IP输入到hosts里,并对应写上github官网域名
2019-01-09 20:25:29
413
转载 Linux挂载NTFS格式的U盘
首先我们需要安装NTFS-3Gtar zxvf ntfs-3g_ntfsprogs-2014.2.15.tgz cd ntfs-3g_ntfsprogs-2014.2.15 ./configure make &amp;amp;amp;amp;amp;amp;amp;&amp;amp;amp;amp;amp;amp;amp; make install 然后挂载fdisk -l mount -t ntfs-3g /dev/sdb1 /mnt/us
2019-01-05 20:37:56
4000
转载 RHEL 7.6 注册内核引导
#subscription-manager register --username=little__life --password=soumxh280126 --auto-attach#subscription-manager listyum install epel-releaseyum install ntfs-3ggrub2-mkconfig -o /boot/grub2/gru...
2019-01-05 17:38:42
1236
1
转载 桌面环境配置
systemctl stop display-managersystemctl disable gdmsystemctl enable sddmsystemctl start display-manager It won’t “nuke” your system. You can easily go back to gdm using the same method.
2019-01-05 17:37:46
299
转载 ibus-rime on Centos 7
yum install -y gcc gcc-c++ boost boost-devel cmake make cmake3yum install glog glog-devel kyotocabinet kyotocabinet-devel marisa-devel yaml-cpp yaml-cpp-devel gtest gtest-devel libnotify zlib zlib-de...
2019-01-01 19:35:39
798
转载 rhel7安装wps
http://kdl.cc.ksosoft.com/wps-community/download/6757/wps-office-10.1.0.6757-1.x86_64.rpmyum -y install wps-office-10.1.0.6757-1.x86_64.rpmunzip wps_symbol_fonts(字体库).zip -d wps_fonts/cp -f wps_fo...
2019-01-01 14:39:23
1094
转载 rpmdb open failed 的解决办法
rm -f /var/lib/rpm/__db*rpm --rebuilddbyum -y update
2019-01-01 11:12:33
4849
转载 rhel7安装vlc
yum -y install epel-release rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm yum install vlcRHEL/CentOS/SL 7Use RPM Fusion for EL7. Only availab...
2018-12-30 21:04:04
512
1
转载 INSTALLING NVIDIA DRIVERS ON RHEL OR CENTOS 7
Most users of NVIDIA graphics cards prefer to use the drivers provided by NVIDIA. These more fully support the capabilities of the card when compared to the nouveau driver that is included with the di...
2018-12-23 10:46:43
261
转载 Linux释放内存
释放网页缓存(To free pagecache):sync; echo 1 &gt; /proc/sys/vm/drop_caches1释放目录项和索引(To free dentries and inodes):sync; echo 2 &gt; /proc/sys/vm/drop_caches1释放网页缓存,目录项和索引(To free pagecache, dentries an...
2018-12-19 08:57:31
164
转载 进阶Linux高手必懂的Vim命令大全
命令历史以:和/开头的命令都有历史纪录,可以首先键入:或/然后按上下箭头来选择某个历史命令。启动vim在命令行窗口中输入以下命令即可vim 直接启动vimvim filename 打开vim并创建名为filename的文件文件命令打开单个文件vim file同时打开多个文件vim file1 file2 file3 …在vim窗口中打开一个新文件:open file在新窗...
2018-12-18 20:39:15
144
转载 vim 操作命令大全
关于Vimvim是我最喜欢的编辑器,也是Linux下第二强大的编辑器。 虽然emacs是公认的世界第一,我认为使用emacs并没有使用vi进行编辑来得高效。 如果是初学vi,运行一下vimtutor是个聪明的决定。 (如果你的系统环境不是中文,而你想使用中文的vimtutor,就运行vimtutor zh)1.1 Vim的几种模式正常模式:可以使用快捷键命令,或按:输入命令行。插入模式...
2018-12-18 20:35:56
323
转载 RHEL7.6安装fcitx输入法参考
1、加入EPEL源#sudo yum install epel-release2、添加mosquito-myrepo源#wget https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo -O /etc/yum.repos.d/mosquito-myrepo-epe...
2018-12-18 18:37:38
1576
转载 RHEL7.6源配置
ISO镜像搭建高速的本地源sudo mv CentOS-7.0-1406-x86_64-DVD.iso /mntsudo mkdir /mnt/centos #创建镜像挂载目录sudo vi /etc/fstab #配置开机自动挂载iso镜像#追加下面一行/mnt/CentOS-7.0-1406-x86_64-DVD.iso /mnt/centos iso9660 defaults...
2018-12-18 18:37:28
1690
转载 RHEL7.6安装Chrome浏览器
wget http://mirror.centos.org/centos-7/7.6.1810/os/x86_64/Packages/liberation-fonts-1.07.2-16.el7.noarch.rpm1.配置yum下载源:在目录 /etc/yum.repos.d/ 下新建文件 google-chrome.repo, 并且在该文件中添加如下内容:1 [google-chrome...
2018-12-18 18:37:08
2118
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人