会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
靖意风
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
···
4
5
6
7
8
9
10
11
12
下一页
2024年7月6日
记录 编程练习题
1. 整数翻转:https://leetcode.cn/problems/reverse-integer/ 这个问题的难点是要考虑翻转之后的int类型的数字翻转后 可能溢出。
Read More
posted @ 2024-07-06 11:43 靖意风
Views(12)
Comments(0)
Diggs(0)
2024年7月2日
记录 广播节目
天津广播节目 滨海广播FM87.8, 相声广播FM92.1, 天津新闻广播FM 97.2, 音乐广播FM99, 经济广播FM101.4, 文艺广播FM104.6, 天津交通广播FM106.8, 小说广播AM666。
Read More
posted @ 2024-07-02 20:44 靖意风
Views(41)
Comments(0)
Diggs(0)
2024年6月25日
C语言头文件 time.h
如下内容主要参考:https://www.runoob.com/cprogramming/c-standard-library-time-h.html time相关的函数在 time.h 中可以查看原型。如下命令可以找出time.h的路径: whereis time.h 在time.h中声明了很多和
Read More
posted @ 2024-06-25 12:50 靖意风
Views(250)
Comments(1)
Diggs(0)
2024年6月11日
C语言的几个关键字
1. const 常量指针是说指不可以通过该指针修改它指向的变量的数值,但是该指针可以指向其他的变量 int x, y; int const *p = &x; x = 5; // 可以 *p = 5; // 不可以 p = &y; // 可以 指针常量 是说指针是个常量,不可以修改了,所以定义时,要
Read More
posted @ 2024-06-11 09:56 靖意风
Views(10)
Comments(0)
Diggs(0)
2024年2月22日
shell 命令重定向到 文件
1. 基本信息 0 标准输入, 1 标准输出, 2 错误输出 如下操作,可以将 ls 的错误输出和标准输出都 重定向到 out文件中 参考文章:linux下详解shell中>/dev/null 2>&1 - 哪是什么大佬 - 博客园 (cnblogs.com)
Read More
posted @ 2024-02-22 10:31 靖意风
Views(36)
Comments(0)
Diggs(0)
2021年6月13日
查看linux机器上的cpu个数
1. 查看 cpu 的物理核数cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l 查看每个物理CPU中core的个数(即核数) cat /proc/cpuinfo| grep "cpu cores"| uniq 查看逻辑 core 的个数
Read More
posted @ 2021-06-13 08:14 靖意风
Views(437)
Comments(0)
Diggs(0)
2020年9月20日
日常生活需要的网站地址
1. 天津汽车摇号 http://xkctk.jtys.tj.gov.cn/ 摇号编号:8542102864737
Read More
posted @ 2020-09-20 15:06 靖意风
Views(90)
Comments(0)
Diggs(0)
2020年7月20日
添加用户
在linux 环境下,如何添加 删除用户 1. #useradd test_user 会添加一个用户,在 /etc/passwd 文件中会添加一行;而且在 /home/ 下会创建一个目录 #passwd test_user 给test_user用户设置密码 #userdel test_user 会删
Read More
posted @ 2020-07-20 20:30 靖意风
Views(292)
Comments(0)
Diggs(0)
2020年1月15日
ssh scp 相关
1. 设置ssh 的免密登录 1> 将 ~/.ssh/id_rsa.pub文件中的内容拷贝到 远程host的 ~/.ssh/authorized_keys文件中 2> ssh-copy-id -i ~/.ssh/id_rsa.pub root@ip_addr
Read More
posted @ 2020-01-15 14:01 靖意风
Views(118)
Comments(0)
Diggs(0)
2019年8月7日
普通的patch 和使用git 打patch
参考博客: https://www.cnblogs.com/laoxiaobaiup/p/9455088.html https://blog.csdn.net/u012701023/article/details/82984026 1. diff -u oldfile newfile > 1.pat
Read More
posted @ 2019-08-07 20:52 靖意风
Views(819)
Comments(0)
Diggs(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
下一页
公告