Python里经常需要绘图,客http://nbviewer.jupyter.org/github/lijin-THU/notes-python/blob/master/index.ipynb ,此博文里有详细的Python学习笔记,针对绘图也有详细的说明。此文仅为自己学习实践的记录。 1. plt ...
分类:
编程语言 时间:
2018-02-10 13:06:30
阅读次数:
434
以下是RecyclerView结合ItemTouchHelper实现的列表和网格布局的拖拽效果。 效果图例如以下:(gif图有点顿卡,事实上执行是非常流畅的) demo下载地址: DragRecyclerView 怎样实现 那么是怎样实现的呢?主要就要使用到ItemTouchHelper ,Item ...
分类:
移动开发 时间:
2018-02-10 13:03:18
阅读次数:
685
CSS框架 https://github.com/lucasgruwez/waffle-grid 一个易于使用的 flexbox 栅格布局系统 CSS初始化 https://github.com/necolas/normalize.css CSS动画 https://github.com/blive ...
分类:
Web程序 时间:
2018-02-10 12:53:20
阅读次数:
248
这些是我个人在学习这两种布局的时候参考的资料,希望对大家有用…… 1.Flex 阮一峰(flex语法讲解):http://blog.csdn.net/naruto_luoluo/article/details/51279761 阮一峰(flex实例讲解):http://blog.csdn.net/N ...
分类:
其他好文 时间:
2018-02-08 20:22:45
阅读次数:
233
Problem Description Hzz loves aeroplane chess very much. The chess map contains N+1 grids labeled from 0 to N. Hzz starts at grid 0. For each step he ...
分类:
其他好文 时间:
2018-02-08 19:56:45
阅读次数:
168
On an N x N grid, each square grid[i][j] represents the elevation at that point (i,j). Now rain starts to fall. At time t, the depth of the water ever ...
分类:
其他好文 时间:
2018-02-08 15:39:00
阅读次数:
173
原网页: https://gamedev.stackexchange.com/questions/38721/how-can-i-generate-a-navigation-mesh-for-a-tile-grid 1 Use Marching Squares algorithm to conver... ...
分类:
其他好文 时间:
2018-02-07 12:07:40
阅读次数:
209
求一个最小矩阵,经过复制能够覆盖原矩阵(覆盖,不是填充,复制之后可以有多的) *解法:横着竖着kmp,求最大公倍数的做法是不对的,见http://blog.sina.com.cn/s/blog_69c3f0410100tyjl.html 正解如http://poj.org/showmessage?m ...
分类:
其他好文 时间:
2018-02-04 20:58:15
阅读次数:
148
Description FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q ...
分类:
其他好文 时间:
2018-02-04 13:48:10
阅读次数:
134
目前ui框架会做一个更新,把原有的Jenkins分布式方式换成grid方式,换成grid方式有两个好处,1.grid的资源占用比Jenkins的jnlp占用资源少 2.grid可控制不同浏览器同时跑 看很多网上跑自己的案例都很顺,想直接拿过来用,中间遇到很多问题,发现自己的电脑,启动多个浏览器后,只 ...
分类:
其他好文 时间:
2018-02-02 20:18:35
阅读次数:
171