https://ko-fi.com/iheartu2/posts
EP3: https://d000d.com/d/4p2faan7j41a, https://mixdrop.sx/f/eno99nrqsoewoq
EP4: https://videzz.net/u0u6yz8h0cjg.html
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
const {useCallback, useState} = require('React'); | |
const nullthrows = require('nullthrows'); | |
type InputValue<T> = {| | |
// Whether the input value has changed since it was initialized. | |
changed: boolean, | |
// A string key to uniquely identify the value. |
#!/bin/bash | |
text="/** | |
* Copyright (c) 2017-present, Facebook, Inc. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
" |
module.exports = (babel) => { | |
const { types: t } = babel; | |
const GLOBAL_EXPOSURE_IDENTIFIER = 'babelPluginExportPrivates'; | |
const HOIST_PRAGMA = 'babel-plugin-export-privates'; | |
const identifiers = new Set(); | |
function attachToGlobalObject(path, identifierName) { | |
identifiers.add(identifierName); | |
// Attach to global object to be exposed for exporting later. | |
path.insertAfter( |
cd ~/nusmods/www
git pull
yarn && npm run build
let res = ''; | |
$('#question_list tbody tr').each(function () { | |
const $td = $(this).find('td'); | |
const $link = $($td[2]).find('a').first(); | |
res += `[${$($td[1]).text().trim()} - ${$link.text()}](https://leetcode.com${$link.attr('href')})\n`; | |
}); | |
console.log(res); |