Skip to content

Instantly share code, notes, and snippets.

View scott-ho's full-sized avatar

Scott Ho scott-ho

  • quest.com
View GitHub Profile
@scott-ho
scott-ho / jest-e2e.config.js
Created September 3, 2019 09:51
Nest Typeorm Destroy Problem
module.exports = {
globals: {
'ts-jest': {
diagnostics: {
warnOnly: true,
},
},
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
transform: {
@scott-ho
scott-ho / multiple_ssh_setting.md
Last active April 27, 2018 02:07 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Set-Up Git

$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
@scott-ho
scott-ho / readme.md
Last active May 8, 2018 02:29
fuckxiaomi

使用方式:

  1. chrome 浏览器打开 如下链接 https://item.mi.com/product/10000085.html 或其他抢购链接
  2. 选中需要抢购的产品,记住,这一步非常重要
  3. 键盘点击 F12
  4. 在弹出的窗口 选中 console 选项卡 或者点击 键盘 ESC
  5. 在输入光标处 粘贴 下面文件的代码,点击 enter 键