Skip to content

Instantly share code, notes, and snippets.

@lkaihua
lkaihua / mouse-mover.py
Last active July 5, 2021 22:50
A simple mouse mover
import pyautogui
import keyboard
import random
import time
pyautogui.FAILSAFE = True
if __name__ == '__main__':
while True:
@lkaihua
lkaihua / 00.README.md
Last active February 6, 2019 15:36
Javascript examples on `this`

A collection of code snippets explaining:

  • this
  • bind
  • arrow functions
ffmpeg -ss 00:00:00 -t 00:43:45 -i large.mp4 -acodec copy -vcodec copy small.mp4
@lkaihua
lkaihua / readme.md
Last active July 17, 2017 10:38
idea on new system

Here I would like to propose the desgin of a web-based e-learning system.

Workflow

Test Givers

For test givers, the workflow will be:

  1. Create a document of questions in RStudio with R Markdown
    • use all R and R markdown legacy
  • use a new defined function to replace variables(see Example below)