![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博客
cunlim
这个作者很懒,什么都没留下…
展开
-
手动btsoft_ubuntu
手动btsoft_ubuntu原创 2022-08-27 17:28:33 · 840 阅读 · 1 评论 -
java 99乘法表
public class Main { public static void main(String[] args) { t99(" "); } public static void t99(String t) { String t1 = ""; String t2 = ""; for (int i = 1; i <= 99; i++) { for (int j = 1; j <=原创 2021-04-14 02:03:17 · 199 阅读 · 0 评论 -
java 修饰符
public alldefault 包内protected 包内 -> 本类 + 子类private 包内 -> 本类原创 2021-03-26 11:17:57 · 97 阅读 · 0 评论 -
git 基本操作
名词本地库:repository / HEAD / history / 版本库 / 库暂存区:stage / index / 缓存区工作区:working Dir远程库:remote操作文件操作生成git仓库git initgit clone https://github.com/xxx/xxx.git工作区 →\rightarrow→ 暂存区git add .git add filename.txt暂存区 →\rightarrow→ 库git commi原创 2021-02-15 00:11:17 · 167 阅读 · 0 评论 -
java 数据类型,转换
class first{ public static void main(String[] args){ byte Integer1 = 127; // 2^7 - 1 System.out.println(Integer1); short Integer2 = 32767; // 2^15 - 1 System.out.println(Integer2); int Integer3 = 2147483647; // 2^31 - 1 System.out.println原创 2021-02-07 06:29:24 · 135 阅读 · 0 评论 -
CentOS 设置静态ip
ifconfigvim /etc/sysconfig/network-scripts/ifcfg-ens33vim /etc/sysconfig/network-scripts/ifcfg-enp0s3TYPE="Ethernet"PROXY_METHOD="none"BROWSER_ONLY="no"BOOTPROTO="dhcp" // staticDEFROUTE="yes"IPV4_FAILURE_FATAL="no"IPV6INIT="yes"IPV6_AUTOCONF=.原创 2021-01-12 21:54:07 · 145 阅读 · 1 评论 -
apicloud + appstore 证书制作过程
iOS证书Apicloud文档:https://doc.apicloud.com/Dev-Guide/iOS-License-Application-Guidance证书:https://www.apicloud.com/certificateapple生成证书:https://developer.apple.com/account/resources/certificates/list提交审核:https://appstoreconnect.apple.com/apps制作App原创 2020-07-14 15:15:06 · 503 阅读 · 0 评论 -
js 模拟构造函数隐式步骤
正常的function Car(color) { // var this = {}; this.name = 'BMW'; this.color = color; // return this}var car1 = new Car('red');// 当函数执行前加 new 关键字,则在函数隐式执行两个步骤。// 此隐式 this 不可写成显示,不然报错:// test.html:13 Uncaught SyntaxError: Unexpected token 'this'.原创 2020-06-17 21:55:30 · 156 阅读 · 0 评论 -
js 函数中参数的传递 (arguments类数组)
参数的传递function sum(a, b) { // arguments = [2, 5]; // var a = arguments[0], // b = auguments[1]; return a + b;}sum(2, 5);形参与实参不一致时function test1(a, b) { // arguments = [2, 5, 6]; // var a = arguments[0], // b = auguments[1];}test1(.原创 2020-06-14 15:05:29 · 1133 阅读 · 0 评论 -
js递归求阶乘 mul(n)
题:函数 mul(n),传n求阶乘。//n为自然数测:n = 0,1, 2 和 5注:此页js代码可复制到html文件里,在浏览器执行。=====================================================不用递归,用循环:<script type="text/javascript">function mul(n) { var num ...原创 2019-12-19 01:25:23 · 1626 阅读 · 0 评论