搭建完毕,但是访问速度有点离谱
也算是搭好了吧,访问速度什么的回头再修
文章已搬运完毕!
博客园所有文章已搬运完毕!请在右上角“文章”处查看兜兜转转,还是用回了hexo。
一年前,我想搭建一个博客,用来记录我在开发过程中遇到的各种各样的问题。
我在网上找到了hexo,那时候的我并不太理解什么是git,只知道跟着教程一步一步走,遇到问题就搜,也算是把这个博客搭了起来,但之后再也没有碰过这里。
一年后,我还是觉得应该把他利用起来,我马上该大三了,马上我就没有时间去沉下来学习新东西了,我想把我这两年中遇到的问题,学到的经验,走过的弯路都慢慢写出来,给自己留个纪念,也给后来的人留下一些可能用的上的东西。
莫听穿林打叶声,何妨吟啸且徐行。竹杖芒鞋轻胜马,谁怕?一蓑烟雨任平生。料峭春风吹酒醒,微冷,山头斜照却相迎。回首向来萧瑟处,归去,也无风雨也无晴。
人工智能实验室第二次招新考试部分答案
A.打印菱形图案
123456n=int(input())a=n//2for i in range(-a,a+1): c=abs(i) print(c*" " ,end="") print((2*a+1-2*c)*"*")
D.来,关个灯
12345n = int(input())for i in range(1, n): if (i * i > n): break; print(i * i, end = ' ')
E.矩形的数量
12345678910m,n,k=map(int,input().split())nn=n+1yi=(nn-k)*(k-1)a=0if m%2==0: a=(1+m)*(m//2)else: a=(1+m)*(m//2)+int(m/2+1)yyy=yi*aprint((yyy)%1000000007)
F.这个最大乘积怎么求?
1234567891011121314151617181920212223242526272829303132333435363 ...
Ubantu下运行Clash For Windows
偶然发现Clash For Windows并不是只能在Windows下使用,在Ubantu下同样可以使用(所以你为什么要叫windows?),命令行的方式也可以运行clash,但图形界面更易上手以下为简单的使用步骤:1.下载地址
https://github.com/Fndroid/clash_for_windows_pkg/releasesamd64版本请选择Clash.for.Windows-0.20.31-x64-linux.tar.gz
2.使用教程解压文件,可以看见文件cfw,即为我们需要运行的应用
打开终端,运行文件,/home/(文件位置)/cfw
打开成功,此时请勿关闭终端,关闭终端会导致程序直接结束运行
正常操作即可
VMware安装Ubantu教程
VMware使用教程下载地址
https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html 建议翻墙访问
镜像源下载地址下载点我在这里边找到合适的源,点击下载。
以下内容以Ubantu20.04为例(ubuntu-20.04.6-desktop-amd64.iso ),下载地址
VMware安装与正常安装程序相同,注意安装位置。VM17激活码请自行查找
安装虚拟机1.主页——创建新的虚拟机2.自定义(高级)3.下一步——稍后安装操作系统4.客户机操作系统选择Liunx,版本选择Ubantu,点击下一步5.更改名称,位置,点击下一步6.处理器数量与每个处理器的内核数量均选择2,点击下一步7.内存可以选择4096MB,点击下一步8.下一步——下一步——下一步——下一步9.磁盘大小自己选择,可以直接点击下一步10.下一步——完成11.编辑此虚拟机设置,选择打印机,移除12.选择CD/DVD(SATA)——使用ISO映像文件——选择下载的镜像,点击确定13.点击“开启此虚拟机”(注 ...
洛阳师范学院 人工智能实验室新生指南
人工智能实验室新生指南Q&A1.我为什么要写这个东西?
我想用这样一种方式,来帮助各位更好的入门。
2.为什么叫新生指南?
我想不出其他名字了,那要不叫新生指北?
3.这里边都有些什么东西?
有一些有用的或者没用的东西,也有你们学长学姐们一路走过来的经验,希望能给你带来帮助。
正文部分:前言:首先记住一句话:大部分情况下,学不会计算机缺的不是所谓的什么天赋,而是解决问题的勇气。
Perl编程语言的发明人Larry Wall曾说过,一位优秀的程序员应该有三大美德:懒惰、急躁和傲慢。
懒惰,是一种品质,它会使你花很大力气去规避过度的精力消耗,敦促你写出节省体力的程序。
急躁,其实是一种情绪,是计算机偷懒或没有充分发挥计算机能力时感到的一种不爽。它会促使你写出超越预期的程序,而不只是响应需求。
傲慢,极度自信的表现,会激发程序员写出别人挑不出毛病的程序的追求。
善用这些“美德”,我相信你会成为一名优秀的程序员,记住,要时刻相信自己的程序就是最好的程序,要始终有着“我就是天下第一”的自信,相信你经过一段时间的洗礼,也会成为一位优秀的程序员。
学习路线:大一:大一会先进行python基础 ...