Fork me on GitHub
摘要: 文件编码: settings -> editor -> general setting -> other setting ->encoding此处默认WINDOWS-936(即GBK) 编译编码: settings -> compiler -> global compiler settings -> 阅读全文
posted @ 2018-07-16 21:26 Stefango 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.w3school.com.cn/cssref/pr_text-shadow.asp 示例:http://www.w3school.com.cn/tiy/c.asp?f=css_text-shadow&p=11 阅读全文
posted @ 2018-07-02 11:28 Stefango 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 使用git将项目上传到github(最简单方法) 阅读全文
posted @ 2018-06-29 14:24 Stefango 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 原因如下: /* 数组下标越界,如果 i 的内存地址正好在数组后面,那么当a[10]=0时,会将i自动清零,于是 i <= 10,开启死循环模式。 */ 阅读全文
posted @ 2018-06-24 13:02 Stefango 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 当一个frameset内包含多个frame时,在frame1中设置两个个可以跳转到其他页面的button,点击button后对应执行两个JS函数: ①window.location.href="#"; //只改变frame1所在区域 ②window.parent.location.href="#"; 阅读全文
posted @ 2018-06-23 17:04 Stefango 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 在VS Code下设置断点运行 exports1.js exports2.js 参考:①https://cnodejs.org/topic/52308842101e574521c16e06 ②https://www.zhihu.com/question/26621212 阅读全文
posted @ 2018-06-13 09:54 Stefango 阅读(527) 评论(0) 推荐(0) 编辑
摘要: Math.PI 这个值近似为 3.141592653589793。 Math.ceil(x) 向上取整 Math.floor(x) 向下取整 Math.pow(x,y) 返回x的y次幂(注:如果结果是虚数或负数,则该方法将返回 NaN。如果由于指数过大而引起浮点溢出,则该方法将返回 Infinity 阅读全文
posted @ 2018-05-22 19:42 Stefango 阅读(150) 评论(0) 推荐(0) 编辑
摘要: console兼职 1.bilibili系列 2.知乎系列 3.豆瓣系列 4.谷歌系列,,,居然没有 阅读全文
posted @ 2018-05-19 22:40 Stefango 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://segmentfault.com/q/1010000007383512?share_user=1030000013014061 附vue入门:https://www.cnblogs.com/Leo_wl/p/5632703.html 阅读全文
posted @ 2018-05-19 17:23 Stefango 阅读(23556) 评论(0) 推荐(0) 编辑
摘要: 0.部分需要掌握的知识点和注意事项 (1)面包板的结构 (2)按键的结构:按键按下时,左右两侧连通;按键松开后,左右两侧断开,但1号与2号相连,3号与4号相连,即按键松开时,同侧不相连,相连不同侧。 注:在将按键插入面包板的时候,需要用力,以免按键不能正常接入电路。 (3)函数 ①pinMode() 阅读全文
posted @ 2018-04-24 17:38 Stefango 阅读(4731) 评论(0) 推荐(0) 编辑
网络威胁 实时地图