工作问题总结: 1.问题源码 2.问题原因 tr翻译后导致字符串查找失败。 Good Good Study, Day Day Up. 顺序 选择 循环 总结 ...
分类:
其他好文 时间:
2018-02-07 14:48:03
阅读次数:
255
python学习的练习用turtle画的国际象棋棋盘importturtleturtle.speed(10)a=30#画背景turtle.up()turtle.goto(-10,-10)turtle.down()turtle.fillcolor("Khaki")turtle.begin_fill()turtle.fd(a*8+20)turtle.left(90)turtle.fd(a*8+20)t
分类:
编程语言 时间:
2018-02-07 10:20:12
阅读次数:
1021
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F ...
分类:
其他好文 时间:
2018-02-07 00:46:57
阅读次数:
140
一,安装brew 1,安装brew curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1 2,安装完成后执行 brew 提示:Please run brew up ...
分类:
其他好文 时间:
2018-02-06 10:20:02
阅读次数:
238
'atom-text-editor': 'shift-alt-i':'core:move-up' 'shift-alt-space':'core:move-down' 'shift-alt-l':'core:move-right' 'shift-alt-j':'core:move-left' ...
分类:
其他好文 时间:
2018-02-05 21:51:18
阅读次数:
158
删除一行:Ctrl+X 快速查找:Ctrl+F 打开文件目录结构: Ctrl+F12 可以把代码包在一个块内:Ctrl+Alt+T 替换文本:Ctrl+R, Alt+Shift+Up/Down,上/下移一行 Ctrl+J,自动代码(例如:serr) Ctrl+B/Ctrl+Click,快速打开光标处 ...
分类:
其他好文 时间:
2018-02-05 18:53:04
阅读次数:
167
上拉加载的思路 1 上拉加载是要把屏幕拉到最底部的时候触发ajax事件请求数据 2.所有要获取屏幕的高度 文档的高度 和滚动的高度 下面的代码是已经做好了兼容的可以直接拿来用 3.首先要默认加载第一页,在window.onload调用upDown这个方法 4.当页面滚到底部的时候触发up()这个方法 ...
分类:
Web程序 时间:
2018-02-05 18:52:56
阅读次数:
199
本文转载于:http://qoogle.cn/?id=39 前提: windows下同时安装python2和python3, 应将python2和python3直接安装在 C盘下面,分别为python27和python36文件夹下。(避免Program Files的空格出现,后期会出错!) 为了方便 ...
分类:
编程语言 时间:
2018-02-05 18:44:51
阅读次数:
9008
ifconfig命令命令描述ifconfig命令被用于配置和显示Linux内核中网络接口的网络参数。用ifconfig命令配置的网卡信息,在网卡重启后机器重启后,配置就不存在。要想将上述的配置信息永远的存的电脑里,那就要修改网卡的配置文件了。命令语法ifconfig【参数】参数up启动指定网络设备/网卡down关闭指定网络设备/网卡-arp设置指定网卡是否支持ARP协议-promisc设置是否支持
分类:
其他好文 时间:
2018-02-04 22:43:42
阅读次数:
221
1. if(Input.GetKeyDown(KeyCode.K)&&rigidbody2D.velocity.y==0){ rigidbody2D.AddForce(Vector2.up*300f); playerAnim.PlayJumpAnim(); return; } //控制移动 floa ...
分类:
其他好文 时间:
2018-02-04 22:38:45
阅读次数:
227