Skip to content

Instantly share code, notes, and snippets.

View runningdemo's full-sized avatar
🏠
Working from home

Demo runningdemo

🏠
Working from home
View GitHub Profile

The original video is here video link. I break it down to 8 steps below for quick reference.

Step 1: add hip and shoulder lines

use lines to show emotion!

Alt text

Step 2: add dots or circles for "joints"

movement!

How to gif like a boss

Alt text

问渠那得清如许,为有源头活水来

  • mocksession 提供各种分类的gif图,全都是未加工过的

天下功夫,唯快不破

使用 Alfred 配合 Dropbox,成为 gif 快手.

情景一: 父元素高度等于子元素高度之和

HTML结构:

下面的.outer元素将段落包裹住,成为一个小模块

<div class="outer">
    <p>段落一</p>
    <p>段落二</p>
  • 命令行导出数据库

使用命令行导出数据库

这个适用于MAMP搭建的php开发环境

cd /applications/MAMP/library/bin ./mysqldump -u [USERNAME] -p [DATA_BASENAME] > [PATH_TO_FILE]

Processing 这似乎是一个新的世界

前端界的看过来,这些前端名人正在关注Processing

名词

  • ITP: interactive telecommunication program
const double ALPHA = 0.05;
resultSpeed = ALPHA * currentSpeed + (1.0 - ALPHA) * resultSpeed;

无意中看到这本书: The Nature of Code 被他精彩的前言(preface)部分吸引了. 想马上开始阅读,但书上说了这本书是接着 Learning Processing 写的.

所以大致的学习路径是这样的:

  1. Processing 语言先了解 link
  2. Learning Processing 书 link
  3. The Nature of Code link