from turtle import * def goto1(x, y): up() goto(x, y) down() def draw(r): begin_fill() for i in range(5): forward(r) right(144) end_fill() setup(700, ...
分类:
编程语言 时间:
2018-03-19 13:27:34
阅读次数:
201
import turtle def mygoto(x, y): turtle.up() turtle.goto(x, y) turtle.down() def drawwu(x): turtle.begin_fill() for i in range(5): turtle.forward(x) tu... ...
分类:
编程语言 时间:
2018-03-19 10:25:15
阅读次数:
221
主从配置过程:
参看:
https://mariadb.com/kb/en/library/setting-up-replication/
https://dev.mysql.com/doc/refman/5.5/en/replication-configuration.html主服务器192.168.
分类:
数据库 时间:
2018-03-18 15:00:12
阅读次数:
206
su 切换用户clear 清屏ifconfig 查看网络连接ifconfig 网卡名 down 关闭网卡ifconfig 网卡名 up 启用网卡dhclient 网卡名 自动获取IP地址ifconfig -a 查看详细信息ps -ef|grep sshd 查看sshd服务是否启动kill -9 PI ...
分类:
其他好文 时间:
2018-03-18 14:59:58
阅读次数:
125
Mac键盘符号和修饰键说明 ? Command ? Shift ? Option ? Control ?? Return/Enter ? Delete ? 向前删除键(Fn+Delete) ↑ 上箭头 ↓ 下箭头 ← 左箭头 → 右箭头 ? Page Up(Fn+↑) ? Page Down(Fn+ ...
分类:
系统相关 时间:
2018-03-18 11:53:38
阅读次数:
205
https://devcenter.heroku.com/articles/getting-started-with-python#set-up # Run this from your terminal. # The following will add our apt repository an ...
分类:
系统相关 时间:
2018-03-17 21:38:33
阅读次数:
314
1、Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou ...
分类:
其他好文 时间:
2018-03-15 23:02:39
阅读次数:
235
from turtle import * def drawstart(x, y, angle, length): up() setpos((x, y)) down() right(angle) begin_fill() for i in range(5): forward(length) right... ...
分类:
其他好文 时间:
2018-03-15 23:02:31
阅读次数:
182
I was trying to come up with a set of guiding principles as we've been using them on my current project, with an eye toward educating new developers b ...
分类:
其他好文 时间:
2018-03-15 13:20:31
阅读次数:
199
Here’s a jolly and simple game: line up a row of N identical coins, all with the heads facing down onto the table and the tails upwards, and for exact ...
分类:
其他好文 时间:
2018-03-15 01:45:23
阅读次数:
304