Skip to content

Instantly share code, notes, and snippets.

View xinlc's full-sized avatar
🌴
On vacation

Richard Xin xinlc

🌴
On vacation
View GitHub Profile
@xinlc
xinlc / capture_articles.py
Created February 14, 2020 01:17 — forked from 2019ncovmemory/capture_articles.py
Create screenshots of articles; work for WeChat articles with lazy loading.
'''
Usage: python archive_articles.py test.csv
Input: test.csv
name url
1 url1
2 url2
.....
output:
1.png
2.png
@xinlc
xinlc / topview.js
Created January 28, 2019 07:43 — forked from mactive/topview.js
rn-topview
/**
* mactive@gmail.com
* 2017-05-08
*/
'use strict';
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
@xinlc
xinlc / 0_reuse_code.js
Created May 19, 2017 08:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console