Skip to content

Instantly share code, notes, and snippets.

View jeffeuxMartin's full-sized avatar

陳建成(Chien-Cheng (Jeff) Chen) jeffeuxMartin

View GitHub Profile
@jeffeuxMartin
jeffeuxMartin / App.js
Created August 4, 2023 16:05 — forked from liondancer/App.js
Using Google API (gapi) with React
/* global gapi */
const API_KEY = 'YOURAPIKEYHERE';
import React, { Component } from 'react';
class App extends Component {
loadYoutubeApi() {
const script = document.createElement("script");
@jeffeuxMartin
jeffeuxMartin / install_xelatex_on_mac.txt
Created May 12, 2022 15:32 — forked from peterhurford/install_xelatex_on_mac.txt
How to install latex and xelatex on Mac so that Jupyter "Download as PDF" will work
brew install pandoc
brew tap homebrew/cask
brew cask install basictex
eval "$(/usr/libexec/path_helper)"
# Update $PATH to include `/usr/local/texlive/2020basic/bin/x86_64-darwin`
sudo tlmgr update --self
sudo tlmgr install texliveonfly
sudo tlmgr install xelatex
sudo tlmgr install adjustbox
sudo tlmgr install tcolorbox